Simple Question (Direct)
Simple Question
Q27749711
P702
Q863908
USER
What encodes stress response protein GrpE    Rv0351 ?
(Q27749711,P702,c(Q863908))
action filter_type
action find
entity Q27749711
relation P702
type Q863908
['Q27749711', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?c WHERE { resource:Q27749711 property:P702 ?c . ?c rdf:type ontology:Q863908 }
stress response protein GrpE    Rv0351
action filter_type
action find
entity stress response protein GrpE    Rv0351
relation encoded by
type nucleic acid sequence
['stress response protein GrpE    Rv0351', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?c WHERE { resource:stress_response_protein_GrpE____Rv0351 property:encoded_by ?c . ?c rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23283291
SYSTEM
stress response protein GrpE    Rv0351
Q23283291
(Q27749711,P702,c(Q863908))
action filter_type
action find
entity Q27749711
relation P702
type Q863908
1 stress response protein GrpE Rv0351 encodes stress response protein GrpE Rv0351
['Q27749711', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?c WHERE { resource:Q27749711 property:P702 ?c . ?c rdf:type ontology:Q863908 }
stress response protein GrpE    Rv0351
1 stress response protein GrpE Rv0351 encodes stress response protein GrpE Rv0351
stress response protein GrpE    Rv0351
action filter_type
action find
entity stress response protein GrpE    Rv0351
relation encoded by
type nucleic acid sequence
['stress response protein GrpE    Rv0351', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?c WHERE { resource:stress_response_protein_GrpE____Rv0351 property:encoded_by ?c . ?c rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23283291
P703
Q631147
USER
Which infraspecific name is that nucleic acid sequence found in ?
(Q23283291,P703,c(Q631147))
action filter_type
action find
entity Q23283291
relation P703
type Q631147
['Q23283291', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q631147 . resource:Q23283291 property:P703 ?b }
stress response protein GrpE    Rv0351
action filter_type
action find
entity stress response protein GrpE    Rv0351
relation found in taxon
type infraspecific name
['stress response protein GrpE    Rv0351', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:infraspecific_name . resource:stress_response_protein_GrpE____Rv0351 property:found_in_taxon ?b }
[]
infraspecific name
Q21102987
SYSTEM
Mycobacterium tuberculosis H37Rv
Q21102987
(Q23283291,P703,c(Q631147))
action filter_type
action find
entity Q23283291
relation P703
type Q631147
That nucleic acid sequence is found in [ANSWER]
['Q23283291', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q631147 . resource:Q23283291 property:P703 ?b }
Mycobacterium tuberculosis H37Rv
That nucleic acid sequence is found in Mycobacterium tuberculosis H37Rv
Mycobacterium tuberculosis H37Rv
action filter_type
action find
entity stress response protein GrpE    Rv0351
relation found in taxon
type infraspecific name
['stress response protein GrpE    Rv0351', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:infraspecific_name . resource:stress_response_protein_GrpE____Rv0351 property:found_in_taxon ?b }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22573868 Q27749711
P703
Q631147
USER
Which infraspecific names are stress response protein GrpE    Rv0351 or L-asparaginase II    YPO1386 found ?
OR((Q27749711,P703,c(Q631147)), (Q22573868,P703,c(Q631147)))
action filter_type
action union
action find
entity Q27749711
relation P703
action find
entity Q22573868
relation P703
type Q631147
{'OR': [['Q27749711', 'P703', {'concept': 'Q631147'}], ['Q22573868', 'P703', {'concept': 'Q631147'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q27749711 property:P703 ?w } UNION { resource:Q22573868 property:P703 ?w } } . ?w rdf:type ontology:Q631147 }
L-asparaginase II    YPO1386 stress response protein GrpE    Rv0351
action filter_type
action union
action find
entity stress response protein GrpE    Rv0351
relation found in taxon
action find
entity L-asparaginase II    YPO1386
relation found in taxon
type infraspecific name
{'OR': [['stress response protein GrpE    Rv0351', 'found in taxon', {'concept': 'infraspecific name'}], ['L-asparaginase II    YPO1386', 'found in taxon', {'concept': 'infraspecific name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:stress_response_protein_GrpE____Rv0351 property:found_in_taxon ?w } UNION { resource:L-asparaginase_II____YPO1386 property:found_in_taxon ?w } } . ?w rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102987 Q21102943
SYSTEM
Mycobacterium tuberculosis H37Rv, Yersinia pestis CO92
Q21102987 Q21102943
OR((Q27749711,P703,c(Q631147)), (Q22573868,P703,c(Q631147)))
action filter_type
action union
action find
entity Q27749711
relation P703
action find
entity Q22573868
relation P703
type Q631147
In [ANSWERS] are stress response protein GrpE Rv0351 or L-asparaginase II YPO1386 found
{'OR': [['Q27749711', 'P703', {'concept': 'Q631147'}], ['Q22573868', 'P703', {'concept': 'Q631147'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q27749711 property:P703 ?w } UNION { resource:Q22573868 property:P703 ?w } } . ?w rdf:type ontology:Q631147 }
Mycobacterium tuberculosis H37Rv Yersinia pestis CO92
In Mycobacterium tuberculosis H37Rv and Yersinia pestis CO92 are stress response protein GrpE Rv0351 or L-asparaginase II YPO1386 found
Mycobacterium tuberculosis H37Rv Yersinia pestis CO92
action filter_type
action union
action find
entity stress response protein GrpE    Rv0351
relation found in taxon
action find
entity L-asparaginase II    YPO1386
relation found in taxon
type infraspecific name
{'OR': [['stress response protein GrpE    Rv0351', 'found in taxon', {'concept': 'infraspecific name'}], ['L-asparaginase II    YPO1386', 'found in taxon', {'concept': 'infraspecific name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:stress_response_protein_GrpE____Rv0351 property:found_in_taxon ?w } UNION { resource:L-asparaginase_II____YPO1386 property:found_in_taxon ?w } } . ?w rdf:type ontology:infraspecific_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22573868
P688
Q181394
USER
Which nutrient is encoded by that nucleic acid sequence ?
(Q21102987,P688,c(Q181394)) (Q21102943,P688,c(Q181394))
action filter_type
action find
entity Q22573868
relation P688
type Q181394
['Q21102987', 'P688', {'concept': 'Q181394'}] ['Q21102943', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?q WHERE { resource:Q22573868 property:P688 ?q . ?q rdf:type ontology:Q181394 }
L-asparaginase II    YPO1386
action filter_type
action find
entity L-asparaginase II    YPO1386
relation encodes
type nutrient
['Mycobacterium tuberculosis H37Rv', 'encodes', {'concept': 'nutrient'}] ['Yersinia pestis CO92', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?q WHERE { resource:L-asparaginase_II____YPO1386 property:encodes ?q . ?q rdf:type ontology:nutrient }
[]
nutrient
Q27484814
SYSTEM
L-asparaginase II    YPO1386
Q27484814
(Q21102987,P688,c(Q181394)) (Q21102943,P688,c(Q181394))
action filter_type
action find
entity Q22573868
relation P688
type Q181394
L-asparaginase II YPO1386 is encoded by that nucleic acid sequence
['Q21102987', 'P688', {'concept': 'Q181394'}] ['Q21102943', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?q WHERE { resource:Q22573868 property:P688 ?q . ?q rdf:type ontology:Q181394 }
L-asparaginase II    YPO1386
L-asparaginase II YPO1386 is encoded by that nucleic acid sequence
L-asparaginase II    YPO1386
action filter_type
action find
entity L-asparaginase II    YPO1386
relation encodes
type nutrient
['Mycobacterium tuberculosis H37Rv', 'encodes', {'concept': 'nutrient'}] ['Yersinia pestis CO92', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?q WHERE { resource:L-asparaginase_II____YPO1386 property:encodes ?q . ?q rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q22573868
P703
Q631147
USER
How many infraspecific names do L-asparaginase II    YPO1386 belong to ?
(Q22573868,P703,c(Q631147))
action count
action filter_type
action find
entity Q22573868
relation P703
type Q631147
['Q22573868', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Q22573868 property:P703 ?q . ?q rdf:type ontology:Q631147 }
L-asparaginase II    YPO1386
action count
action filter_type
action find
entity L-asparaginase II    YPO1386
relation found in taxon
type infraspecific name
['L-asparaginase II    YPO1386', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:L-asparaginase_II____YPO1386 property:found_in_taxon ?q . ?q rdf:type ontology:infraspecific_name }
[]
infraspecific name
SYSTEM
1
Q21102943
(Q22573868,P703,c(Q631147))
action count
action filter_type
action find
entity Q22573868
relation P703
type Q631147
[ANSWER]
['Q22573868', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:Q22573868 property:P703 ?q . ?q rdf:type ontology:Q631147 }
Yersinia pestis CO92
1
action count
action filter_type
action find
entity L-asparaginase II    YPO1386
relation found in taxon
type infraspecific name
['L-asparaginase II    YPO1386', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { resource:L-asparaginase_II____YPO1386 property:found_in_taxon ?q . ?q rdf:type ontology:infraspecific_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q181394 Q8386
USER
How many nutrients do exactly 14 nutrients and drugs contact with ?
(c(Q181394)|c(Q8386),P129,c(Q181394))
action count
action equal
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
value 14
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:Q181394 ) ( ontology:Q8386 ) } . ?o rdf:type ?v } GROUP BY ?z } . FILTER ( ?p = 14 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
value 14
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:nutrient ) ( ontology:drug ) } . ?o rdf:type ?v } GROUP BY ?z } . FILTER ( ?p = 14 ) }
[]
nutrient nutrient drug
SYSTEM
2
Q4847900 Q2844056
(c(Q181394)|c(Q8386),P129,c(Q181394))
action count
action equal
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
value 14
[ANSWER]
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:Q181394 ) ( ontology:Q8386 ) } . ?o rdf:type ?v } GROUP BY ?z } . FILTER ( ?p = 14 ) }
Muscarinic acetylcholine receptor M1 Muscarinic acetylcholine receptor M3
2
action count
action equal
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
value 14
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:nutrient ) ( ontology:drug ) } . ?o rdf:type ?v } GROUP BY ?z } . FILTER ( ?p = 14 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22312496 Q23283291
P702
Q181394
USER
Which nutrients are encoded by stress response protein GrpE    Rv0351 or amidase family protein    PP_2932 ?
OR((c(Q181394),P702,Q23283291), (c(Q181394),P702,Q22312496))
action filter_type
action union
action find_reverse
entity Q23283291
relation P702
action find_reverse
entity Q22312496
relation P702
type Q181394
{'OR': [[{'concept': 'Q181394'}, 'P702', 'Q23283291'], [{'concept': 'Q181394'}, 'P702', 'Q22312496']]}
SELECT DISTINCT ?x WHERE { { { ?x property:P702 resource:Q23283291 } UNION { ?x property:P702 resource:Q22312496 } } . ?x rdf:type ontology:Q181394 }
amidase family protein    PP_2932 stress response protein GrpE    Rv0351
action filter_type
action union
action find_reverse
entity stress response protein GrpE    Rv0351
relation encoded by
action find_reverse
entity amidase family protein    PP_2932
relation encoded by
type nutrient
{'OR': [[{'concept': 'nutrient'}, 'encoded by', 'stress response protein GrpE    Rv0351'], [{'concept': 'nutrient'}, 'encoded by', 'amidase family protein    PP_2932']]}
SELECT DISTINCT ?x WHERE { { { ?x property:encoded_by resource:stress_response_protein_GrpE____Rv0351 } UNION { ?x property:encoded_by resource:amidase_family_protein____PP_2932 } } . ?x rdf:type ontology:nutrient }
[]
nutrient
Q22319738 Q27749711
SYSTEM
amidase family protein    PP_2932, stress response protein GrpE    Rv0351
Q22319738 Q27749711
OR((c(Q181394),P702,Q23283291), (c(Q181394),P702,Q22312496))
action filter_type
action union
action find_reverse
entity Q23283291
relation P702
action find_reverse
entity Q22312496
relation P702
type Q181394
[ANSWERS]
{'OR': [[{'concept': 'Q181394'}, 'P702', 'Q23283291'], [{'concept': 'Q181394'}, 'P702', 'Q22312496']]}
SELECT DISTINCT ?x WHERE { { { ?x property:P702 resource:Q23283291 } UNION { ?x property:P702 resource:Q22312496 } } . ?x rdf:type ontology:Q181394 }
amidase family protein    PP_2932 stress response protein GrpE    Rv0351
Amidase family protein PP 2932 and stress response protein GrpE Rv0351 are encoded by stress response protein GrpE Rv0351 or amidase family protein PP_2932
amidase family protein    PP_2932 stress response protein GrpE    Rv0351
action filter_type
action union
action find_reverse
entity stress response protein GrpE    Rv0351
relation encoded by
action find_reverse
entity amidase family protein    PP_2932
relation encoded by
type nutrient
{'OR': [[{'concept': 'nutrient'}, 'encoded by', 'stress response protein GrpE    Rv0351'], [{'concept': 'nutrient'}, 'encoded by', 'amidase family protein    PP_2932']]}
SELECT DISTINCT ?x WHERE { { { ?x property:encoded_by resource:stress_response_protein_GrpE____Rv0351 } UNION { ?x property:encoded_by resource:amidase_family_protein____PP_2932 } } . ?x rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P682
Q3249551 Q181394
USER
How many processes are a biological processes that atmost 2405 nutrients are involved in ?
(c(Q181394),P682,c(Q3249551))
action count
action atmost
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
value 2405
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { FILTER ( ?m <= 2405 ) . { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:P682 ?g . ?l rdf:type ontology:Q181394 . ?g rdf:type ontology:Q3249551 } GROUP BY ?g } }
action count
action atmost
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
value 2405
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { FILTER ( ?m <= 2405 ) . { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:biological_process ?g . ?l rdf:type ontology:nutrient . ?g rdf:type ontology:process } GROUP BY ?g } }
[]
process nutrient
SYSTEM
14
Q22269718 Q306383 Q14820058 Q22284496 Q22271548 Q9332 Q22293230 Q14873025 Q14916317 Q14859560 Q14865172 Q14885910 Q14864472 Q162925
(c(Q181394),P682,c(Q3249551))
action count
action atmost
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
value 2405
[ANSWER]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { FILTER ( ?m <= 2405 ) . { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:P682 ?g . ?l rdf:type ontology:Q181394 . ?g rdf:type ontology:Q3249551 } GROUP BY ?g } }
locomotion G1/S transition of mitotic cell cycle growth biological regulation cell killing behavior developmental process cellular process immune system process response to stimulus signaling reproductive process rhythmic process meiotic nuclear division
14
action count
action atmost
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
value 2405
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { FILTER ( ?m <= 2405 ) . { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:biological_process ?g . ?l rdf:type ontology:nutrient . ?g rdf:type ontology:process } GROUP BY ?g } }
[]