Module kb_query

Module kb_query 

Source
Expand description

Knowledge Base Query Language

This module provides a SPARQL-like query language for semantic knowledge bases:

  • Triple pattern matching for graph queries
  • Pattern matching for logic terms with wildcards
  • Query optimization (join order, filter pushdown)
  • Complex boolean queries (AND/OR/NOT)

Structs§

Query
A query for the knowledge base
QueryExecutor
Query executor with optimization
QueryResult
Query execution result
QueryStats
Query execution statistics

Enums§

BooleanQuery
Boolean query operators
FilterExpr
Query filter expressions
QueryPattern
Query pattern for matching predicates
TermPattern
Pattern for matching terms
TermType
Term type for type constraints