trustgraph/trustgraph-base
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 feat: preserve RDF language tags and datatypes through ingestion and query (#1047) 2026-07-15 10:13:19 +01:00
pyproject.toml Add missing websockets dep (#859) 2026-04-30 09:53:32 +01:00
README.md Maint/fix build env (#84) 2024-09-30 19:47:09 +01:00