flpq_data.dataset.reachable_pairs#

reachable_pairs(graph: str | None = None, grammar: str | None = None, category: str | None = None, query_class: str | None = None) → list[dict][source]#

Return reference reachable-pair counts.

Each row is a dict with keys graph, grammar, category, query_class, and num_reachable_pairs (int or None when not yet available).

Parameters:
graph:

Filter by graph name (exact match).

grammar:

Filter by grammar file name (exact match, e.g. "c_alias.cnf").

category:

Filter by graph category (exact match, e.g. "rdf"); the categories are the sections of the Graphs catalog on the site.

query_class:

Filter by query class (exact match, one of "cfpq", "rpq", "mcfpq" — the names of the queries/<class>/ directories in the graph archives).