Yao Xu, Shizhu He, Kang Liu, Jun Zhao, Li Cai, Cunguang Wang
16 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 12 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.
"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2023.findings-emnlp.761.json · badge: /api/ran/2023.findings-emnlp.761.svg
Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.
| Repository | Role | Ran |
|---|---|---|
| YaooXu/Q2T | canonical (classifier label) classifier basis: census |
16 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| avg_both | Ran ran on a synthesized input |
YaooXu/Q2T/ssl-relation-prediction/src/utils.py code served (permissive licence) · get_code("9a7392f1429a28c1") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| eval_tuple | Ran ran, honoured the contract we drafted |
YaooXu/Q2T/utils/util.py code served (permissive licence) · get_code("200c8d976faf4263") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| filtering | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
YaooXu/Q2T/ssl-relation-prediction/src/models.py pointer only (licence: MIT); the stored copy get_code serves, from bys0318/qto, is pointer only (licence: NONE) · get_code("f4ec06f37defd643") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from bys0318/qto, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| flatten_query | Ran ran on a synthesized input |
YaooXu/Q2T/dataset.py code served (permissive licence) · get_code("f9fde74d211e17c2") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| floyd | Ran ran on a synthesized input |
YaooXu/Q2T/query_format_converter.py code served (permissive licence) · get_code("bf078c423f6997de") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family int, shape (5, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_avg_param | Ran ran on a synthesized input |
YaooXu/Q2T/ssl-relation-prediction/src/utils.py code served (permissive licence) · get_code("9c67afb06e8f3344") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_inv_rel | Ran ran on a synthesized input |
YaooXu/Q2T/query_format_converter.py code served (permissive licence) · get_code("a2ceb3355584c23f") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| invert | Ran ran on a synthesized input |
YaooXu/Q2T/ssl-relation-prediction/src/datasets.py code served (permissive licence) · get_code("81fe3c0217dde15d") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family int, shape (4, 7) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| invert_torch | Ran ran on a synthesized input |
YaooXu/Q2T/ssl-relation-prediction/src/datasets.py code served (permissive licence) · get_code("ad62824bbe42ecba") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family int, shape (2, 7) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| list2tuple | Ran ran; our contract draft was wrong, not the code |
YaooXu/Q2T/utils/util.py code served (permissive licence) · get_code("8c314b5b308ab1ad") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| load_data | Ran ran on a synthesized input |
YaooXu/Q2T/dataset.py code served (permissive licence) · get_code("50a8af8e9eb8a600") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| setup_loss | Ran ran on a synthesized input |
YaooXu/Q2T/ssl-relation-prediction/src/engines.py code served (permissive licence) · get_code("ad7386deb3ce9232") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned BCEWithLogitsLoss. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| setup_optimizer | Ran ran on a synthesized input |
YaooXu/Q2T/ssl-relation-prediction/src/utils.py code served (permissive licence) · get_code("65723913a33ffde3") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned SparseAdam. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| subsample | Ran ran on a synthesized input |
YaooXu/Q2T/ssl-relation-prediction/src/datasets.py code served (permissive licence) · get_code("531b7da64b0bf034") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| topoSort | Ran ran on a synthesized input |
YaooXu/Q2T/query_format_converter.py code served (permissive licence) · get_code("4705f0708c3fca0f") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| tuple2list | Ran ran; our contract draft was wrong, not the code |
YaooXu/Q2T/utils/util.py code served (permissive licence) · get_code("bbd072fbd86e1541") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| merge_graph | Not yet run unverified (harvested, no recorded run) |
YaooXu/Q2T/dataset.py code served (permissive licence) · get_code("c6e1f2d6d394d159") How it ranno invocation recorded. |
| setup_ds | Not yet run unverified (harvested, no recorded run) |
YaooXu/Q2T/ssl-relation-prediction/src/engines.py code served (permissive licence) · get_code("9dd3bbf562083421") How it ranno invocation recorded. |
Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 0 later) and 14 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).
Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| eval_tuple | 4 other papers 4 dated earlier |
1806.01445 (2018-06) Embedding Logical Queries on Knowledge Graphs |
2010.11465 (2020-10) Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs 2204.12847 (2022-04) Query2Particles: Knowledge Graph Reasoning with Particle Embeddings and 1 more not named here |
| list2tuple | 4 other papers 4 dated earlier |
1806.01445 (2018-06) Embedding Logical Queries on Knowledge Graphs |
2010.11465 (2020-10) Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs 2204.12847 (2022-04) Query2Particles: Knowledge Graph Reasoning with Particle Embeddings and 1 more not named here |
| tuple2list | 4 other papers 4 dated earlier |
1806.01445 (2018-06) Embedding Logical Queries on Knowledge Graphs |
2010.11465 (2020-10) Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs 2204.12847 (2022-04) Query2Particles: Knowledge Graph Reasoning with Particle Embeddings and 1 more not named here |
| filtering | 1 other paper 1 dated earlier |
2212.09567 (2022-12) Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree Optimization |
Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Complex Query Answering (CQA) is a challenge task of Knowledge Graph (KG). Due to the incompleteness of KGs, query embedding (QE) methods have been proposed to encode queries and entities into the same embedding space, and treat logical operators as neural set operators to obtain answers. However, these methods train KG embeddings and neural set operators concurrently on both simple (one-hop) and complex (multi-hop and logical) queries, which causes performance degradation on simple queries and low training efficiency. In this paper, we propose Query to Triple (Q2T), a novel approach that decouples the training for simple and complex queries. Q2T divides the training into two stages: (1) Pre-training a neural link predictor on simple queries to predict tail entities based on the head entity and relation. ( 2) Training a query encoder on complex queries to encode diverse complex queries into a unified triple form that can be efficiently solved by the pretrained neural link predictor. Our proposed Q2T is not only efficient to train, but also modular, thus easily adaptable to various neural link predictors that have been studied well. Extensive experiments demonstrate that, even without explicit modeling for neural set operators, Q2T still achieves state-of-the-art performance on diverse complex queries over three public benchmarks.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2023.findings-emnlp.761")
get_code_for_paper("2023.findings-emnlp.761")
have("2023.findings-emnlp.761")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2023.findings-emnlp.761.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2023.findings-emnlp.761)
Connect an agent — have() is free.