mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-14 07:42:11 +02:00
Literal objects (e.g. rdfs:label values) were not being inserted into the quads_by_entity table with role='O', so queries like `tg-query-graph -o MIL-HDBK-516D` returned no results even though the triple existed. Removed the otype guard that skipped entity row insertion for literals in both insert() and async_insert(). Also updated delete_collection() and async_delete_collection() to include literal objects in entity partition cleanup. Existing data requires re-ingestion for old literal objects to become queryable by object value. |
||
|---|---|---|
| .. | ||
| contract | ||
| integration | ||
| unit | ||
| utils | ||
| __init__.py | ||
| conftest.py | ||
| pytest.ini | ||
| requirements.txt | ||