Simple Question (Direct)
Simple Question
Q21978870
P703
Q16521
USER
Which taxon is V-type ATP synthase subunit D    TTHA1271 found in ?
(Q21978870,P703,c(Q16521))
action filter_type
action find
entity Q21978870
relation P703
type Q16521
['Q21978870', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?k WHERE { resource:Q21978870 property:P703 ?k . ?k rdf:type ontology:Q16521 }
V-type ATP synthase subunit D    TTHA1271
action filter_type
action find
entity V-type ATP synthase subunit D    TTHA1271
relation found in taxon
type taxon
['V-type ATP synthase subunit D    TTHA1271', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?k WHERE { resource:V-type_ATP_synthase_subunit_D____TTHA1271 property:found_in_taxon ?k . ?k rdf:type ontology:taxon }
[]
taxon
Q21065233
SYSTEM
Thermus thermophilus HB8
Q21065233
(Q21978870,P703,c(Q16521))
action filter_type
action find
entity Q21978870
relation P703
type Q16521
[ANSWER] is V-type ATP synthase subunit D TTHA1271 found in
['Q21978870', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?k WHERE { resource:Q21978870 property:P703 ?k . ?k rdf:type ontology:Q16521 }
Thermus thermophilus HB8
Thermus thermophilus HB8 is V-type ATP synthase subunit D TTHA1271 found in
Thermus thermophilus HB8
action filter_type
action find
entity V-type ATP synthase subunit D    TTHA1271
relation found in taxon
type taxon
['V-type ATP synthase subunit D    TTHA1271', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?k WHERE { resource:V-type_ATP_synthase_subunit_D____TTHA1271 property:found_in_taxon ?k . ?k rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21978870
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q21065233)
action filter_type
action find_reverse
entity Q21978870
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21065233']
SELECT DISTINCT ?x WHERE { ?x property:P688 resource:Q21978870 . ?x rdf:type ontology:Q863908 }
V-type ATP synthase subunit D    TTHA1271
action filter_type
action find_reverse
entity V-type ATP synthase subunit D    TTHA1271
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Thermus thermophilus HB8']
SELECT DISTINCT ?x WHERE { ?x property:encodes resource:V-type_ATP_synthase_subunit_D____TTHA1271 . ?x rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21688942
SYSTEM
V-type ATP synthase subunit D    TTHA1271
Q21688942
(c(Q863908),P688,Q21065233)
action filter_type
action find_reverse
entity Q21978870
relation P688
type Q863908
The V-type ATP synthase subunit D TTHA1271 encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q21065233']
SELECT DISTINCT ?x WHERE { ?x property:P688 resource:Q21978870 . ?x rdf:type ontology:Q863908 }
V-type ATP synthase subunit D    TTHA1271
The V-type ATP synthase subunit D TTHA1271 encodes that nutrient
V-type ATP synthase subunit D    TTHA1271
action filter_type
action find_reverse
entity V-type ATP synthase subunit D    TTHA1271
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Thermus thermophilus HB8']
SELECT DISTINCT ?x WHERE { ?x property:encodes resource:V-type_ATP_synthase_subunit_D____TTHA1271 . ?x rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21688942
P702
Q181394
USER
What gene does that nucleic acid sequence encode ?
(c(Q181394),P702,Q21688942)
action filter_type
action find_reverse
entity Q21688942
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q21688942']
SELECT DISTINCT ?u WHERE { ?u property:P702 resource:Q21688942 . ?u rdf:type ontology:Q181394 }
V-type ATP synthase subunit D    TTHA1271
action filter_type
action find_reverse
entity V-type ATP synthase subunit D    TTHA1271
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'V-type ATP synthase subunit D    TTHA1271']
SELECT DISTINCT ?u WHERE { ?u property:encoded_by resource:V-type_ATP_synthase_subunit_D____TTHA1271 . ?u rdf:type ontology:nutrient }
[]
nutrient
Q21978870
SYSTEM
V-type ATP synthase subunit D    TTHA1271
Q21978870
(c(Q181394),P702,Q21688942)
action filter_type
action find_reverse
entity Q21688942
relation P702
type Q181394
That nucleic acid sequence encodes a V-type ATP synthase subunit D TTHA1271
[{'concept': 'Q181394'}, 'P702', 'Q21688942']
SELECT DISTINCT ?u WHERE { ?u property:P702 resource:Q21688942 . ?u rdf:type ontology:Q181394 }
V-type ATP synthase subunit D    TTHA1271
That nucleic acid sequence encodes a V-type ATP synthase subunit D TTHA1271
V-type ATP synthase subunit D    TTHA1271
action filter_type
action find_reverse
entity V-type ATP synthase subunit D    TTHA1271
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'V-type ATP synthase subunit D    TTHA1271']
SELECT DISTINCT ?u WHERE { ?u property:encoded_by resource:V-type_ATP_synthase_subunit_D____TTHA1271 . ?u rdf:type ontology:nutrient }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q23218582 Q21688942
P702
Q181394
USER
Or oxidoreductase    SMU_180?
OR((c(Q181394),P702,Q21688942), (c(Q181394),P702,Q23218582))
action filter_type
action union
action find_reverse
entity Q21688942
relation P702
action find_reverse
entity Q23218582
relation P702
type Q181394
{'OR': [[{'concept': 'Q181394'}, 'P702', 'Q21688942'], [{'concept': 'Q181394'}, 'P702', 'Q23218582']]}
SELECT DISTINCT ?g WHERE { { ?g property:P702 ?z . VALUES ( ?z ) { ( resource:Q21688942 ) ( resource:Q23218582 ) } } . ?g rdf:type ontology:Q181394 }
oxidoreductase    SMU_180 V-type ATP synthase subunit D    TTHA1271
action filter_type
action union
action find_reverse
entity V-type ATP synthase subunit D    TTHA1271
relation encoded by
action find_reverse
entity oxidoreductase    SMU_180
relation encoded by
type nutrient
{'OR': [[{'concept': 'nutrient'}, 'encoded by', 'V-type ATP synthase subunit D    TTHA1271'], [{'concept': 'nutrient'}, 'encoded by', 'oxidoreductase    SMU_180']]}
SELECT DISTINCT ?g WHERE { { ?g property:encoded_by ?z . VALUES ( ?z ) { ( resource:V-type_ATP_synthase_subunit_D____TTHA1271 ) ( resource:oxidoreductase____SMU_180 ) } } . ?g rdf:type ontology:nutrient }
[]
nutrient
Q23491491 Q21978870
SYSTEM
oxidoreductase    SMU_180, V-type ATP synthase subunit D    TTHA1271
Q23491491 Q21978870
OR((c(Q181394),P702,Q21688942), (c(Q181394),P702,Q23218582))
action filter_type
action union
action find_reverse
entity Q21688942
relation P702
action find_reverse
entity Q23218582
relation P702
type Q181394
[ANSWERS]
{'OR': [[{'concept': 'Q181394'}, 'P702', 'Q21688942'], [{'concept': 'Q181394'}, 'P702', 'Q23218582']]}
SELECT DISTINCT ?g WHERE { { ?g property:P702 ?z . VALUES ( ?z ) { ( resource:Q21688942 ) ( resource:Q23218582 ) } } . ?g rdf:type ontology:Q181394 }
oxidoreductase    SMU_180 V-type ATP synthase subunit D    TTHA1271
oxidoreductase    SMU_180 V-type ATP synthase subunit D    TTHA1271
action filter_type
action union
action find_reverse
entity V-type ATP synthase subunit D    TTHA1271
relation encoded by
action find_reverse
entity oxidoreductase    SMU_180
relation encoded by
type nutrient
{'OR': [[{'concept': 'nutrient'}, 'encoded by', 'V-type ATP synthase subunit D    TTHA1271'], [{'concept': 'nutrient'}, 'encoded by', 'oxidoreductase    SMU_180']]}
SELECT DISTINCT ?g WHERE { { ?g property:encoded_by ?z . VALUES ( ?z ) { ( resource:V-type_ATP_synthase_subunit_D____TTHA1271 ) ( resource:oxidoreductase____SMU_180 ) } } . ?g rdf:type ontology:nutrient }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22231762 Q21978870
P702
Q863908
USER
Which nucleic acid sequences encode V-type ATP synthase subunit D    TTHA1271 or hypothetical protein    Rv3822 ?
OR((Q21978870,P702,c(Q863908)), (Q22231762,P702,c(Q863908)))
action filter_type
action union
action find
entity Q21978870
relation P702
action find
entity Q22231762
relation P702
type Q863908
{'OR': [['Q21978870', 'P702', {'concept': 'Q863908'}], ['Q22231762', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?b WHERE { { ?i property:P702 ?b . VALUES ( ?i ) { ( resource:Q21978870 ) ( resource:Q22231762 ) } } . ?b rdf:type ontology:Q863908 }
hypothetical protein    Rv3822 V-type ATP synthase subunit D    TTHA1271
action filter_type
action union
action find
entity V-type ATP synthase subunit D    TTHA1271
relation encoded by
action find
entity hypothetical protein    Rv3822
relation encoded by
type nucleic acid sequence
{'OR': [['V-type ATP synthase subunit D    TTHA1271', 'encoded by', {'concept': 'nucleic acid sequence'}], ['hypothetical protein    Rv3822', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?b WHERE { { ?i property:encoded_by ?b . VALUES ( ?i ) { ( resource:V-type_ATP_synthase_subunit_D____TTHA1271 ) ( resource:hypothetical_protein____Rv3822 ) } } . ?b rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21688942 Q22227656
SYSTEM
V-type ATP synthase subunit D    TTHA1271, hypothetical protein    Rv3822
Q21688942 Q22227656
OR((Q21978870,P702,c(Q863908)), (Q22231762,P702,c(Q863908)))
action filter_type
action union
action find
entity Q21978870
relation P702
action find
entity Q22231762
relation P702
type Q863908
[ANSWERS]
{'OR': [['Q21978870', 'P702', {'concept': 'Q863908'}], ['Q22231762', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?b WHERE { { ?i property:P702 ?b . VALUES ( ?i ) { ( resource:Q21978870 ) ( resource:Q22231762 ) } } . ?b rdf:type ontology:Q863908 }
V-type ATP synthase subunit D    TTHA1271 hypothetical protein    Rv3822
V-type ATP synthase subunit D TTHA1271 and hypothetical protein Rv3822 encode V-type ATP synthase subunit D TTHA1271 or hypothetical protein Rv3822
V-type ATP synthase subunit D    TTHA1271 hypothetical protein    Rv3822
action filter_type
action union
action find
entity V-type ATP synthase subunit D    TTHA1271
relation encoded by
action find
entity hypothetical protein    Rv3822
relation encoded by
type nucleic acid sequence
{'OR': [['V-type ATP synthase subunit D    TTHA1271', 'encoded by', {'concept': 'nucleic acid sequence'}], ['hypothetical protein    Rv3822', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?b WHERE { { ?i property:encoded_by ?b . VALUES ( ?i ) { ( resource:V-type_ATP_synthase_subunit_D____TTHA1271 ) ( resource:hypothetical_protein____Rv3822 ) } } . ?b rdf:type ontology:nucleic_acid_sequence }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P688
Q181394
USER
How many nutrients are encoded by that nucleic acid sequence ?
(Q21688942,P688,c(Q181394))
['Q21688942', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21978870 property:P688 ?z . ?z rdf:type ontology:Q181394 }
['V-type ATP synthase subunit D    TTHA1271', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:V-type_ATP_synthase_subunit_D____TTHA1271 property:encodes ?z . ?z rdf:type ontology:nutrient }
[]
nutrient
Quantitative|Count|Single entity type|Clarification
Q22227656
SYSTEM
Did you mean hypothetical protein    Rv3822 ?
(Q21688942,P688,c(Q181394)) (Q22227656,P688,c(Q181394))
[ANSWER]
['Q21688942', 'P688', {'concept': 'Q181394'}] ['Q22227656', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21978870 property:P688 ?z . ?z rdf:type ontology:Q181394 }
Did you mean hypothetical protein    Rv3822 ?
hypothetical protein    Rv3822
['V-type ATP synthase subunit D    TTHA1271', 'encodes', {'concept': 'nutrient'}] ['hypothetical protein    Rv3822', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:V-type_ATP_synthase_subunit_D____TTHA1271 property:encodes ?z . ?z rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant V-type ATP synthase subunit D    TTHA1271. Could you tell me the answer for that?
(Q21688942,P688,c(Q181394))
Q21688942
['Q21688942', 'P688', {'concept': 'Q181394'}]
['V-type ATP synthase subunit D    TTHA1271', 'encodes', {'concept': 'nutrient'}]
[]
SYSTEM
1
Q21978870
(Q21688942,P688,c(Q181394))
[ANSWER]
['Q21688942', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21978870 property:P688 ?z . ?z rdf:type ontology:Q181394 }
V-type ATP synthase subunit D    TTHA1271
1
['V-type ATP synthase subunit D    TTHA1271', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:V-type_ATP_synthase_subunit_D____TTHA1271 property:encodes ?z . ?z rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q14864713
Q181394
USER
And how about Cftr?
(Q14864713,P684,c(Q181394))
action count
action filter_type
action find
entity Q14864713
relation P684
type Q181394
['Q14864713', 'P684', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Q14864713 property:P684 ?c . ?c rdf:type ontology:Q181394 }
Cftr
action count
action filter_type
action find
entity Cftr
relation ortholog
type nutrient
['Cftr', 'ortholog', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Cftr property:ortholog ?c . ?c rdf:type ontology:nutrient }
[]
nutrient
SYSTEM
1
(Q14864713,P684,c(Q181394))
action count
action filter_type
action find
entity Q14864713
relation P684
type Q181394
[ANSWER]
['Q14864713', 'P684', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Q14864713 property:P684 ?c . ?c rdf:type ontology:Q181394 }
1
action count
action filter_type
action find
entity Cftr
relation ortholog
type nutrient
['Cftr', 'ortholog', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Cftr property:ortholog ?c . ?c rdf:type ontology:nutrient }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14864713
P684
Q181394
USER
Which nutrient is an orthologous gene for that nucleic acid sequence ?
action filter_type
action find
entity Q14864713
relation P684
type Q181394
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q181394 . resource:Q14864713 property:P684 ?b }
Cftr
action filter_type
action find
entity Cftr
relation ortholog
type nutrient
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:nutrient . resource:Cftr property:ortholog ?b }
[]
nutrient
Q420470
SYSTEM
Cystic fibrosis transmembrane conductance regulator
Q420470
action filter_type
action find
entity Q14864713
relation P684
type Q181394
[ANSWER] is an orthologous gene for that nucleic acid sequence
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q181394 . resource:Q14864713 property:P684 ?b }
Cystic fibrosis transmembrane conductance regulator
Cystic fibrosis transmembrane conductance regulator is an orthologous gene for that nucleic acid sequence
Cystic fibrosis transmembrane conductance regulator
action filter_type
action find
entity Cftr
relation ortholog
type nutrient
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:nutrient . resource:Cftr property:ortholog ?b }
[]