mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-17 01:01:03 +02:00
Language tags and XSD datatypes on RDF literals were being silently dropped at multiple points in the pipeline, making SPARQL FILTER(LANG()) queries and multilingual datasets non-functional. Ingestion fixes: - load_knowledge.py and load_turtle.py now extract .language and .datatype from rdflib Literal objects instead of discarding them - Triple dataclass gains optional o_datatype and o_language fields - _string_to_term() emits "dt" and "ln" in the wire format - AsyncBulkClient uses the same term serialization as BulkClient Query fix: - TriplesClient.query_gen() preserves Term objects directly instead of converting through Uri/Literal (which are str subclasses with no room for language metadata), enabling SPARQL LANG() filters to work |
||
|---|---|---|
| .. | ||
| trustgraph | ||
| pyproject.toml | ||
| README.md | ||