Simple Question (Direct)
Simple Question
Q21122438
P703
Q16521
USER
Where is Homeobox protein OTX2 found ?
(Q21122438,P703,c(Q16521))
action filter_type
action find
entity Q21122438
relation P703
type Q16521
['Q21122438', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?c WHERE { resource:Q21122438 property:P703 ?c . ?c rdf:type ontology:Q16521 }
Homeobox protein OTX2
action filter_type
action find
entity Homeobox protein OTX2
relation found in taxon
type taxon
['Homeobox protein OTX2', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?c WHERE { resource:Homeobox_protein_OTX2 property:found_in_taxon ?c . ?c rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21122438,P703,c(Q16521))
action filter_type
action find
entity Q21122438
relation P703
type Q16521
Homeobox protein OTX2 is found in [ANSWER]
['Q21122438', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?c WHERE { resource:Q21122438 property:P703 ?c . ?c rdf:type ontology:Q16521 }
Homo sapiens
Homeobox protein OTX2 is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Homeobox protein OTX2
relation found in taxon
type taxon
['Homeobox protein OTX2', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?c WHERE { resource:Homeobox_protein_OTX2 property:found_in_taxon ?c . ?c rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21122438
P681
Q5058355
USER
What is a component of that nutrient ?
(Q15978631,P681,c(Q5058355))
action filter_type
action find
entity Q21122438
relation P681
type Q5058355
['Q15978631', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?q WHERE { resource:Q21122438 property:P681 ?q . ?q rdf:type ontology:Q5058355 }
Homeobox protein OTX2
action filter_type
action find
entity Homeobox protein OTX2
relation cell component
type cellular component
['Homo sapiens', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?q WHERE { resource:Homeobox_protein_OTX2 property:cell_component ?q . ?q rdf:type ontology:cellular_component }
[]
cellular component
Q420927
SYSTEM
protein complex
Q420927
(Q15978631,P681,c(Q5058355))
action filter_type
action find
entity Q21122438
relation P681
type Q5058355
A component of that nutrient is the [ANSWER]
['Q15978631', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?q WHERE { resource:Q21122438 property:P681 ?q . ?q rdf:type ontology:Q5058355 }
protein complex
A component of that nutrient is the protein complex
protein complex
action filter_type
action find
entity Homeobox protein OTX2
relation cell component
type cellular component
['Homo sapiens', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?q WHERE { resource:Homeobox_protein_OTX2 property:cell_component ?q . ?q rdf:type ontology:cellular_component }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21122438
P688
Q863908
USER
Which nucleic acid sequence encodes Homeobox protein OTX2 ?
(c(Q863908),P688,Q21122438)
action filter_type
action find_reverse
entity Q21122438
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21122438']
SELECT DISTINCT ?b WHERE { ?b property:P688 resource:Q21122438 . ?b rdf:type ontology:Q863908 }
Homeobox protein OTX2
action filter_type
action find_reverse
entity Homeobox protein OTX2
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Homeobox protein OTX2']
SELECT DISTINCT ?b WHERE { ?b property:encodes resource:Homeobox_protein_OTX2 . ?b rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18030309
SYSTEM
OTX2
Q18030309
(c(Q863908),P688,Q21122438)
action filter_type
action find_reverse
entity Q21122438
relation P688
type Q863908
[ANSWER] encodes Homeobox protein [ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q21122438']
SELECT DISTINCT ?b WHERE { ?b property:P688 resource:Q21122438 . ?b rdf:type ontology:Q863908 }
OTX2
OTX2 encodes Homeobox protein OTX2
OTX2
action filter_type
action find_reverse
entity Homeobox protein OTX2
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Homeobox protein OTX2']
SELECT DISTINCT ?b WHERE { ?b property:encodes resource:Homeobox_protein_OTX2 . ?b rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18030309
P684
Q863908
USER
Which nucleic acid sequence is an orthologous gene for that one ?
(Q18030309,P684,c(Q863908))
action filter_type
action find
entity Q18030309
relation P684
type Q863908
['Q18030309', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?i WHERE { resource:Q18030309 property:P684 ?i . ?i rdf:type ontology:Q863908 }
OTX2
action filter_type
action find
entity OTX2
relation ortholog
type nucleic acid sequence
['OTX2', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?i WHERE { resource:OTX2 property:ortholog ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18252860
SYSTEM
Otx2
Q18252860
(Q18030309,P684,c(Q863908))
action filter_type
action find
entity Q18030309
relation P684
type Q863908
[ANSWER] is an orthologous gene for that one
['Q18030309', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?i WHERE { resource:Q18030309 property:P684 ?i . ?i rdf:type ontology:Q863908 }
Otx2
Otx2 is an orthologous gene for that one
Otx2
action filter_type
action find
entity OTX2
relation ortholog
type nucleic acid sequence
['OTX2', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?i WHERE { resource:OTX2 property:ortholog ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q18252860 Q23420633 Q21985186
P688
Q181394
USER
Does that nucleic acid sequence encodes hypothetical protein    SF2189 and Homeobox protein OTX2 ?
(Q18252860,P688,Q23420633) (Q18252860,P688,Q21985186)
action is_in
entity Q18252860
action intersection
action find_reverse
entity Q23420633
relation P688
action find_reverse
entity Q21985186
relation P688
['Q18252860', 'P688', 'Q23420633'] ['Q18252860', 'P688', 'Q21985186']
ASK WHERE { resource:Q18252860 property:P688 resource:Q23420633 . resource:Q18252860 property:P688 resource:Q21985186 }
Otx2 hypothetical protein    SF2189 Homeobox protein OTX2
action is_in
entity Otx2
action intersection
action find_reverse
entity hypothetical protein    SF2189
relation encodes
action find_reverse
entity Homeobox protein OTX2
relation encodes
['Otx2', 'encodes', 'hypothetical protein    SF2189'] ['Otx2', 'encodes', 'Homeobox protein OTX2']
ASK WHERE { resource:Otx2 property:encodes resource:hypothetical_protein____SF2189 . resource:Otx2 property:encodes resource:Homeobox_protein_OTX2 }
[]
nutrient
SYSTEM
NO and YES respectively
(Q18252860,P688,Q23420633) (Q18252860,P688,Q21985186)
action is_in
entity Q18252860
action intersection
action find_reverse
entity Q23420633
relation P688
action find_reverse
entity Q21985186
relation P688
[ANSWER]
['Q18252860', 'P688', 'Q23420633'] ['Q18252860', 'P688', 'Q21985186']
ASK WHERE { resource:Q18252860 property:P688 resource:Q23420633 . resource:Q18252860 property:P688 resource:Q21985186 }
NO and YES respectively
action is_in
entity Otx2
action intersection
action find_reverse
entity hypothetical protein    SF2189
relation encodes
action find_reverse
entity Homeobox protein OTX2
relation encodes
['Otx2', 'encodes', 'hypothetical protein    SF2189'] ['Otx2', 'encodes', 'Homeobox protein OTX2']
ASK WHERE { resource:Otx2 property:encodes resource:hypothetical_protein____SF2189 . resource:Otx2 property:encodes resource:Homeobox_protein_OTX2 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18252860
P702
Q181394
USER
Which nutrient is encoded by Otx2 ?
(c(Q181394),P702,Q18252860)
action filter_type
action find_reverse
entity Q18252860
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q18252860']
SELECT DISTINCT ?s WHERE { ?s property:P702 resource:Q18252860 . ?s rdf:type ontology:Q181394 }
Otx2
action filter_type
action find_reverse
entity Otx2
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'Otx2']
SELECT DISTINCT ?s WHERE { ?s property:encoded_by resource:Otx2 . ?s rdf:type ontology:nutrient }
[]
nutrient
Q21985186
SYSTEM
Homeobox protein OTX2
Q21985186
(c(Q181394),P702,Q18252860)
action filter_type
action find_reverse
entity Q18252860
relation P702
type Q181394
[ANSWER] is encoded by Otx2
[{'concept': 'Q181394'}, 'P702', 'Q18252860']
SELECT DISTINCT ?s WHERE { ?s property:P702 resource:Q18252860 . ?s rdf:type ontology:Q181394 }
Homeobox protein OTX2
Homeobox protein OTX2 is encoded by Otx2
Homeobox protein OTX2
action filter_type
action find_reverse
entity Otx2
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'Otx2']
SELECT DISTINCT ?s WHERE { ?s property:encoded_by resource:Otx2 . ?s rdf:type ontology:nutrient }
[]
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 21 nutrients and drugs interact 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 21
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { FILTER ( ?f = 21 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?i WHERE { { ?i rdf:type ontology:Q181394 . ?b rdf:type ontology:Q181394 . ?b property:P129 ?i } UNION { ?b property:P129 ?i . ?i rdf:type ontology:Q181394 . ?b rdf:type ontology:Q8386 } } GROUP BY ?i } }
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 21
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { FILTER ( ?f = 21 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?i WHERE { { ?i rdf:type ontology:nutrient . ?b rdf:type ontology:nutrient . ?b property:physically_interacts_with ?i } UNION { ?b property:physically_interacts_with ?i . ?i rdf:type ontology:nutrient . ?b rdf:type ontology:drug } } GROUP BY ?i } }
[]
nutrient nutrient drug
SYSTEM
4
Q5123372 Q21109355 Q4734894 Q4734891
(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 21
[ANSWER]
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { FILTER ( ?f = 21 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?i WHERE { { ?i rdf:type ontology:Q181394 . ?b rdf:type ontology:Q181394 . ?b property:P129 ?i } UNION { ?b property:P129 ?i . ?i rdf:type ontology:Q181394 . ?b rdf:type ontology:Q8386 } } GROUP BY ?i } }
Mu-type opioid receptor 5-hydroxytryptamine receptor 7 Alpha-2B adrenergic receptor Alpha-2C adrenergic receptor
4
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 21
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { FILTER ( ?f = 21 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) ?i WHERE { { ?i rdf:type ontology:nutrient . ?b rdf:type ontology:nutrient . ?b property:physically_interacts_with ?i } UNION { ?b property:physically_interacts_with ?i . ?i rdf:type ontology:nutrient . ?b rdf:type ontology:drug } } GROUP BY ?i } }
[]