pub fn match_triples(
graph: &SqliteGraph,
pattern: &PatternTriple,
) -> Result<Vec<TripleMatch>, SqliteGraphError>Expand description
Execute a lightweight triple pattern match.
This function provides a simple, deterministic way to match single-hop patterns using the existing SQLite indexes for optimal performance.
§Arguments
graph- The SQLiteGraph instancepattern- The pattern triple to match
§Returns
A vector of triple matches in deterministic order