Simple Question (Direct)
Simple Question
Q23425199
P681
Q5058355
USER
Which is the cell component of camphor resistance protein CrcB    YE0963 ?
(Q23425199,P681,c(Q5058355))
action filter_type
action find
entity Q23425199
relation P681
type Q5058355
['Q23425199', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?g WHERE { resource:Q23425199 property:P681 ?g . ?g rdf:type ontology:Q5058355 }
camphor resistance protein CrcB    YE0963
action filter_type
action find
entity camphor resistance protein CrcB    YE0963
relation cell component
type cellular component
['camphor resistance protein CrcB    YE0963', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?g WHERE { resource:camphor_resistance_protein_CrcB____YE0963 property:cell_component ?g . ?g rdf:type ontology:cellular_component }
[]
cellular component
Q29548
SYSTEM
plasma membrane
Q29548
(Q23425199,P681,c(Q5058355))
action filter_type
action find
entity Q23425199
relation P681
type Q5058355
The [ANSWER] is the cell component of camphor resistance protein CrcB YE0963
['Q23425199', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?g WHERE { resource:Q23425199 property:P681 ?g . ?g rdf:type ontology:Q5058355 }
plasma membrane
The plasma membrane is the cell component of camphor resistance protein CrcB YE0963
plasma membrane
action filter_type
action find
entity camphor resistance protein CrcB    YE0963
relation cell component
type cellular component
['camphor resistance protein CrcB    YE0963', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?g WHERE { resource:camphor_resistance_protein_CrcB____YE0963 property:cell_component ?g . ?g rdf:type ontology:cellular_component }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23425199
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q29548)
action filter_type
action find_reverse
entity Q23425199
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q29548']
SELECT DISTINCT ?g WHERE { ?g property:P688 resource:Q23425199 . ?g rdf:type ontology:Q863908 }
camphor resistance protein CrcB    YE0963
action filter_type
action find_reverse
entity camphor resistance protein CrcB    YE0963
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'plasma membrane']
SELECT DISTINCT ?g WHERE { ?g property:encodes resource:camphor_resistance_protein_CrcB____YE0963 . ?g rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23099099
SYSTEM
camphor resistance protein CrcB    YE0963
Q23099099
(c(Q863908),P688,Q29548)
action filter_type
action find_reverse
entity Q23425199
relation P688
type Q863908
Camphor resistance protein CrcB YE0963 encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q29548']
SELECT DISTINCT ?g WHERE { ?g property:P688 resource:Q23425199 . ?g rdf:type ontology:Q863908 }
camphor resistance protein CrcB    YE0963
Camphor resistance protein CrcB YE0963 encodes that nutrient
camphor resistance protein CrcB    YE0963
action filter_type
action find_reverse
entity camphor resistance protein CrcB    YE0963
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'plasma membrane']
SELECT DISTINCT ?g WHERE { ?g property:encodes resource:camphor_resistance_protein_CrcB____YE0963 . ?g rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23425199
P702
Q863908
USER
What encodes that nutrient ?
(Q23099099,P702,c(Q863908))
action filter_type
action find
entity Q23425199
relation P702
type Q863908
['Q23099099', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q863908 . resource:Q23425199 property:P702 ?m }
camphor resistance protein CrcB    YE0963
action filter_type
action find
entity camphor resistance protein CrcB    YE0963
relation encoded by
type nucleic acid sequence
['camphor resistance protein CrcB    YE0963', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:nucleic_acid_sequence . resource:camphor_resistance_protein_CrcB____YE0963 property:encoded_by ?m }
[]
nucleic acid sequence
Q23099099
SYSTEM
camphor resistance protein CrcB    YE0963
Q23099099
(Q23099099,P702,c(Q863908))
action filter_type
action find
entity Q23425199
relation P702
type Q863908
Camphor resistance protein CrcB YE0963 encodes that nutrient
['Q23099099', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q863908 . resource:Q23425199 property:P702 ?m }
camphor resistance protein CrcB    YE0963
Camphor resistance protein CrcB YE0963 encodes that nutrient
camphor resistance protein CrcB    YE0963
action filter_type
action find
entity camphor resistance protein CrcB    YE0963
relation encoded by
type nucleic acid sequence
['camphor resistance protein CrcB    YE0963', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:nucleic_acid_sequence . resource:camphor_resistance_protein_CrcB____YE0963 property:encoded_by ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q8386 Q181394
USER
How many nutrients contact around 35 nutrients and drugs ?
(c(Q181394),P129,c(Q181394)|c(Q8386))
action count
action approx
action union
action find_tuple_counts
relation P129
type Q181394
type Q181394
action find_tuple_counts
relation P129
type Q181394
type Q8386
value 35
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q181394'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?e ) WHERE { VALUES ( ?o ) { ( ontology:Q181394 ) ( ontology:Q8386 ) } . ?i rdf:type ?o } GROUP BY ?c } . FILTER ( ?e = 35 ) }
action count
action approx
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
value 35
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'nutrient'}, {'concept': 'drug'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?e ) WHERE { VALUES ( ?o ) { ( ontology:nutrient ) ( ontology:drug ) } . ?i rdf:type ?o } GROUP BY ?c } . FILTER ( ?e = 35 ) }
[]
nutrient drug nutrient
SYSTEM
4
Q287961 Q21108118 Q21115043 Q2034004
(c(Q181394),P129,c(Q181394)|c(Q8386))
action count
action approx
action union
action find_tuple_counts
relation P129
type Q181394
type Q181394
action find_tuple_counts
relation P129
type Q181394
type Q8386
value 35
[ANSWER]
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q181394'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?e ) WHERE { VALUES ( ?o ) { ( ontology:Q181394 ) ( ontology:Q8386 ) } . ?i rdf:type ?o } GROUP BY ?c } . FILTER ( ?e = 35 ) }
Beta-2 adrenergic receptor 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A D(2) dopamine receptor
4
action count
action approx
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
value 35
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'nutrient'}, {'concept': 'drug'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?e ) WHERE { VALUES ( ?o ) { ( ontology:nutrient ) ( ontology:drug ) } . ?i rdf:type ?o } GROUP BY ?c } . FILTER ( ?e = 35 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23118963 Q23425199
P703
Q631147
USER
Which infraspecific names are camphor resistance protein CrcB    YE0963 or short chain dehydrogenase/reductase family oxidoreductase    AHA_1103 a part of ?
OR((Q23425199,P703,c(Q631147)), (Q23118963,P703,c(Q631147)))
action filter_type
action union
action find
entity Q23425199
relation P703
action find
entity Q23118963
relation P703
type Q631147
{'OR': [['Q23425199', 'P703', {'concept': 'Q631147'}], ['Q23118963', 'P703', {'concept': 'Q631147'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q631147 . { { resource:Q23425199 property:P703 ?o } UNION { resource:Q23118963 property:P703 ?o } } }
short chain dehydrogenase/reductase family oxidoreductase    AHA_1103 camphor resistance protein CrcB    YE0963
action filter_type
action union
action find
entity camphor resistance protein CrcB    YE0963
relation found in taxon
action find
entity short chain dehydrogenase/reductase family oxidoreductase    AHA_1103
relation found in taxon
type infraspecific name
{'OR': [['camphor resistance protein CrcB    YE0963', 'found in taxon', {'concept': 'infraspecific name'}], ['short chain dehydrogenase/reductase family oxidoreductase    AHA_1103', 'found in taxon', {'concept': 'infraspecific name'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:infraspecific_name . { { resource:camphor_resistance_protein_CrcB____YE0963 property:found_in_taxon ?o } UNION { resource:short_chain_dehydrogenase/reductase_family_oxidoreductase____AHA_1103 property:found_in_taxon ?o } } }
[]
infraspecific name
Q21102942 Q21102944
SYSTEM
Yersinia enterocolitica subsp. enterocolitica 8081, Aeromonas hydrophila subsp. hydrophila ATCC 7966
Q21102942 Q21102944
OR((Q23425199,P703,c(Q631147)), (Q23118963,P703,c(Q631147)))
action filter_type
action union
action find
entity Q23425199
relation P703
action find
entity Q23118963
relation P703
type Q631147
[ANSWERS] are camphor resistance protein CrcB YE0963 or short chain dehydrogenase/reductase family oxidoreductase AHA_1103 a part of
{'OR': [['Q23425199', 'P703', {'concept': 'Q631147'}], ['Q23118963', 'P703', {'concept': 'Q631147'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q631147 . { { resource:Q23425199 property:P703 ?o } UNION { resource:Q23118963 property:P703 ?o } } }
Yersinia enterocolitica subsp. enterocolitica 8081 Aeromonas hydrophila subsp. hydrophila ATCC 7966
Yersinia enterocolitica subsp. enterocolitica 8081 and Aeromonas hydrophila subsp. hydrophila ATCC 7966 are camphor resistance protein CrcB YE0963 or short chain dehydrogenase/reductase family oxidoreductase AHA_1103 a part of
Yersinia enterocolitica subsp. enterocolitica 8081 Aeromonas hydrophila subsp. hydrophila ATCC 7966
action filter_type
action union
action find
entity camphor resistance protein CrcB    YE0963
relation found in taxon
action find
entity short chain dehydrogenase/reductase family oxidoreductase    AHA_1103
relation found in taxon
type infraspecific name
{'OR': [['camphor resistance protein CrcB    YE0963', 'found in taxon', {'concept': 'infraspecific name'}], ['short chain dehydrogenase/reductase family oxidoreductase    AHA_1103', 'found in taxon', {'concept': 'infraspecific name'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:infraspecific_name . { { resource:camphor_resistance_protein_CrcB____YE0963 property:found_in_taxon ?o } UNION { resource:short_chain_dehydrogenase/reductase_family_oxidoreductase____AHA_1103 property:found_in_taxon ?o } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q79529 Q8386 Q181394
USER
How many nutrients can interact with exactly 40 chemical substances or drugs ?
(c(Q181394),P129,c(Q79529)|c(Q8386))
action count
action equal
action union
action find_tuple_counts
relation P129
type Q181394
type Q79529
action find_tuple_counts
relation P129
type Q181394
type Q8386
value 40
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q79529'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { FILTER ( ?m = 40 ) . { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?m ) WHERE { { ?u property:P129 ?n . ?u rdf:type ontology:Q181394 . ?n rdf:type ontology:Q79529 } UNION { ?u property:P129 ?n . ?u rdf:type ontology:Q181394 . ?n rdf:type ontology:Q8386 } } GROUP BY ?u } }
action count
action equal
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
value 40
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'chemical substance'}, {'concept': 'drug'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { FILTER ( ?m = 40 ) . { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?m ) WHERE { { ?u property:physically_interacts_with ?n . ?u rdf:type ontology:nutrient . ?n rdf:type ontology:chemical_substance } UNION { ?u property:physically_interacts_with ?n . ?u rdf:type ontology:nutrient . ?n rdf:type ontology:drug } } GROUP BY ?u } }
[]
chemical substance drug nutrient
SYSTEM
1
Q21110872
(c(Q181394),P129,c(Q79529)|c(Q8386))
action count
action equal
action union
action find_tuple_counts
relation P129
type Q181394
type Q79529
action find_tuple_counts
relation P129
type Q181394
type Q8386
value 40
[ANSWER]
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q79529'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { FILTER ( ?m = 40 ) . { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?m ) WHERE { { ?u property:P129 ?n . ?u rdf:type ontology:Q181394 . ?n rdf:type ontology:Q79529 } UNION { ?u property:P129 ?n . ?u rdf:type ontology:Q181394 . ?n rdf:type ontology:Q8386 } } GROUP BY ?u } }
D(3) dopamine receptor
1
action count
action equal
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
value 40
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'chemical substance'}, {'concept': 'drug'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { FILTER ( ?m = 40 ) . { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?m ) WHERE { { ?u property:physically_interacts_with ?n . ?u rdf:type ontology:nutrient . ?n rdf:type ontology:chemical_substance } UNION { ?u property:physically_interacts_with ?n . ?u rdf:type ontology:nutrient . ?n rdf:type ontology:drug } } GROUP BY ?u } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29548
P361
Q5058355
USER
Which cellular components are plasma membrane a portion of ?
(Q29548,P361,c(Q5058355))
action filter_type
action find
entity Q29548
relation P361
type Q5058355
['Q29548', 'P361', {'concept': 'Q5058355'}]
SELECT DISTINCT ?n WHERE { resource:Q29548 property:P361 ?n . ?n rdf:type ontology:Q5058355 }
plasma membrane
action filter_type
action find
entity plasma membrane
relation part of
type cellular component
['plasma membrane', 'part of', {'concept': 'cellular component'}]
SELECT DISTINCT ?n WHERE { resource:plasma_membrane property:part_of ?n . ?n rdf:type ontology:cellular_component }
[]
cellular component
Q899827 Q22330431 Q14864171
SYSTEM
endomembrane system, unencapsulated part of cell, cell periphery
Q899827 Q22330431 Q14864171
(Q29548,P361,c(Q5058355))
action filter_type
action find
entity Q29548
relation P361
type Q5058355
[ANSWERS] are plasma membrane a portion of
['Q29548', 'P361', {'concept': 'Q5058355'}]
SELECT DISTINCT ?n WHERE { resource:Q29548 property:P361 ?n . ?n rdf:type ontology:Q5058355 }
endomembrane system unencapsulated part of cell cell periphery
Endomembrane system, unencapsulated part of cell and cell periphery are plasma membrane a portion of
endomembrane system unencapsulated part of cell cell periphery
action filter_type
action find
entity plasma membrane
relation part of
type cellular component
['plasma membrane', 'part of', {'concept': 'cellular component'}]
SELECT DISTINCT ?n WHERE { resource:plasma_membrane property:part_of ?n . ?n rdf:type ontology:cellular_component }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22327509
Q5058355
USER
And how about postsynaptic cytosol?
(Q22327509,P361,c(Q5058355))
action filter_type
action find
entity Q22327509
relation P361
type Q5058355
['Q22327509', 'P361', {'concept': 'Q5058355'}]
SELECT DISTINCT ?l WHERE { resource:Q22327509 property:P361 ?l . ?l rdf:type ontology:Q5058355 }
postsynaptic cytosol
action filter_type
action find
entity postsynaptic cytosol
relation part of
type cellular component
['postsynaptic cytosol', 'part of', {'concept': 'cellular component'}]
SELECT DISTINCT ?l WHERE { resource:postsynaptic_cytosol property:part_of ?l . ?l rdf:type ontology:cellular_component }
[]
cellular component
Q22327475
SYSTEM
postsynapse
Q22327475
(Q22327509,P361,c(Q5058355))
action filter_type
action find
entity Q22327509
relation P361
type Q5058355
[ANSWER]
['Q22327509', 'P361', {'concept': 'Q5058355'}]
SELECT DISTINCT ?l WHERE { resource:Q22327509 property:P361 ?l . ?l rdf:type ontology:Q5058355 }
postsynapse
postsynapse
action filter_type
action find
entity postsynaptic cytosol
relation part of
type cellular component
['postsynaptic cytosol', 'part of', {'concept': 'cellular component'}]
SELECT DISTINCT ?l WHERE { resource:postsynaptic_cytosol property:part_of ?l . ?l rdf:type ontology:cellular_component }
[]