Simple Question (Direct)
Simple Question
Q21106111
P703
Q16521
USER
Which taxon is Protein FEV found in ?
(Q21106111,P703,c(Q16521))
action filter_type
action find
entity Q21106111
relation P703
type Q16521
['Q21106111', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?r WHERE { resource:Q21106111 property:P703 ?r . ?r rdf:type ontology:Q16521 }
Protein FEV
action filter_type
action find
entity Protein FEV
relation found in taxon
type taxon
['Protein FEV', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?r WHERE { resource:Protein_FEV property:found_in_taxon ?r . ?r rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21106111,P703,c(Q16521))
action filter_type
action find
entity Q21106111
relation P703
type Q16521
Protein FEV is found in [ANSWER]
['Q21106111', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?r WHERE { resource:Q21106111 property:P703 ?r . ?r rdf:type ontology:Q16521 }
Homo sapiens
Protein FEV is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Protein FEV
relation found in taxon
type taxon
['Protein FEV', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?r WHERE { resource:Protein_FEV property:found_in_taxon ?r . ?r rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21106111
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q15978631)
action filter_type
action find_reverse
entity Q21106111
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q15978631']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q863908 . ?i property:P688 resource:Q21106111 }
Protein FEV
action filter_type
action find_reverse
entity Protein FEV
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Homo sapiens']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:nucleic_acid_sequence . ?i property:encodes resource:Protein_FEV }
[]
nucleic acid sequence
Q18041220
SYSTEM
FEV
Q18041220
(c(Q863908),P688,Q15978631)
action filter_type
action find_reverse
entity Q21106111
relation P688
type Q863908
[ANSWER] encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q15978631']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q863908 . ?i property:P688 resource:Q21106111 }
FEV
FEV encodes that nutrient
FEV
action filter_type
action find_reverse
entity Protein FEV
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Homo sapiens']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:nucleic_acid_sequence . ?i property:encodes resource:Protein_FEV }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q181394 Q8386
USER
Which nutrients do around 38 nutrients or drugs interact with ?
(c(Q181394)|c(Q8386),P129,c(Q181394))
action approx
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 38
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?u = 38 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?w WHERE { { ?w rdf:type ontology:Q181394 . ?z rdf:type ontology:Q181394 . ?z property:P129 ?w } UNION { ?z property:P129 ?w . ?w rdf:type ontology:Q181394 . ?z rdf:type ontology:Q8386 } } GROUP BY ?w } }
action approx
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 38
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?u = 38 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?w WHERE { { ?w rdf:type ontology:nutrient . ?z rdf:type ontology:nutrient . ?z property:physically_interacts_with ?w } UNION { ?z property:physically_interacts_with ?w . ?w rdf:type ontology:nutrient . ?z rdf:type ontology:drug } } GROUP BY ?w } }
[]
nutrient nutrient drug
Q2034004 Q21108118 Q21115043
SYSTEM
D(2) dopamine receptor, 5-hydroxytryptamine receptor 2C, 5-hydroxytryptamine receptor 1A
Q309513 Q21108118 Q21115043 Q2034004
(c(Q181394)|c(Q8386),P129,c(Q181394))
action approx
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 38
[ANSWERS]
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?u = 38 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?w WHERE { { ?w rdf:type ontology:Q181394 . ?z rdf:type ontology:Q181394 . ?z property:P129 ?w } UNION { ?z property:P129 ?w . ?w rdf:type ontology:Q181394 . ?z rdf:type ontology:Q8386 } } GROUP BY ?w } }
Histamine H1 receptor 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A D(2) dopamine receptor
Which nutrients around 38 nutrients or drugs interact with
D(2) dopamine receptor 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A
action approx
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 38
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?u = 38 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?w WHERE { { ?w rdf:type ontology:nutrient . ?z rdf:type ontology:nutrient . ?z property:physically_interacts_with ?w } UNION { ?z property:physically_interacts_with ?w . ?w rdf:type ontology:nutrient . ?z rdf:type ontology:drug } } GROUP BY ?w } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5026909
P129
Q8386
USER
Does camostat can interact with those nutrients ?
(Q5026909,P129,Q2034004) (Q5026909,P129,Q21108118) (Q5026909,P129,Q21115043)
action is_in
entity prev_answer
action find
entity Q5026909
relation P129
['Q5026909', 'P129', 'Q2034004'] ['Q5026909', 'P129', 'Q21108118'] ['Q5026909', 'P129', 'Q21115043']
ASK WHERE { resource:Q5026909 property:P129 ?q . VALUES ( ?q ) { ( resource:Q309513 ) ( resource:Q21108118 ) ( resource:Q21115043 ) } }
camostat
action is_in
entity prev_answer
action find
entity camostat
relation physically interacts with
['camostat', 'physically interacts with', 'D(2) dopamine receptor'] ['camostat', 'physically interacts with', '5-hydroxytryptamine receptor 2C'] ['camostat', 'physically interacts with', '5-hydroxytryptamine receptor 1A']
ASK WHERE { resource:camostat property:physically_interacts_with ?q . VALUES ( ?q ) { ( resource:Histamine_H1_receptor ) ( resource:5-hydroxytryptamine_receptor_2C ) ( resource:5-hydroxytryptamine_receptor_1A ) } }
[]
drug
SYSTEM
NO
(Q5026909,P129,Q2034004) (Q5026909,P129,Q21108118) (Q5026909,P129,Q21115043)
action is_in
entity prev_answer
action find
entity Q5026909
relation P129
[ANSWER]
['Q5026909', 'P129', 'Q2034004'] ['Q5026909', 'P129', 'Q21108118'] ['Q5026909', 'P129', 'Q21115043']
ASK WHERE { resource:Q5026909 property:P129 ?q . VALUES ( ?q ) { ( resource:Q309513 ) ( resource:Q21108118 ) ( resource:Q21115043 ) } }
No
action is_in
entity prev_answer
action find
entity camostat
relation physically interacts with
['camostat', 'physically interacts with', 'D(2) dopamine receptor'] ['camostat', 'physically interacts with', '5-hydroxytryptamine receptor 2C'] ['camostat', 'physically interacts with', '5-hydroxytryptamine receptor 1A']
ASK WHERE { resource:camostat property:physically_interacts_with ?q . VALUES ( ?q ) { ( resource:Histamine_H1_receptor ) ( resource:5-hydroxytryptamine_receptor_2C ) ( resource:5-hydroxytryptamine_receptor_1A ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18041220
P684
Q863908
USER
Which nucleic acid sequence is FEV an orthlogous gene of ?
(c(Q863908),P684,Q18041220)
action filter_type
action find
entity Q18041220
relation P684
type Q863908
[{'concept': 'Q863908'}, 'P684', 'Q18041220']
SELECT DISTINCT ?s WHERE { resource:Q18041220 property:P684 ?s . ?s rdf:type ontology:Q863908 }
FEV
action filter_type
action find
entity FEV
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'FEV']
SELECT DISTINCT ?s WHERE { resource:FEV property:ortholog ?s . ?s rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18300763
SYSTEM
Fev
Q18300763
(c(Q863908),P684,Q18041220)
action filter_type
action find
entity Q18041220
relation P684
type Q863908
[ANSWER] is FEV an orthlogous gene of
[{'concept': 'Q863908'}, 'P684', 'Q18041220']
SELECT DISTINCT ?s WHERE { resource:Q18041220 property:P684 ?s . ?s rdf:type ontology:Q863908 }
Fev
Fev is FEV an orthlogous gene of
Fev
action filter_type
action find
entity FEV
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'FEV']
SELECT DISTINCT ?s WHERE { resource:FEV property:ortholog ?s . ?s rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q18300763 Q21985338
P702
Q181394
USER
Is Protein FEV encoded by that nucleic acid sequence ?
(Q21985338,P702,Q18300763)
action is_in
entity Q18300763
action find
entity Q21985338
relation P702
['Q21985338', 'P702', 'Q18300763']
ASK WHERE { resource:Q21985338 property:P702 resource:Q18300763 }
Fev Protein FEV
action is_in
entity Fev
action find
entity Protein FEV
relation encoded by
['Protein FEV', 'encoded by', 'Fev']
ASK WHERE { resource:Protein_FEV property:encoded_by resource:Fev }
[]
nutrient
SYSTEM
YES
(Q21985338,P702,Q18300763)
action is_in
entity Q18300763
action find
entity Q21985338
relation P702
[ANSWER]
['Q21985338', 'P702', 'Q18300763']
ASK WHERE { resource:Q21985338 property:P702 resource:Q18300763 }
Yes
action is_in
entity Fev
action find
entity Protein FEV
relation encoded by
['Protein FEV', 'encoded by', 'Fev']
ASK WHERE { resource:Protein_FEV property:encoded_by resource:Fev }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q15978631 Q18041220
P703 P702
Q181394
USER
Which nutrients do FEV encode and are found in the taxon Homo sapiens ?
AND((c(Q181394),P702,Q18041220), (c(Q181394),P703,Q15978631))
action filter_type
action intersection
action find_reverse
entity Q18041220
relation P702
action find_reverse
entity Q15978631
relation P703
type Q181394
{'AND': [[{'concept': 'Q181394'}, 'P702', 'Q18041220'], [{'concept': 'Q181394'}, 'P703', 'Q15978631']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q181394 . ?r property:P702 resource:Q18041220 . ?r property:P703 resource:Q15978631 }
Homo sapiens FEV
action filter_type
action intersection
action find_reverse
entity FEV
relation encoded by
action find_reverse
entity Homo sapiens
relation found in taxon
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'encoded by', 'FEV'], [{'concept': 'nutrient'}, 'found in taxon', 'Homo sapiens']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:nutrient . ?r property:encoded_by resource:FEV . ?r property:found_in_taxon resource:Homo_sapiens }
[]
nutrient
Q21106111
SYSTEM
Protein FEV
Q21106111
AND((c(Q181394),P702,Q18041220), (c(Q181394),P703,Q15978631))
action filter_type
action intersection
action find_reverse
entity Q18041220
relation P702
action find_reverse
entity Q15978631
relation P703
type Q181394
FEV encode d [ANSWER]
{'AND': [[{'concept': 'Q181394'}, 'P702', 'Q18041220'], [{'concept': 'Q181394'}, 'P703', 'Q15978631']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q181394 . ?r property:P702 resource:Q18041220 . ?r property:P703 resource:Q15978631 }
Protein FEV
FEV encode d Protein FEV
Protein FEV
action filter_type
action intersection
action find_reverse
entity FEV
relation encoded by
action find_reverse
entity Homo sapiens
relation found in taxon
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'encoded by', 'FEV'], [{'concept': 'nutrient'}, 'found in taxon', 'Homo sapiens']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:nutrient . ?r property:encoded_by resource:FEV . ?r property:found_in_taxon resource:Homo_sapiens }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P702
Q863908
USER
How many nucleic acid sequences encode that nutrient ?
(Q21106111,P702,c(Q863908))
action count
action filter_type
action find
entity Q21106111
relation P702
type Q863908
['Q21106111', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q21106111 property:P702 ?q . ?q rdf:type ontology:Q863908 }
action count
action filter_type
action find
entity Protein FEV
relation encoded by
type nucleic acid sequence
['Protein FEV', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Protein_FEV property:encoded_by ?q . ?q rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q18041220
(Q21106111,P702,c(Q863908))
action count
action filter_type
action find
entity Q21106111
relation P702
type Q863908
[ANSWER]
['Q21106111', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q21106111 property:P702 ?q . ?q rdf:type ontology:Q863908 }
FEV
1
action count
action filter_type
action find
entity Protein FEV
relation encoded by
type nucleic acid sequence
['Protein FEV', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Protein_FEV property:encoded_by ?q . ?q rdf:type ontology:nucleic_acid_sequence }
[]