Simple Question (Direct)
Simple Question
Q23508435
P702
Q863908
USER
Which nucleic acid sequence encodes glycogen synthase    L98347 ?
(Q23508435,P702,c(Q863908))
action filter_type
action find
entity Q23508435
relation P702
type Q863908
['Q23508435', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?a WHERE { resource:Q23508435 property:P702 ?a . ?a rdf:type ontology:Q863908 }
glycogen synthase    L98347
action filter_type
action find
entity glycogen synthase    L98347
relation encoded by
type nucleic acid sequence
['glycogen synthase    L98347', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?a WHERE { resource:glycogen_synthase____L98347 property:encoded_by ?a . ?a rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23189093
SYSTEM
glycogen synthase    L98347
Q23189093
(Q23508435,P702,c(Q863908))
action filter_type
action find
entity Q23508435
relation P702
type Q863908
Glycogen synthase L98347 encodes glycogen synthase L98347
['Q23508435', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?a WHERE { resource:Q23508435 property:P702 ?a . ?a rdf:type ontology:Q863908 }
glycogen synthase    L98347
Glycogen synthase L98347 encodes glycogen synthase L98347
glycogen synthase    L98347
action filter_type
action find
entity glycogen synthase    L98347
relation encoded by
type nucleic acid sequence
['glycogen synthase    L98347', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?a WHERE { resource:glycogen_synthase____L98347 property:encoded_by ?a . ?a rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23508435
P688
Q863908
USER
What is the nucleic acid sequence that is encoded by glycogen synthase    L98347 ?
(c(Q863908),P688,Q23508435)
action filter_type
action find_reverse
entity Q23508435
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23508435']
SELECT DISTINCT ?c WHERE { ?c property:P688 resource:Q23508435 . ?c rdf:type ontology:Q863908 }
glycogen synthase    L98347
action filter_type
action find_reverse
entity glycogen synthase    L98347
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'glycogen synthase    L98347']
SELECT DISTINCT ?c WHERE { ?c property:encodes resource:glycogen_synthase____L98347 . ?c rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23189093
SYSTEM
glycogen synthase    L98347
Q23189093
(c(Q863908),P688,Q23508435)
action filter_type
action find_reverse
entity Q23508435
relation P688
type Q863908
The nucleic acid sequence that is encoded by glycogen synthase L98347 is by glycogen synthase L98347
[{'concept': 'Q863908'}, 'P688', 'Q23508435']
SELECT DISTINCT ?c WHERE { ?c property:P688 resource:Q23508435 . ?c rdf:type ontology:Q863908 }
glycogen synthase    L98347
The nucleic acid sequence that is encoded by glycogen synthase L98347 is by glycogen synthase L98347
glycogen synthase    L98347
action filter_type
action find_reverse
entity glycogen synthase    L98347
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'glycogen synthase    L98347']
SELECT DISTINCT ?c WHERE { ?c property:encodes resource:glycogen_synthase____L98347 . ?c rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23189093
P703
Q631147
USER
Where is that nucleic acid sequence found ?
(Q23189093,P703,c(Q631147))
action filter_type
action find
entity Q23189093
relation P703
type Q631147
['Q23189093', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?k WHERE { resource:Q23189093 property:P703 ?k . ?k rdf:type ontology:Q631147 }
glycogen synthase    L98347
action filter_type
action find
entity glycogen synthase    L98347
relation found in taxon
type infraspecific name
['glycogen synthase    L98347', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?k WHERE { resource:glycogen_synthase____L98347 property:found_in_taxon ?k . ?k rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102967
SYSTEM
Lactococcus lactis subsp. lactis Il1403
Q21102967
(Q23189093,P703,c(Q631147))
action filter_type
action find
entity Q23189093
relation P703
type Q631147
That nucleic acid sequence is found in [ANSWER]
['Q23189093', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?k WHERE { resource:Q23189093 property:P703 ?k . ?k rdf:type ontology:Q631147 }
Lactococcus lactis subsp. lactis Il1403
That nucleic acid sequence is found in Lactococcus lactis subsp. lactis Il1403
Lactococcus lactis subsp. lactis Il1403
action filter_type
action find
entity glycogen synthase    L98347
relation found in taxon
type infraspecific name
['glycogen synthase    L98347', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?k WHERE { resource:glycogen_synthase____L98347 property:found_in_taxon ?k . ?k rdf:type ontology:infraspecific_name }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q23189093
Q631147
USER
And which infraspecific name?
(Q23189093,P703,c(Q631147))
action filter_type
action find
entity Q23189093
relation P703
type Q631147
['Q23189093', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?c WHERE { resource:Q23189093 property:P703 ?c . ?c rdf:type ontology:Q631147 }
glycogen synthase    L98347
action filter_type
action find
entity glycogen synthase    L98347
relation found in taxon
type infraspecific name
['glycogen synthase    L98347', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?c WHERE { resource:glycogen_synthase____L98347 property:found_in_taxon ?c . ?c rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102967
SYSTEM
Lactococcus lactis subsp. lactis Il1403
Q21102967
(Q23189093,P703,c(Q631147))
action filter_type
action find
entity Q23189093
relation P703
type Q631147
[ANSWER]
['Q23189093', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?c WHERE { resource:Q23189093 property:P703 ?c . ?c rdf:type ontology:Q631147 }
Lactococcus lactis subsp. lactis Il1403
Lactococcus lactis subsp. lactis Il1403
action filter_type
action find
entity glycogen synthase    L98347
relation found in taxon
type infraspecific name
['glycogen synthase    L98347', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?c WHERE { resource:glycogen_synthase____L98347 property:found_in_taxon ?c . ?c rdf:type ontology:infraspecific_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21102967 Q21985428
P703
Q181394
USER
Does Histone H1.5 specy belongs to the taxon that infraspecific name ?
(Q21985428,P703,Q21102967)
action is_in
entity Q21985428
action find
entity Q21102967
relation P703
['Q21985428', 'P703', 'Q21102967']
ASK WHERE { resource:Q21102967 property:P703 resource:Q21985428 }
Lactococcus lactis subsp. lactis Il1403 Histone H1.5
action is_in
entity Histone H1.5
action find
entity Lactococcus lactis subsp. lactis Il1403
relation found in taxon
['Histone H1.5', 'found in taxon', 'Lactococcus lactis subsp. lactis Il1403']
ASK WHERE { resource:Lactococcus_lactis_subsp._lactis_Il1403 property:found_in_taxon resource:Histone_H1.5 }
[]
nutrient
SYSTEM
NO
(Q21985428,P703,Q21102967)
action is_in
entity Q21985428
action find
entity Q21102967
relation P703
[ANSWER]
['Q21985428', 'P703', 'Q21102967']
ASK WHERE { resource:Q21102967 property:P703 resource:Q21985428 }
No
action is_in
entity Histone H1.5
action find
entity Lactococcus lactis subsp. lactis Il1403
relation found in taxon
['Histone H1.5', 'found in taxon', 'Lactococcus lactis subsp. lactis Il1403']
ASK WHERE { resource:Lactococcus_lactis_subsp._lactis_Il1403 property:found_in_taxon resource:Histone_H1.5 }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q79529 Q8386
USER
Which nutrients do approximately 40 chemical substances or drugs collaborate with ?
(c(Q79529)|c(Q8386),P129,c(Q181394))
action approx
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 40
[[{'concept': 'Q79529'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?s WHERE { { ?m property:P129 ?s . ?s rdf:type ontology:Q181394 . ?m rdf:type ontology:Q79529 } UNION { ?m property:P129 ?s . ?s rdf:type ontology:Q181394 . ?m rdf:type ontology:Q8386 } } GROUP BY ?s } . FILTER ( ?a = 40 ) }
action approx
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 40
[[{'concept': 'chemical substance'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?s WHERE { { ?m property:physically_interacts_with ?s . ?s rdf:type ontology:nutrient . ?m rdf:type ontology:chemical_substance } UNION { ?m property:physically_interacts_with ?s . ?s rdf:type ontology:nutrient . ?m rdf:type ontology:drug } } GROUP BY ?s } . FILTER ( ?a = 40 ) }
[]
nutrient chemical substance drug
Q5123372 Q21110872 Q8083989
SYSTEM
Mu-type opioid receptor, D(3) dopamine receptor, Kappa-type opioid receptor
Q287961 Q5123372 Q21115051 Q21115052 Q21109355 Q21110872 Q8083989
(c(Q79529)|c(Q8386),P129,c(Q181394))
action approx
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 40
[ANSWERS] approximately 40 chemical substances or drugs collaborate with
[[{'concept': 'Q79529'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?s WHERE { { ?m property:P129 ?s . ?s rdf:type ontology:Q181394 . ?m rdf:type ontology:Q79529 } UNION { ?m property:P129 ?s . ?s rdf:type ontology:Q181394 . ?m rdf:type ontology:Q8386 } } GROUP BY ?s } . FILTER ( ?a = 40 ) }
Beta-2 adrenergic receptor Mu-type opioid receptor 5-hydroxytryptamine receptor 1E 5-hydroxytryptamine receptor 1F 5-hydroxytryptamine receptor 7 D(3) dopamine receptor Kappa-type opioid receptor
Mu-type opioid receptor, D(3) dopamine receptor and Kappa-type opioid receptor approximately 40 chemical substances or drugs collaborate with
Mu-type opioid receptor D(3) dopamine receptor Kappa-type opioid receptor
action approx
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 40
[[{'concept': 'chemical substance'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?s WHERE { { ?m property:physically_interacts_with ?s . ?s rdf:type ontology:nutrient . ?m rdf:type ontology:chemical_substance } UNION { ?m property:physically_interacts_with ?s . ?s rdf:type ontology:nutrient . ?m rdf:type ontology:drug } } GROUP BY ?s } . FILTER ( ?a = 40 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8083989
P682
Q9332
USER
What is a biological process that that nutrient is involved in ?
(Q8083989,P682,c(Q9332))
action filter_type
action find
entity Q8083989
relation P682
type Q9332
['Q8083989', 'P682', {'concept': 'Q9332'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q9332 . resource:Q8083989 property:P682 ?k }
Kappa-type opioid receptor
action filter_type
action find
entity Kappa-type opioid receptor
relation biological process
type behavior
['Kappa-type opioid receptor', 'biological process', {'concept': 'behavior'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:behavior . resource:Kappa-type_opioid_receptor property:biological_process ?k }
[]
behavior
Clarification for simple ques.
Q8083989
SYSTEM
Did you mean Kappa-type opioid receptor ?
Q5123372 Q21110872 Q8083989
(Q5123372,P682,c(Q9332)) (Q21110872,P682,c(Q9332)) (Q8083989,P682,c(Q9332))
[ANSWER]
['Q5123372', 'P682', {'concept': 'Q9332'}] ['Q21110872', 'P682', {'concept': 'Q9332'}] ['Q8083989', 'P682', {'concept': 'Q9332'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q9332 . resource:Q8083989 property:P682 ?k }
Mu-type opioid receptor D(3) dopamine receptor Kappa-type opioid receptor
Did you mean Kappa-type opioid receptor ?
Kappa-type opioid receptor
['Mu-type opioid receptor', 'biological process', {'concept': 'behavior'}] ['D(3) dopamine receptor', 'biological process', {'concept': 'behavior'}] ['Kappa-type opioid receptor', 'biological process', {'concept': 'behavior'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:behavior . resource:Kappa-type_opioid_receptor property:biological_process ?k }
[]
Simple Question (Coreferenced)
USER
Yes
(Q8083989,P682,c(Q9332))
['Q8083989', 'P682', {'concept': 'Q9332'}]
['Kappa-type opioid receptor', 'biological process', {'concept': 'behavior'}]
[]
Q14820887
SYSTEM
eating behavior
Q14820887
(Q8083989,P682,c(Q9332))
action filter_type
action find
entity Q8083989
relation P682
type Q9332
A biological process that nutrient is involved in is the [ANSWER]
['Q8083989', 'P682', {'concept': 'Q9332'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q9332 . resource:Q8083989 property:P682 ?k }
eating behavior
A biological process that nutrient is involved in is the eating behavior
eating behavior
action filter_type
action find
entity Kappa-type opioid receptor
relation biological process
type behavior
['Kappa-type opioid receptor', 'biological process', {'concept': 'behavior'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:behavior . resource:Kappa-type_opioid_receptor property:biological_process ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22331381 Q23189093
P702
Q181394
USER
Which nutrients do glycogen synthase    L98347 or dTDP-6-deoxy-D-glucose-3,5-epimerase RmlC lpg0756 encode ?
OR((c(Q181394),P702,Q23189093), (c(Q181394),P702,Q22331381))
action filter_type
action union
action find_reverse
entity Q23189093
relation P702
action find_reverse
entity Q22331381
relation P702
type Q181394
{'OR': [[{'concept': 'Q181394'}, 'P702', 'Q23189093'], [{'concept': 'Q181394'}, 'P702', 'Q22331381']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q181394 . { { ?n property:P702 resource:Q23189093 } UNION { ?n property:P702 resource:Q22331381 } } }
dTDP-6-deoxy-D-glucose-3,5-epimerase RmlC lpg0756 glycogen synthase    L98347
action filter_type
action union
action find_reverse
entity glycogen synthase    L98347
relation encoded by
action find_reverse
entity dTDP-6-deoxy-D-glucose-3,5-epimerase RmlC lpg0756
relation encoded by
type nutrient
{'OR': [[{'concept': 'nutrient'}, 'encoded by', 'glycogen synthase    L98347'], [{'concept': 'nutrient'}, 'encoded by', 'dTDP-6-deoxy-D-glucose-3,5-epimerase RmlC lpg0756']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:nutrient . { { ?n property:encoded_by resource:glycogen_synthase____L98347 } UNION { ?n property:encoded_by resource:dTDP-6-deoxy-D-glucose-3,5-epimerase_RmlC_lpg0756 } } }
[]
nutrient
Q23508435 Q22334462
SYSTEM
glycogen synthase    L98347, dTDP-6-deoxy-D-glucose-3,5-epimerase RmlC    lpg0756
Q23508435 Q22334462
OR((c(Q181394),P702,Q23189093), (c(Q181394),P702,Q22331381))
action filter_type
action union
action find_reverse
entity Q23189093
relation P702
action find_reverse
entity Q22331381
relation P702
type Q181394
[ANSWERS]
{'OR': [[{'concept': 'Q181394'}, 'P702', 'Q23189093'], [{'concept': 'Q181394'}, 'P702', 'Q22331381']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q181394 . { { ?n property:P702 resource:Q23189093 } UNION { ?n property:P702 resource:Q22331381 } } }
glycogen synthase    L98347 dTDP-6-deoxy-D-glucose-3,5-epimerase RmlC    lpg0756
Glycogen synthase L98347 and dTDP-6-deoxy-D-glucose-3,5-epimerase RmlC lpg0756 do glycogen synthase L98347 or dTDP-6-deoxy-D-glucose-3,5-epimerase RmlC lpg0756 encode
glycogen synthase    L98347 dTDP-6-deoxy-D-glucose-3,5-epimerase RmlC    lpg0756
action filter_type
action union
action find_reverse
entity glycogen synthase    L98347
relation encoded by
action find_reverse
entity dTDP-6-deoxy-D-glucose-3,5-epimerase RmlC lpg0756
relation encoded by
type nutrient
{'OR': [[{'concept': 'nutrient'}, 'encoded by', 'glycogen synthase    L98347'], [{'concept': 'nutrient'}, 'encoded by', 'dTDP-6-deoxy-D-glucose-3,5-epimerase RmlC lpg0756']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:nutrient . { { ?n property:encoded_by resource:glycogen_synthase____L98347 } UNION { ?n property:encoded_by resource:dTDP-6-deoxy-D-glucose-3,5-epimerase_RmlC_lpg0756 } } }
[]