Papers › Benchmarking the Combinatorial Generalizability of Complex Query Answering on Knowledge Graphs

Benchmarking the Combinatorial Generalizability of Complex Query Answering on Knowledge Graphs

18 Sep 2021arXiv:2109.08925archive 2025-07-28

ZiHao Wang, Hang Yin, Yangqiu Song

Complex Query Answering (CQA) is an important reasoning task on knowledge graphs. Current CQA learning models have been shown to be able to generalize from atomic operators to more complex formulas, which can be regarded as the combinatorial generalizability. In this paper, we present EFO-1-QA, a new dataset to benchmark the combinatorial generalizability of CQA models by including 301 different queries types, which is 20 times larger than existing datasets. Besides, our work, for the first time, provides a benchmark to evaluate and analyze the impact of different operators and normal forms by using (a) 7 choices of the operator systems and (b) 9 forms of complex queries. Specifically, we provide the detailed study of the combinatorial generalizability of two commonly used operators, i.e., projection and intersection, and justify the impact of the forms of queries given the canonical choice of operators. Our code and data can provide an effective pipeline to benchmark CQA models.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2109.08925")

Code

Syntology Ran 7 of 11 code samples harvested from 2 repositories linked to this paper; 4 have no recorded run. Of those that ran: 2 ran · honoured contract; 4 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 10 samples from 1 repository, 6 ran; community (archive-listed): 1 sample from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hkust-knowcomp/efo-1-qa-benchmark officialmentioned in papermentioned on GitHubpytorchMIT report
Jacfger/simple-stuffs mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 7 ran; 2 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
4ran · our draft was wrong
1ran · fixture could not drive it
4unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

convert_to_arg hkust-knowcomp/efo-1-qa-benchmark/fol/estimator_ConE.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · fa8f6d2163c007e7 · report
convert_to_axis hkust-knowcomp/efo-1-qa-benchmark/fol/estimator_ConE.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 04df086ab269bc1f · report
find_optimal_batch hkust-knowcomp/efo-1-qa-benchmark/fol/appfoq.py official repository ran · fixture could not drive it MIT (permissive) · d8b0a4e3912306de · report
identity hkust-knowcomp/efo-1-qa-benchmark/fol/estimator_box.py official repository ran · honoured contract fingerprinted MIT (permissive) · 9910e2fc297f8665 · report
order_bounds hkust-knowcomp/efo-1-qa-benchmark/fol/estimator_logic.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 6df8d7def6d8b856 · report
valclamp hkust-knowcomp/efo-1-qa-benchmark/fol/estimator_logic.py official repository ran · our draft was wrong MIT (permissive) · 51d9d0e0413cd046 · report
inclusion_sampling hkust-knowcomp/efo-1-qa-benchmark/fol/appfoq.py official repository unverified MIT (permissive) · 7cbefe713c9e3840 · report
negative_sampling hkust-knowcomp/efo-1-qa-benchmark/fol/appfoq.py official repository unverified MIT (permissive) · c79e3940bf2965d9 · report
recursive_getattr hkust-knowcomp/efo-1-qa-benchmark/validation.py official repository unverified MIT (permissive) · 3ee25729d2bff9f9 · report
transform_json_query hkust-knowcomp/efo-1-qa-benchmark/transform_beta_data.py official repository unverified MIT (permissive) · 56398fd82d294031 · report
count_query_depth Jacfger/simple-stuffs/formula_generation.py community (archive-listed) ran · honoured contract MIT (permissive) · 9862c45a5afd5103 · report

Tasks

BenchmarkingComplex Query AnsweringKnowledge Graphs

Datasets

Introduced by this paper, per the archive.

EFO-1-QA

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections