{"about":{"site":"https://codewithpapers.app","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.","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"},"url":"/paper/expanding-end-to-end-question-answering-on","title":"Expanding End-to-End Question Answering on Differentiable Knowledge Graphs with Intersection","arxiv_id":"2109.05808","date":"2021-09-13","proceeding":"EMNLP 2021 11","authors":["Priyanka Sen","Amir Saffari","Armin Oliya"],"abstract":"End-to-end question answering using a differentiable knowledge graph is a promising technique that requires only weak supervision, produces interpretable results, and is fully differentiable. Previous implementations of this technique (Cohen et al., 2020) have focused on single-entity questions using a relation following operation. In this paper, we propose a model that explicitly handles multiple-entity questions by implementing a new intersection operation, which identifies the shared elements between two sets of entities. We find that introducing intersection improves performance over a baseline model on two datasets, WebQuestionsSP (69.6% to 73.3% Hits@1) and ComplexWebQuestions (39.8% to 48.7% Hits@1), and in particular, improves performance on questions with multiple entities by over 14% on WebQuestionsSP and by 19% on ComplexWebQuestions.","url_abs":"https://arxiv.org/abs/2109.05808v1","url_pdf":"https://arxiv.org/pdf/2109.05808v1.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":"expanding-end-to-end-question-answering-on","repo_url":"https://github.com/sid-sundrani/differentiable-kb-qa","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"knowledge-graphs","task_name":"Knowledge Graphs"},{"task_slug":"question-answering","task_name":"Question Answering"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2109.05808","atlas_url":"https://app.syntology.ai/?focus=2109.05808","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2109.05808"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sid-sundrani/differentiable-kb-qa","reach":null}],"summary":{"ran":1,"ran_draft_wrong":2,"unverified":1},"by_repo_kind":{"listed":{"samples":4,"ran":3,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":4,"samples":[{"code_sha256_prefix":"ffb88ab54dda0980","entry":"GRUCell","repo":"sid-sundrani/differentiable-kb-qa","repo_kind":"listed","path":"kgqa/models/models_nhop.py","file_url":"https://github.com/sid-sundrani/differentiable-kb-qa/blob/HEAD/kgqa/models/models_nhop.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ffb88ab54dda0980"}},{"code_sha256_prefix":"d993de144cba9873","entry":"calculate_BCE","repo":"sid-sundrani/differentiable-kb-qa","repo_kind":"listed","path":"kgqa/models/models_nhop.py","file_url":"https://github.com/sid-sundrani/differentiable-kb-qa/blob/HEAD/kgqa/models/models_nhop.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d993de144cba9873"}},{"code_sha256_prefix":"171ff39d43fafc36","entry":"get_hit_k1","repo":"sid-sundrani/differentiable-kb-qa","repo_kind":"listed","path":"kgqa/models/models_nhop.py","file_url":"https://github.com/sid-sundrani/differentiable-kb-qa/blob/HEAD/kgqa/models/models_nhop.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"171ff39d43fafc36"}},{"code_sha256_prefix":"14c5390b1cff34eb","entry":"GNNLightning2","repo":"sid-sundrani/differentiable-kb-qa","repo_kind":"listed","path":"kgqa/models/models_nhop.py","file_url":"https://github.com/sid-sundrani/differentiable-kb-qa/blob/HEAD/kgqa/models/models_nhop.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"14c5390b1cff34eb"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}