Simple Question (Direct)
Simple Question
Q23499130
P702
Q863908
USER
What is the gene that encodes tagatose 1,6-diphosphate aldolase    EF1807 ?
(Q23499130,P702,c(Q863908))
action filter_type
action find
entity Q23499130
relation P702
type Q863908
['Q23499130', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?p WHERE { resource:Q23499130 property:P702 ?p . ?p rdf:type ontology:Q863908 }
tagatose 1,6-diphosphate aldolase    EF1807
action filter_type
action find
entity tagatose 1,6-diphosphate aldolase    EF1807
relation encoded by
type nucleic acid sequence
['tagatose 1,6-diphosphate aldolase    EF1807', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?p WHERE { resource:tagatose_1,6-diphosphate_aldolase____EF1807 property:encoded_by ?p . ?p rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23171635
SYSTEM
tagatose 1,6-diphosphate aldolase    EF1807
Q23171635
(Q23499130,P702,c(Q863908))
action filter_type
action find
entity Q23499130
relation P702
type Q863908
The gene that encodes tagatose 1,6- diphosphate aldolase EF1807 is named tagatose 1,6-diphosphate aldolase EF1807
['Q23499130', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?p WHERE { resource:Q23499130 property:P702 ?p . ?p rdf:type ontology:Q863908 }
tagatose 1,6-diphosphate aldolase    EF1807
The gene that encodes tagatose 1,6- diphosphate aldolase EF1807 is named tagatose 1,6-diphosphate aldolase EF1807
tagatose 1,6-diphosphate aldolase    EF1807
action filter_type
action find
entity tagatose 1,6-diphosphate aldolase    EF1807
relation encoded by
type nucleic acid sequence
['tagatose 1,6-diphosphate aldolase    EF1807', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?p WHERE { resource:tagatose_1,6-diphosphate_aldolase____EF1807 property:encoded_by ?p . ?p rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23499130
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q23171635)
action filter_type
action find_reverse
entity Q23499130
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23171635']
SELECT DISTINCT ?q WHERE { ?q property:P688 resource:Q23499130 . ?q rdf:type ontology:Q863908 }
tagatose 1,6-diphosphate aldolase    EF1807
action filter_type
action find_reverse
entity tagatose 1,6-diphosphate aldolase    EF1807
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'tagatose 1,6-diphosphate aldolase    EF1807']
SELECT DISTINCT ?q WHERE { ?q property:encodes resource:tagatose_1,6-diphosphate_aldolase____EF1807 . ?q rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23171635
SYSTEM
tagatose 1,6-diphosphate aldolase    EF1807
Q23171635
(c(Q863908),P688,Q23171635)
action filter_type
action find_reverse
entity Q23499130
relation P688
type Q863908
The tagatose 1,6-diphosphate aldolase EF1807 encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q23171635']
SELECT DISTINCT ?q WHERE { ?q property:P688 resource:Q23499130 . ?q rdf:type ontology:Q863908 }
tagatose 1,6-diphosphate aldolase    EF1807
The tagatose 1,6-diphosphate aldolase EF1807 encodes that nutrient
tagatose 1,6-diphosphate aldolase    EF1807
action filter_type
action find_reverse
entity tagatose 1,6-diphosphate aldolase    EF1807
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'tagatose 1,6-diphosphate aldolase    EF1807']
SELECT DISTINCT ?q WHERE { ?q property:encodes resource:tagatose_1,6-diphosphate_aldolase____EF1807 . ?q rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q79529 Q8386
USER
How many nutrients do exactly 33 chemical substances and drugs interact with ?
(c(Q79529)|c(Q8386),P129,c(Q181394))
action count
action equal
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
value 33
[[{'concept': 'Q79529'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?p WHERE { VALUES ( ?f ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } . ?k rdf:type ?f } GROUP BY ?p } . FILTER ( ?s = 33 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
value 33
[[{'concept': 'chemical substance'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?p WHERE { VALUES ( ?f ) { ( ontology:chemical_substance ) ( ontology:drug ) } . ?k rdf:type ?f } GROUP BY ?p } . FILTER ( ?s = 33 ) }
[]
nutrient chemical substance drug
SYSTEM
2
Q287961 Q5123372
(c(Q79529)|c(Q8386),P129,c(Q181394))
action count
action equal
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
value 33
[ANSWER]
[[{'concept': 'Q79529'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?p WHERE { VALUES ( ?f ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } . ?k rdf:type ?f } GROUP BY ?p } . FILTER ( ?s = 33 ) }
Beta-2 adrenergic receptor Mu-type opioid receptor
2
action count
action equal
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
value 33
[[{'concept': 'chemical substance'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?p WHERE { VALUES ( ?f ) { ( ontology:chemical_substance ) ( ontology:drug ) } . ?k rdf:type ?f } GROUP BY ?p } . FILTER ( ?s = 33 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23171635
P703
Q631147
USER
Which infraspecific name is tagatose 1,6-diphosphate aldolase    EF1807 found in ?
(Q23171635,P703,c(Q631147))
action filter_type
action find
entity Q23171635
relation P703
type Q631147
['Q23171635', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q631147 . resource:Q23171635 property:P703 ?b }
tagatose 1,6-diphosphate aldolase    EF1807
action filter_type
action find
entity tagatose 1,6-diphosphate aldolase    EF1807
relation found in taxon
type infraspecific name
['tagatose 1,6-diphosphate aldolase    EF1807', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:infraspecific_name . resource:tagatose_1,6-diphosphate_aldolase____EF1807 property:found_in_taxon ?b }
[]
infraspecific name
Q21102965
SYSTEM
Enterococcus faecalis V583
Q21102965
(Q23171635,P703,c(Q631147))
action filter_type
action find
entity Q23171635
relation P703
type Q631147
[ANSWER] is tagatose 1,6-diphosphate aldolase EF1807 found in
['Q23171635', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q631147 . resource:Q23171635 property:P703 ?b }
Enterococcus faecalis V583
Enterococcus faecalis V583 is tagatose 1,6-diphosphate aldolase EF1807 found in
Enterococcus faecalis V583
action filter_type
action find
entity tagatose 1,6-diphosphate aldolase    EF1807
relation found in taxon
type infraspecific name
['tagatose 1,6-diphosphate aldolase    EF1807', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:infraspecific_name . resource:tagatose_1,6-diphosphate_aldolase____EF1807 property:found_in_taxon ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23120500
Q631147
USER
And what about ribosome-binding factor A    AHA_3302?
(Q23120500,P703,c(Q631147))
action filter_type
action find
entity Q23120500
relation P703
type Q631147
['Q23120500', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?g WHERE { resource:Q23120500 property:P703 ?g . ?g rdf:type ontology:Q631147 }
ribosome-binding factor A    AHA_3302
action filter_type
action find
entity ribosome-binding factor A    AHA_3302
relation found in taxon
type infraspecific name
['ribosome-binding factor A    AHA_3302', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?g WHERE { resource:ribosome-binding_factor_A____AHA_3302 property:found_in_taxon ?g . ?g rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102944
SYSTEM
Aeromonas hydrophila subsp. hydrophila ATCC 7966
Q21102944
(Q23120500,P703,c(Q631147))
action filter_type
action find
entity Q23120500
relation P703
type Q631147
[ANSWER]
['Q23120500', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?g WHERE { resource:Q23120500 property:P703 ?g . ?g rdf:type ontology:Q631147 }
Aeromonas hydrophila subsp. hydrophila ATCC 7966
Aeromonas hydrophila subsp. hydrophila ATCC 7966
action filter_type
action find
entity ribosome-binding factor A    AHA_3302
relation found in taxon
type infraspecific name
['ribosome-binding factor A    AHA_3302', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?g WHERE { resource:ribosome-binding_factor_A____AHA_3302 property:found_in_taxon ?g . ?g rdf:type ontology:infraspecific_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21102944 Q23141034
P703
Q863908
USER
Is acyl-CoA synthetase    ECUMN_3458 found in that infraspecific name ?
(Q23141034,P703,Q21102944)
action is_in
entity Q23141034
action find
entity Q21102944
relation P703
['Q23141034', 'P703', 'Q21102944']
ASK WHERE { resource:Q21102944 property:P703 resource:Q23141034 }
Aeromonas hydrophila subsp. hydrophila ATCC 7966 acyl-CoA synthetase    ECUMN_3458
action is_in
entity acyl-CoA synthetase    ECUMN_3458
action find
entity Aeromonas hydrophila subsp. hydrophila ATCC 7966
relation found in taxon
['acyl-CoA synthetase    ECUMN_3458', 'found in taxon', 'Aeromonas hydrophila subsp. hydrophila ATCC 7966']
ASK WHERE { resource:Aeromonas_hydrophila_subsp._hydrophila_ATCC_7966 property:found_in_taxon resource:acyl-CoA_synthetase____ECUMN_3458 }
[]
nucleic acid sequence
SYSTEM
NO
(Q23141034,P703,Q21102944)
action is_in
entity Q23141034
action find
entity Q21102944
relation P703
[ANSWER]
['Q23141034', 'P703', 'Q21102944']
ASK WHERE { resource:Q21102944 property:P703 resource:Q23141034 }
No
action is_in
entity acyl-CoA synthetase    ECUMN_3458
action find
entity Aeromonas hydrophila subsp. hydrophila ATCC 7966
relation found in taxon
['acyl-CoA synthetase    ECUMN_3458', 'found in taxon', 'Aeromonas hydrophila subsp. hydrophila ATCC 7966']
ASK WHERE { resource:Aeromonas_hydrophila_subsp._hydrophila_ATCC_7966 property:found_in_taxon resource:acyl-CoA_synthetase____ECUMN_3458 }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q23499130 Q21102965
P703
Q631147
USER
Does tagatose 1,6-diphosphate aldolase    EF1807 belong to Enterococcus faecalis V583 ?
(Q23499130,P703,Q21102965)
action is_in
entity Q21102965
action find
entity Q23499130
relation P703
['Q23499130', 'P703', 'Q21102965']
ASK WHERE { resource:Q23499130 property:P703 resource:Q21102965 }
tagatose 1,6-diphosphate aldolase    EF1807 Enterococcus faecalis V583
action is_in
entity Enterococcus faecalis V583
action find
entity tagatose 1,6-diphosphate aldolase    EF1807
relation found in taxon
['tagatose 1,6-diphosphate aldolase    EF1807', 'found in taxon', 'Enterococcus faecalis V583']
ASK WHERE { resource:tagatose_1,6-diphosphate_aldolase____EF1807 property:found_in_taxon resource:Enterococcus_faecalis_V583 }
[]
infraspecific name
SYSTEM
YES
(Q23499130,P703,Q21102965)
action is_in
entity Q21102965
action find
entity Q23499130
relation P703
[ANSWER]
['Q23499130', 'P703', 'Q21102965']
ASK WHERE { resource:Q23499130 property:P703 resource:Q21102965 }
Yes
action is_in
entity Enterococcus faecalis V583
action find
entity tagatose 1,6-diphosphate aldolase    EF1807
relation found in taxon
['tagatose 1,6-diphosphate aldolase    EF1807', 'found in taxon', 'Enterococcus faecalis V583']
ASK WHERE { resource:tagatose_1,6-diphosphate_aldolase____EF1807 property:found_in_taxon resource:Enterococcus_faecalis_V583 }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23359432 Q23171635
P688
Q181394
USER
Which nutrients do tagatose 1,6-diphosphate aldolase    EF1807 or hypothetical protein    BT_4655 encode ?
OR((Q23171635,P688,c(Q181394)), (Q23359432,P688,c(Q181394)))
action filter_type
action union
action find
entity Q23171635
relation P688
action find
entity Q23359432
relation P688
type Q181394
{'OR': [['Q23171635', 'P688', {'concept': 'Q181394'}], ['Q23359432', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?l WHERE { { ?k property:P688 ?l . VALUES ( ?k ) { ( resource:Q23171635 ) ( resource:Q23359432 ) } } . ?l rdf:type ontology:Q181394 }
hypothetical protein    BT_4655 tagatose 1,6-diphosphate aldolase    EF1807
action filter_type
action union
action find
entity tagatose 1,6-diphosphate aldolase    EF1807
relation encodes
action find
entity hypothetical protein    BT_4655
relation encodes
type nutrient
{'OR': [['tagatose 1,6-diphosphate aldolase    EF1807', 'encodes', {'concept': 'nutrient'}], ['hypothetical protein    BT_4655', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?l WHERE { { ?k property:encodes ?l . VALUES ( ?k ) { ( resource:tagatose_1,6-diphosphate_aldolase____EF1807 ) ( resource:hypothetical_protein____BT_4655 ) } } . ?l rdf:type ontology:nutrient }
[]
nutrient
Q23458759 Q23499130
SYSTEM
hypothetical protein    BT_4655, tagatose 1,6-diphosphate aldolase    EF1807
Q23458759 Q23499130
OR((Q23171635,P688,c(Q181394)), (Q23359432,P688,c(Q181394)))
action filter_type
action union
action find
entity Q23171635
relation P688
action find
entity Q23359432
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q23171635', 'P688', {'concept': 'Q181394'}], ['Q23359432', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?l WHERE { { ?k property:P688 ?l . VALUES ( ?k ) { ( resource:Q23171635 ) ( resource:Q23359432 ) } } . ?l rdf:type ontology:Q181394 }
hypothetical protein    BT_4655 tagatose 1,6-diphosphate aldolase    EF1807
Hypothetical protein BT 4655 and tagatose 1,6-diphosphate aldolase EF1807 tagatose 1,6-diphosphate allase EF1807 or hypothetical protein BT_4655 encode
hypothetical protein    BT_4655 tagatose 1,6-diphosphate aldolase    EF1807
action filter_type
action union
action find
entity tagatose 1,6-diphosphate aldolase    EF1807
relation encodes
action find
entity hypothetical protein    BT_4655
relation encodes
type nutrient
{'OR': [['tagatose 1,6-diphosphate aldolase    EF1807', 'encodes', {'concept': 'nutrient'}], ['hypothetical protein    BT_4655', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?l WHERE { { ?k property:encodes ?l . VALUES ( ?k ) { ( resource:tagatose_1,6-diphosphate_aldolase____EF1807 ) ( resource:hypothetical_protein____BT_4655 ) } } . ?l rdf:type ontology:nutrient }
[]