Simple Question (Direct)
Simple Question
Q24096799
P681
Q5058355
USER
What is a component of hypothetical protein    Psyr_3355 ?
(Q24096799,P681,c(Q5058355))
action filter_type
action find
entity Q24096799
relation P681
type Q5058355
['Q24096799', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?r WHERE { resource:Q24096799 property:P681 ?r . ?r rdf:type ontology:Q5058355 }
hypothetical protein    Psyr_3355
action filter_type
action find
entity hypothetical protein    Psyr_3355
relation cell component
type cellular component
['hypothetical protein    Psyr_3355', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?r WHERE { resource:hypothetical_protein____Psyr_3355 property:cell_component ?r . ?r rdf:type ontology:cellular_component }
[]
cellular component
Q3824358
SYSTEM
intracellular
Q3824358
(Q24096799,P681,c(Q5058355))
action filter_type
action find
entity Q24096799
relation P681
type Q5058355
A component of hypothetical protein Psyr_3355 is an [ANSWER]
['Q24096799', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?r WHERE { resource:Q24096799 property:P681 ?r . ?r rdf:type ontology:Q5058355 }
intracellular
A component of hypothetical protein Psyr_3355 is an intracellular
intracellular
action filter_type
action find
entity hypothetical protein    Psyr_3355
relation cell component
type cellular component
['hypothetical protein    Psyr_3355', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?r WHERE { resource:hypothetical_protein____Psyr_3355 property:cell_component ?r . ?r rdf:type ontology:cellular_component }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24096799
P688
Q863908
USER
What is the nucleic acid sequence that is encoded by hypothetical protein    Psyr_3355 ?
(c(Q863908),P688,Q24096799)
action filter_type
action find_reverse
entity Q24096799
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q24096799']
SELECT DISTINCT ?i WHERE { ?i property:P688 resource:Q24096799 . ?i rdf:type ontology:Q863908 }
hypothetical protein    Psyr_3355
action filter_type
action find_reverse
entity hypothetical protein    Psyr_3355
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'hypothetical protein    Psyr_3355']
SELECT DISTINCT ?i WHERE { ?i property:encodes resource:hypothetical_protein____Psyr_3355 . ?i rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23155135
SYSTEM
hypothetical protein    Psyr_3355
Q23155135
(c(Q863908),P688,Q24096799)
action filter_type
action find_reverse
entity Q24096799
relation P688
type Q863908
The nucleic acid sequence that is encoded by hypothetical protein Psyr_3355 is by hypothetical protein Psyr 3355
[{'concept': 'Q863908'}, 'P688', 'Q24096799']
SELECT DISTINCT ?i WHERE { ?i property:P688 resource:Q24096799 . ?i rdf:type ontology:Q863908 }
hypothetical protein    Psyr_3355
The nucleic acid sequence that is encoded by hypothetical protein Psyr_3355 is by hypothetical protein Psyr 3355
hypothetical protein    Psyr_3355
action filter_type
action find_reverse
entity hypothetical protein    Psyr_3355
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'hypothetical protein    Psyr_3355']
SELECT DISTINCT ?i WHERE { ?i property:encodes resource:hypothetical_protein____Psyr_3355 . ?i rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23155135
P703
Q631147
USER
Which taxon is that nucleic acid sequence a part of ?
(Q23155135,P703,c(Q631147))
action filter_type
action find
entity Q23155135
relation P703
type Q631147
['Q23155135', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q631147 . resource:Q23155135 property:P703 ?a }
hypothetical protein    Psyr_3355
action filter_type
action find
entity hypothetical protein    Psyr_3355
relation found in taxon
type infraspecific name
['hypothetical protein    Psyr_3355', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:infraspecific_name . resource:hypothetical_protein____Psyr_3355 property:found_in_taxon ?a }
[]
infraspecific name
Q21079490
SYSTEM
Pseudomonas syringae pv. syringae B728a
Q21079490
(Q23155135,P703,c(Q631147))
action filter_type
action find
entity Q23155135
relation P703
type Q631147
[ANSWER] is that nucleic acid sequence a part of
['Q23155135', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q631147 . resource:Q23155135 property:P703 ?a }
Pseudomonas syringae pv. syringae B728a
Pseudomonas syringae pv. syringae B728a is that nucleic acid sequence a part of
Pseudomonas syringae pv. syringae B728a
action filter_type
action find
entity hypothetical protein    Psyr_3355
relation found in taxon
type infraspecific name
['hypothetical protein    Psyr_3355', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:infraspecific_name . resource:hypothetical_protein____Psyr_3355 property:found_in_taxon ?a }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q181394 Q8386
USER
Which nutrients do atleast 36 nutrients or drugs interact with ?
(c(Q181394)|c(Q8386),P129,c(Q181394))
action atleast
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 36
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?s WHERE { { ?s rdf:type ontology:Q181394 . ?c rdf:type ontology:Q181394 . ?c property:P129 ?s } UNION { ?c property:P129 ?s . ?c rdf:type ontology:Q8386 . ?s rdf:type ontology:Q181394 } } GROUP BY ?s } . FILTER ( ?r >= 36 ) }
action atleast
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 36
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?s WHERE { { ?s rdf:type ontology:nutrient . ?c rdf:type ontology:nutrient . ?c property:physically_interacts_with ?s } UNION { ?c property:physically_interacts_with ?s . ?c rdf:type ontology:drug . ?s rdf:type ontology:nutrient } } GROUP BY ?s } . FILTER ( ?r >= 36 ) }
[]
nutrient nutrient drug
Q2034004 Q1949517 Q21115043
SYSTEM
D(2) dopamine receptor, 5-hydroxytryptamine receptor 2A, 5-hydroxytryptamine receptor 1A
Q309513 Q21115043 Q1949517 Q2034004
(c(Q181394)|c(Q8386),P129,c(Q181394))
action atleast
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 36
Atleast 36 nutrients or drugs interact with [ANSWERS]
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?s WHERE { { ?s rdf:type ontology:Q181394 . ?c rdf:type ontology:Q181394 . ?c property:P129 ?s } UNION { ?c property:P129 ?s . ?c rdf:type ontology:Q8386 . ?s rdf:type ontology:Q181394 } } GROUP BY ?s } . FILTER ( ?r >= 36 ) }
Histamine H1 receptor 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A D(2) dopamine receptor
Atleast 36 nutrients or drugs interact with D(2) dopamine receptor, 5-hydroxytryptamine receptor 2A and 5-hydroxytryptamine receptor 1A
D(2) dopamine receptor 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 1A
action atleast
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 36
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?s WHERE { { ?s rdf:type ontology:nutrient . ?c rdf:type ontology:nutrient . ?c property:physically_interacts_with ?s } UNION { ?c property:physically_interacts_with ?s . ?c rdf:type ontology:drug . ?s rdf:type ontology:nutrient } } GROUP BY ?s } . FILTER ( ?r >= 36 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6821618
P129
Q8386
USER
Does mesoridazine can interact with those nutrients ?
(Q6821618,P129,Q2034004) (Q6821618,P129,Q1949517) (Q6821618,P129,Q21115043)
action is_in
entity prev_answer
action find
entity Q6821618
relation P129
['Q6821618', 'P129', 'Q2034004'] ['Q6821618', 'P129', 'Q1949517'] ['Q6821618', 'P129', 'Q21115043']
ASK WHERE { VALUES ( ?e ) { ( resource:Q309513 ) ( resource:Q21115043 ) ( resource:Q1949517 ) } . resource:Q6821618 property:P129 ?e }
mesoridazine
action is_in
entity prev_answer
action find
entity mesoridazine
relation physically interacts with
['mesoridazine', 'physically interacts with', 'D(2) dopamine receptor'] ['mesoridazine', 'physically interacts with', '5-hydroxytryptamine receptor 2A'] ['mesoridazine', 'physically interacts with', '5-hydroxytryptamine receptor 1A']
ASK WHERE { VALUES ( ?e ) { ( resource:Histamine_H1_receptor ) ( resource:5-hydroxytryptamine_receptor_1A ) ( resource:5-hydroxytryptamine_receptor_2A ) } . resource:mesoridazine property:physically_interacts_with ?e }
[]
drug
SYSTEM
YES
(Q6821618,P129,Q2034004) (Q6821618,P129,Q1949517) (Q6821618,P129,Q21115043)
action is_in
entity prev_answer
action find
entity Q6821618
relation P129
[ANSWER]
['Q6821618', 'P129', 'Q2034004'] ['Q6821618', 'P129', 'Q1949517'] ['Q6821618', 'P129', 'Q21115043']
ASK WHERE { VALUES ( ?e ) { ( resource:Q309513 ) ( resource:Q21115043 ) ( resource:Q1949517 ) } . resource:Q6821618 property:P129 ?e }
Yes
action is_in
entity prev_answer
action find
entity mesoridazine
relation physically interacts with
['mesoridazine', 'physically interacts with', 'D(2) dopamine receptor'] ['mesoridazine', 'physically interacts with', '5-hydroxytryptamine receptor 2A'] ['mesoridazine', 'physically interacts with', '5-hydroxytryptamine receptor 1A']
ASK WHERE { VALUES ( ?e ) { ( resource:Histamine_H1_receptor ) ( resource:5-hydroxytryptamine_receptor_1A ) ( resource:5-hydroxytryptamine_receptor_2A ) } . resource:mesoridazine property:physically_interacts_with ?e }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5201183 Q1949517
P129
Q79529
USER
Which chemical substances contact 5-hydroxytryptamine receptor 2A or Cystathionine beta-synthase ?
OR((c(Q79529),P129,Q1949517), (c(Q79529),P129,Q5201183))
action filter_type
action union
action find_reverse
entity Q1949517
relation P129
action find_reverse
entity Q5201183
relation P129
type Q79529
{'OR': [[{'concept': 'Q79529'}, 'P129', 'Q1949517'], [{'concept': 'Q79529'}, 'P129', 'Q5201183']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q79529 . { VALUES ( ?z ) { ( resource:Q1949517 ) ( resource:Q5201183 ) } . ?g property:P129 ?z } }
Cystathionine beta-synthase 5-hydroxytryptamine receptor 2A
action filter_type
action union
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
action find_reverse
entity Cystathionine beta-synthase
relation physically interacts with
type chemical substance
{'OR': [[{'concept': 'chemical substance'}, 'physically interacts with', '5-hydroxytryptamine receptor 2A'], [{'concept': 'chemical substance'}, 'physically interacts with', 'Cystathionine beta-synthase']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:chemical_substance . { VALUES ( ?z ) { ( resource:5-hydroxytryptamine_receptor_2A ) ( resource:Cystathionine_beta-synthase ) } . ?g property:physically_interacts_with ?z } }
[]
chemical substance
Q6456080 Q7906743 Q7277958 Q3937260 Q5002336 Q44814 Q415997 Q7277678 Q6823517 Q15409398
SYSTEM
Some of them are L-741,626, VER-3323, RU 24969, ritanserin, (+)-butaclamol, SDZ SER-082, Ketanserin, RS-102221, metergoline, LY215840
Q7940202 Q5514387 Q7906743 Q253187 Q855468 Q7372445 Q44814 Q4352011 Q15409398 Q4734914 Q7101734 Q7577785 Q6822173 Q6456080 Q15124168 Q5002336 Q286112 Q6823517 Q7194603 Q3937260 Q5567525 Q167934 Q15410189 Q7277958 Q408915 Q209251 Q4746466 Q419405 Q8042940 Q19597008 Q409439 Q44804 Q7388907 Q4836376 Q7101741 Q7388908 Q4836835 Q7277678 Q4639580 Q4652228 Q7388905 Q5010989 Q209241 Q855386 Q415997 Q7272557
OR((c(Q79529),P129,Q1949517), (c(Q79529),P129,Q5201183))
action filter_type
action union
action find_reverse
entity Q1949517
relation P129
action find_reverse
entity Q5201183
relation P129
type Q79529
[ANSWERS] contact 5-hydroxytryptamine receptor 2A or Cystathionine beta-synthase
{'OR': [[{'concept': 'Q79529'}, 'P129', 'Q1949517'], [{'concept': 'Q79529'}, 'P129', 'Q5201183']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q79529 . { VALUES ( ?z ) { ( resource:Q1949517 ) ( resource:Q5201183 ) } . ?g property:P129 ?z } }
volinanserin GR 127935 VER-3323 quinpirole LP-44 roxindole SDZ SER-082 5-MeOT LY215840 α-methyl-5-HT Org 12962 spiramide mesulergine L-741,626 MK-212 (+)-butaclamol Meta-Chlorophenylpiperazine metergoline pimavanserin ritanserin glemanserin 5-hydroxytryptamine SB 243213 RU 24969 bufotenine DOI aminooxyacetic acid TFMPP xanomeline donitriptan tryptamine RS-127445 SB 216641 BRL-15572 ORG-37684 SB 242084 BW723C86 RS-102221 5-CT AL-37350A SB 206553 CGS-12066 brolamfetamine LP-12 Ketanserin quipazine
L-741,626, VER-3323, RU 24969, ritanserin, (+)-butaclamol, SDZ SER-082, Ketanserin, RS-102221, metergoline and LY215840 contact 5-hydroxytryptamine receptor 2A or Cystathionine beta-synthase
L-741,626 VER-3323 RU 24969 ritanserin (+)-butaclamol SDZ SER-082 Ketanserin RS-102221 metergoline LY215840
action filter_type
action union
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
action find_reverse
entity Cystathionine beta-synthase
relation physically interacts with
type chemical substance
{'OR': [[{'concept': 'chemical substance'}, 'physically interacts with', '5-hydroxytryptamine receptor 2A'], [{'concept': 'chemical substance'}, 'physically interacts with', 'Cystathionine beta-synthase']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:chemical_substance . { VALUES ( ?z ) { ( resource:5-hydroxytryptamine_receptor_2A ) ( resource:Cystathionine_beta-synthase ) } . ?g property:physically_interacts_with ?z } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q79899 Q7906743
P681 P129
Q181394
USER
Which nutrients can interact with VER-3323 and have cytoplasm as cell component ?
AND((c(Q181394),P129,Q7906743), (c(Q181394),P681,Q79899))
action filter_type
action intersection
action find_reverse
entity Q7906743
relation P129
action find_reverse
entity Q79899
relation P681
type Q181394
{'AND': [[{'concept': 'Q181394'}, 'P129', 'Q7906743'], [{'concept': 'Q181394'}, 'P681', 'Q79899']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q181394 . ?e property:P129 resource:Q7906743 . ?e property:P681 resource:Q79899 }
cytoplasm VER-3323
action filter_type
action intersection
action find_reverse
entity VER-3323
relation physically interacts with
action find_reverse
entity cytoplasm
relation cell component
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'physically interacts with', 'VER-3323'], [{'concept': 'nutrient'}, 'cell component', 'cytoplasm']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:nutrient . ?e property:physically_interacts_with resource:VER-3323 . ?e property:cell_component resource:cytoplasm }
[]
nutrient
Q4639596 Q1949517
SYSTEM
5-hydroxytryptamine receptor 2B, 5-hydroxytryptamine receptor 2A
Q4639596 Q1949517
AND((c(Q181394),P129,Q7906743), (c(Q181394),P681,Q79899))
action filter_type
action intersection
action find_reverse
entity Q7906743
relation P129
action find_reverse
entity Q79899
relation P681
type Q181394
[ANSWERS] can interact with VER-3323 and have cytoplasm as cell component
{'AND': [[{'concept': 'Q181394'}, 'P129', 'Q7906743'], [{'concept': 'Q181394'}, 'P681', 'Q79899']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q181394 . ?e property:P129 resource:Q7906743 . ?e property:P681 resource:Q79899 }
5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 2A
5-hydroxytryptamine receptor 2B and 5-hydroxytryptamine receptor 2A can interact with VER-3323 and have cytoplasm as cell component
5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 2A
action filter_type
action intersection
action find_reverse
entity VER-3323
relation physically interacts with
action find_reverse
entity cytoplasm
relation cell component
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'physically interacts with', 'VER-3323'], [{'concept': 'nutrient'}, 'cell component', 'cytoplasm']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:nutrient . ?e property:physically_interacts_with resource:VER-3323 . ?e property:cell_component resource:cytoplasm }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q929420
P129
Q8386
USER
Does trandolapril can communicate with those nutrients ?
(Q929420,P129,Q4639596) (Q929420,P129,Q1949517)
action is_in
entity prev_answer
action find
entity Q929420
relation P129
['Q929420', 'P129', 'Q4639596'] ['Q929420', 'P129', 'Q1949517']
ASK WHERE { VALUES ( ?k ) { ( resource:Q4639596 ) ( resource:Q1949517 ) } . resource:Q929420 property:P129 ?k }
trandolapril
action is_in
entity prev_answer
action find
entity trandolapril
relation physically interacts with
['trandolapril', 'physically interacts with', '5-hydroxytryptamine receptor 2B'] ['trandolapril', 'physically interacts with', '5-hydroxytryptamine receptor 2A']
ASK WHERE { VALUES ( ?k ) { ( resource:5-hydroxytryptamine_receptor_2B ) ( resource:5-hydroxytryptamine_receptor_2A ) } . resource:trandolapril property:physically_interacts_with ?k }
[]
drug
SYSTEM
NO
(Q929420,P129,Q4639596) (Q929420,P129,Q1949517)
action is_in
entity prev_answer
action find
entity Q929420
relation P129
[ANSWER]
['Q929420', 'P129', 'Q4639596'] ['Q929420', 'P129', 'Q1949517']
ASK WHERE { VALUES ( ?k ) { ( resource:Q4639596 ) ( resource:Q1949517 ) } . resource:Q929420 property:P129 ?k }
No
action is_in
entity prev_answer
action find
entity trandolapril
relation physically interacts with
['trandolapril', 'physically interacts with', '5-hydroxytryptamine receptor 2B'] ['trandolapril', 'physically interacts with', '5-hydroxytryptamine receptor 2A']
ASK WHERE { VALUES ( ?k ) { ( resource:5-hydroxytryptamine_receptor_2B ) ( resource:5-hydroxytryptamine_receptor_2A ) } . resource:trandolapril property:physically_interacts_with ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6823517 Q23539639
P129
Q181394
USER
Does metergoline interact with RNA binding protein, contains ribosomal protein S1 domain    lp_0543 ?
(Q6823517,P129,Q23539639)
action is_in
entity Q23539639
action find
entity Q6823517
relation P129
['Q6823517', 'P129', 'Q23539639']
ASK WHERE { resource:Q6823517 property:P129 resource:Q23539639 }
metergoline RNA binding protein, contains ribosomal protein S1 domain    lp_0543
action is_in
entity RNA binding protein, contains ribosomal protein S1 domain    lp_0543
action find
entity metergoline
relation physically interacts with
['metergoline', 'physically interacts with', 'RNA binding protein, contains ribosomal protein S1 domain    lp_0543']
ASK WHERE { resource:metergoline property:physically_interacts_with resource:RNA_binding_protein,_contains_ribosomal_protein_S1_domain____lp_0543 }
[]
nutrient
SYSTEM
NO
(Q6823517,P129,Q23539639)
action is_in
entity Q23539639
action find
entity Q6823517
relation P129
[ANSWER]
['Q6823517', 'P129', 'Q23539639']
ASK WHERE { resource:Q6823517 property:P129 resource:Q23539639 }
No
action is_in
entity RNA binding protein, contains ribosomal protein S1 domain    lp_0543
action find
entity metergoline
relation physically interacts with
['metergoline', 'physically interacts with', 'RNA binding protein, contains ribosomal protein S1 domain    lp_0543']
ASK WHERE { resource:metergoline property:physically_interacts_with resource:RNA_binding_protein,_contains_ribosomal_protein_S1_domain____lp_0543 }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q23233203 Q415997
P688 P129
Q181394
USER
Which nutrients do Ketanserin contact with or do lmo0804    lmo0804 encode ?
OR((Q415997,P129,c(Q181394)), (Q23233203,P688,c(Q181394)))
action filter_type
action union
action find
entity Q415997
relation P129
action find
entity Q23233203
relation P688
type Q181394
{'OR': [['Q415997', 'P129', {'concept': 'Q181394'}], ['Q23233203', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q415997 property:P129 ?r } UNION { resource:Q23233203 property:P688 ?r } } . ?r rdf:type ontology:Q181394 }
lmo0804    lmo0804 Ketanserin
action filter_type
action union
action find
entity Ketanserin
relation physically interacts with
action find
entity lmo0804    lmo0804
relation encodes
type nutrient
{'OR': [['Ketanserin', 'physically interacts with', {'concept': 'nutrient'}], ['lmo0804    lmo0804', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Ketanserin property:physically_interacts_with ?r } UNION { resource:lmo0804____lmo0804 property:encodes ?r } } . ?r rdf:type ontology:nutrient }
[]
nutrient
Q24251754 Q1949517
SYSTEM
lmo0804    lmo0804, 5-hydroxytryptamine receptor 2A
Q24251754 Q1949517
OR((Q415997,P129,c(Q181394)), (Q23233203,P688,c(Q181394)))
action filter_type
action union
action find
entity Q415997
relation P129
action find
entity Q23233203
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q415997', 'P129', {'concept': 'Q181394'}], ['Q23233203', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q415997 property:P129 ?r } UNION { resource:Q23233203 property:P688 ?r } } . ?r rdf:type ontology:Q181394 }
lmo0804    lmo0804 5-hydroxytryptamine receptor 2A
Ketanserin contact with and 5-hydroxytryptamine receptor 2A or do lmo0804 lmo0804 encode
lmo0804    lmo0804 5-hydroxytryptamine receptor 2A
action filter_type
action union
action find
entity Ketanserin
relation physically interacts with
action find
entity lmo0804    lmo0804
relation encodes
type nutrient
{'OR': [['Ketanserin', 'physically interacts with', {'concept': 'nutrient'}], ['lmo0804    lmo0804', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Ketanserin property:physically_interacts_with ?r } UNION { resource:lmo0804____lmo0804 property:encodes ?r } } . ?r rdf:type ontology:nutrient }
[]
Clarification
Simple Question|Single Entity|Indirect
Q24251754
P702
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(Q24251754,P702,c(Q863908))
action filter_type
action find
entity Q24251754
relation P702
type Q863908
['Q24251754', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?d WHERE { resource:Q24251754 property:P702 ?d . ?d rdf:type ontology:Q863908 }
lmo0804    lmo0804
action filter_type
action find
entity lmo0804    lmo0804
relation encoded by
type nucleic acid sequence
['lmo0804    lmo0804', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?d WHERE { resource:lmo0804____lmo0804 property:encoded_by ?d . ?d rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Clarification for simple ques.
Q24251754
SYSTEM
Did you mean lmo0804    lmo0804 ?
Q24251754 Q1949517
(Q24251754,P702,c(Q863908)) (Q1949517,P702,c(Q863908))
[ANSWER]
['Q24251754', 'P702', {'concept': 'Q863908'}] ['Q1949517', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?d WHERE { resource:Q24251754 property:P702 ?d . ?d rdf:type ontology:Q863908 }
lmo0804    lmo0804 5-hydroxytryptamine receptor 2A
Did you mean lmo0804    lmo0804 ?
lmo0804    lmo0804
['lmo0804    lmo0804', 'encoded by', {'concept': 'nucleic acid sequence'}] ['5-hydroxytryptamine receptor 2A', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?d WHERE { resource:lmo0804____lmo0804 property:encoded_by ?d . ?d rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
USER
Yes
(Q24251754,P702,c(Q863908))
['Q24251754', 'P702', {'concept': 'Q863908'}]
['lmo0804    lmo0804', 'encoded by', {'concept': 'nucleic acid sequence'}]
[]
Q23233203
SYSTEM
lmo0804    lmo0804
Q23233203
(Q24251754,P702,c(Q863908))
action filter_type
action find
entity Q24251754
relation P702
type Q863908
Lmo0804 encodes that nutrient
['Q24251754', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?d WHERE { resource:Q24251754 property:P702 ?d . ?d rdf:type ontology:Q863908 }
lmo0804    lmo0804
Lmo0804 encodes that nutrient
lmo0804    lmo0804
action filter_type
action find
entity lmo0804    lmo0804
relation encoded by
type nucleic acid sequence
['lmo0804    lmo0804', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?d WHERE { resource:lmo0804____lmo0804 property:encoded_by ?d . ?d rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q23233203 Q27552727
P702
Q181394
USER
Does that nucleic acid sequence encode Mag2p YLR427W ?
(Q27552727,P702,Q23233203)
action is_in
entity Q27552727
action find
entity Q23233203
relation P702
['Q27552727', 'P702', 'Q23233203']
ASK WHERE { resource:Q23233203 property:P702 resource:Q27552727 }
lmo0804    lmo0804 Mag2p YLR427W
action is_in
entity Mag2p YLR427W
action find
entity lmo0804    lmo0804
relation encoded by
['Mag2p YLR427W', 'encoded by', 'lmo0804    lmo0804']
ASK WHERE { resource:lmo0804____lmo0804 property:encoded_by resource:Mag2p_YLR427W }
[]
nutrient
SYSTEM
NO
(Q27552727,P702,Q23233203)
action is_in
entity Q27552727
action find
entity Q23233203
relation P702
[ANSWER]
['Q27552727', 'P702', 'Q23233203']
ASK WHERE { resource:Q23233203 property:P702 resource:Q27552727 }
No
action is_in
entity Mag2p YLR427W
action find
entity lmo0804    lmo0804
relation encoded by
['Mag2p YLR427W', 'encoded by', 'lmo0804    lmo0804']
ASK WHERE { resource:lmo0804____lmo0804 property:encoded_by resource:Mag2p_YLR427W }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5002336 Q24094702 Q21110867
P129
Q181394
USER
Does (+)-butaclamol can communicate with response regulator receiver:transcriptional regulatory protein, C-terminal    Psyr_3589 and D(1A) dopamine receptor ?
(Q5002336,P129,Q24094702) (Q5002336,P129,Q21110867)
action is_in
entity Q5002336
action intersection
action find_reverse
entity Q24094702
relation P129
action find_reverse
entity Q21110867
relation P129
['Q5002336', 'P129', 'Q24094702'] ['Q5002336', 'P129', 'Q21110867']
ASK WHERE { resource:Q5002336 property:P129 resource:Q24094702 . resource:Q5002336 property:P129 resource:Q21110867 }
(+)-butaclamol response regulator receiver:transcriptional regulatory protein, C-terminal    Psyr_3589 D(1A) dopamine receptor
action is_in
entity (+)-butaclamol
action intersection
action find_reverse
entity response regulator receiver:transcriptional regulatory protein, C-terminal    Psyr_3589
relation physically interacts with
action find_reverse
entity D(1A) dopamine receptor
relation physically interacts with
['(+)-butaclamol', 'physically interacts with', 'response regulator receiver:transcriptional regulatory protein, C-terminal    Psyr_3589'] ['(+)-butaclamol', 'physically interacts with', 'D(1A) dopamine receptor']
ASK WHERE { resource:(+)-butaclamol property:physically_interacts_with resource:response_regulator_receiver:transcriptional_regulatory_protein,_C-terminal____Psyr_3589 . resource:(+)-butaclamol property:physically_interacts_with resource:D(1A)_dopamine_receptor }
[]
nutrient
SYSTEM
NO and YES respectively
(Q5002336,P129,Q24094702) (Q5002336,P129,Q21110867)
action is_in
entity Q5002336
action intersection
action find_reverse
entity Q24094702
relation P129
action find_reverse
entity Q21110867
relation P129
[ANSWER]
['Q5002336', 'P129', 'Q24094702'] ['Q5002336', 'P129', 'Q21110867']
ASK WHERE { resource:Q5002336 property:P129 resource:Q24094702 . resource:Q5002336 property:P129 resource:Q21110867 }
NO and YES respectively
action is_in
entity (+)-butaclamol
action intersection
action find_reverse
entity response regulator receiver:transcriptional regulatory protein, C-terminal    Psyr_3589
relation physically interacts with
action find_reverse
entity D(1A) dopamine receptor
relation physically interacts with
['(+)-butaclamol', 'physically interacts with', 'response regulator receiver:transcriptional regulatory protein, C-terminal    Psyr_3589'] ['(+)-butaclamol', 'physically interacts with', 'D(1A) dopamine receptor']
ASK WHERE { resource:(+)-butaclamol property:physically_interacts_with resource:response_regulator_receiver:transcriptional_regulatory_protein,_C-terminal____Psyr_3589 . resource:(+)-butaclamol property:physically_interacts_with resource:D(1A)_dopamine_receptor }
[]