mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-27 16:25:12 +02:00
Add 30+ SPARQL 1.1 built-in functions and the MINUS algebra operator to the custom SPARQL query backend. String functions: - SUBSTR (2-arg and 3-arg forms), STRBEFORE, STRAFTER - REPLACE (regex with flags), ENCODE_FOR_URI Numeric functions: - FLOOR, CEIL, ROUND, ABS Date/time accessors: - YEAR, MONTH, DAY, HOURS, MINUTES, SECONDS - NOW, TZ Hash functions: - MD5, SHA1, SHA256, SHA512 Term constructors: - IRI/URI, BNODE, UUID, STRUUID Other functions: - LANGMATCHES, RAND - EXISTS / NOT EXISTS (with async pre-evaluation to bridge the sync expression evaluator and async algebra evaluator) Algebra: - MINUS set-difference operator - HAVING already works via rdflib's Filter mapping (verified) Fix SPARQL ORDER handling Includes 653 lines of new unit tests covering all added functionality across expressions, solutions, and algebra layers. |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_doc_embeddings_milvus_query.py | ||
| test_doc_embeddings_pinecone_query.py | ||
| test_doc_embeddings_qdrant_query.py | ||
| test_graph_embeddings_milvus_query.py | ||
| test_graph_embeddings_pinecone_query.py | ||
| test_graph_embeddings_qdrant_query.py | ||
| test_memgraph_workspace_collection_query.py | ||
| test_neo4j_workspace_collection_query.py | ||
| test_rows_cassandra_query.py | ||
| test_sparql_algebra.py | ||
| test_sparql_expressions.py | ||
| test_sparql_parser.py | ||
| test_sparql_solutions.py | ||
| test_triples_cassandra_query.py | ||
| test_triples_falkordb_query.py | ||
| test_triples_memgraph_query.py | ||
| test_triples_neo4j_query.py | ||