{"about":{"non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","site":"https://codewithpapers.app","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/tempoqr-temporal-question-reasoning-over","title":"TempoQR: Temporal Question Reasoning over Knowledge Graphs","arxiv_id":"2112.05785","date":"2021-12-10","proceeding":null,"authors":["Costas Mavromatis","Prasanna Lakkur Subramanyam","Vassilis N. Ioannidis","Soji Adeshina","Phillip R. Howard","Tetiana Grinberg","Nagib Hakim","George Karypis"],"abstract":"Knowledge Graph Question Answering (KGQA) involves retrieving facts from a Knowledge Graph (KG) using natural language queries. A KG is a curated set of facts consisting of entities linked by relations. Certain facts include also temporal information forming a Temporal KG (TKG). Although many natural questions involve explicit or implicit time constraints, question answering (QA) over TKGs has been a relatively unexplored area. Existing solutions are mainly designed for simple temporal questions that can be answered directly by a single TKG fact. This paper puts forth a comprehensive embedding-based framework for answering complex questions over TKGs. Our method termed temporal question reasoning (TempoQR) exploits TKG embeddings to ground the question to the specific entities and time scope it refers to. It does so by augmenting the question embeddings with context, entity and time-aware information by employing three specialized modules. The first computes a textual representation of a given question, the second combines it with the entity embeddings for entities involved in the question, and the third generates question-specific time embeddings. Finally, a transformer-based encoder learns to fuse the generated temporal information with the question representation, which is used for answer predictions. Extensive experiments show that TempoQR improves accuracy by 25--45 percentage points on complex temporal questions over state-of-the-art approaches and it generalizes better to unseen question types.","url_abs":"https://arxiv.org/abs/2112.05785v1","url_pdf":"https://arxiv.org/pdf/2112.05785v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"tempoqr-temporal-question-reasoning-over","repo_url":"https://github.com/cmavro/tempoqr","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"tempoqr-temporal-question-reasoning-over","repo_url":"https://github.com/czy1999/MultiTQ","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"tempoqr-temporal-question-reasoning-over","repo_url":"https://github.com/czy1999/SubGTR","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"entity-embeddings","task_name":"Entity Embeddings"},{"task_slug":"graph-question-answering","task_name":"Graph Question Answering"},{"task_slug":"knowledge-graphs","task_name":"Knowledge Graphs"},{"task_slug":"natural-language-queries","task_name":"Natural Language Queries"},{"task_slug":"natural-questions","task_name":"Natural Questions"},{"task_slug":"question-answering","task_name":"Question Answering"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/question-answering-on-complex-cronquestions","task":"Question Answering","dataset":"Complex-CronQuestions","model":"TempoQR","rank_in_archive_order":2,"of":4,"metrics":{"Hits@1":"79.2"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-complex-cronquestions","task":"Question Answering","dataset":"Complex-CronQuestions","model":"EntityQR","rank_in_archive_order":3,"of":4,"metrics":{"Hits@1":"42.5"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-cronquestions","task":"Question Answering","dataset":"CronQuestions","model":"TempoQR-Hard","rank_in_archive_order":9,"of":29,"metrics":{"Hits@1":"91.8"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-cronquestions","task":"Question Answering","dataset":"CronQuestions","model":"TempoQR-Soft","rank_in_archive_order":14,"of":29,"metrics":{"Hits@1":"79.9"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-cronquestions","task":"Question Answering","dataset":"CronQuestions","model":"EntityQR","rank_in_archive_order":17,"of":29,"metrics":{"Hits@1":"74.5"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-cronquestions","task":"Question Answering","dataset":"CronQuestions","model":"BERT","rank_in_archive_order":24,"of":29,"metrics":{"Hits@1":"24.3"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-tiq","task":"Question Answering","dataset":"TIQ","model":"TempoQR","rank_in_archive_order":8,"of":9,"metrics":{"P@1":"1.1"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-timequestions","task":"Question Answering","dataset":"TimeQuestions","model":"TempoQR","rank_in_archive_order":12,"of":21,"metrics":{"P@1":"43.8"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2112.05785","atlas_url":"https://app.syntology.ai/?focus=2112.05785","mcp":null,"developers":"https://syntology.ai/developers","held":true,"reason":"arxiv_id_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"agent_calls":[{"tool":"get_citation_path","arguments":{"paper_1":"2112.05785"},"arguments_in":{"paper_2":"another paper's arXiv id or title"},"call":"get_citation_path(paper_1=\"2112.05785\", paper_2=\"…\")"},{"tool":"get_concepts_for_paper","arguments":{"arxiv_id":"2112.05785"},"call":"get_concepts_for_paper(arxiv_id=\"2112.05785\")"}],"by_repo":[{"repo":"cmavro/tempoqr","kind":"official","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2106.01515"],"harvested_for_calls":[{"arxiv_id":"2106.01515","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2106.01515"},"call":"get_harvested_code_for_paper(arxiv_id=\"2106.01515\")"}]},{"repo":"czy1999/MultiTQ","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"czy1999/SubGTR","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0}],"by_repo_harvested_for_is":"harvested_for: the arXiv ids (as Syntology's graph holds them) of every paper whose samples Syntology's graph links to this repository, in arXiv-id order, complete; the page names the first 3 and says how many more. A link only: it does not say the papers are the same work, that one copied the other, or that the code implements this paper's method; harvested_for_calls gives the get_harvested_code_for_paper call for each arXiv-shaped id among them","by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"ee14f00801f117833c96a5d856aeeace297994e4f62d12546b314cc04d11de0e","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}