trustgraph/trustgraph-cli
cybermaggedon 0c36dda443
feat: preserve RDF language tags and datatypes through ingestion and query (#1047)
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
2026-07-15 10:13:19 +01:00
..
trustgraph/cli feat: preserve RDF language tags and datatypes through ingestion and query (#1047) 2026-07-15 10:13:19 +01:00
pyproject.toml feat: add tg-export-workspace / tg-import-workspace bundle commands (#877) (#1019) 2026-07-03 15:16:39 +01:00
README.md Maint/rename pkg (#88) 2024-09-30 22:20:26 +01:00