Simple Question (Direct)
Simple Question
Q22270912
P703
Q631147
USER
Where is 30S ribosomal protein S3    NMB0148 found ?
(Q22270912,P703,c(Q631147))
action filter_type
action find
entity Q22270912
relation P703
type Q631147
['Q22270912', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?f WHERE { resource:Q22270912 property:P703 ?f . ?f rdf:type ontology:Q631147 }
30S ribosomal protein S3    NMB0148
action filter_type
action find
entity 30S ribosomal protein S3    NMB0148
relation found in taxon
type infraspecific name
['30S ribosomal protein S3    NMB0148', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?f WHERE { resource:30S_ribosomal_protein_S3____NMB0148 property:found_in_taxon ?f . ?f rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102922
SYSTEM
Neisseria meningitidis MC58
Q21102922
(Q22270912,P703,c(Q631147))
action filter_type
action find
entity Q22270912
relation P703
type Q631147
30S ribosomal protein S3 NMB 0148 is found in [ANSWER]
['Q22270912', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?f WHERE { resource:Q22270912 property:P703 ?f . ?f rdf:type ontology:Q631147 }
Neisseria meningitidis MC58
30S ribosomal protein S3 NMB 0148 is found in Neisseria meningitidis MC58
Neisseria meningitidis MC58
action filter_type
action find
entity 30S ribosomal protein S3    NMB0148
relation found in taxon
type infraspecific name
['30S ribosomal protein S3    NMB0148', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?f WHERE { resource:30S_ribosomal_protein_S3____NMB0148 property:found_in_taxon ?f . ?f rdf:type ontology:infraspecific_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22270912
P702
Q863908
USER
What is the gene that encodes 30S ribosomal protein S3    NMB0148 ?
(Q22270912,P702,c(Q863908))
action filter_type
action find
entity Q22270912
relation P702
type Q863908
['Q22270912', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q863908 . resource:Q22270912 property:P702 ?h }
30S ribosomal protein S3    NMB0148
action filter_type
action find
entity 30S ribosomal protein S3    NMB0148
relation encoded by
type nucleic acid sequence
['30S ribosomal protein S3    NMB0148', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:nucleic_acid_sequence . resource:30S_ribosomal_protein_S3____NMB0148 property:encoded_by ?h }
[]
nucleic acid sequence
Q22267839
SYSTEM
30S ribosomal protein S3    NMB0148
Q22267839
(Q22270912,P702,c(Q863908))
action filter_type
action find
entity Q22270912
relation P702
type Q863908
The gene that encodes 30S ribosomal protein S3 NMB 0148 is codes 30S ribosomal protein S3 NMB0148
['Q22270912', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q863908 . resource:Q22270912 property:P702 ?h }
30S ribosomal protein S3    NMB0148
The gene that encodes 30S ribosomal protein S3 NMB 0148 is codes 30S ribosomal protein S3 NMB0148
30S ribosomal protein S3    NMB0148
action filter_type
action find
entity 30S ribosomal protein S3    NMB0148
relation encoded by
type nucleic acid sequence
['30S ribosomal protein S3    NMB0148', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:nucleic_acid_sequence . resource:30S_ribosomal_protein_S3____NMB0148 property:encoded_by ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22270912
P681
Q15989253
USER
Which is the part that is a component of 30S ribosomal protein S3    NMB0148 ?
(Q22270912,P681,c(Q15989253))
action filter_type
action find
entity Q22270912
relation P681
type Q15989253
['Q22270912', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?p WHERE { resource:Q22270912 property:P681 ?p . ?p rdf:type ontology:Q15989253 }
30S ribosomal protein S3    NMB0148
action filter_type
action find
entity 30S ribosomal protein S3    NMB0148
relation cell component
type part
['30S ribosomal protein S3    NMB0148', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?p WHERE { resource:30S_ribosomal_protein_S3____NMB0148 property:cell_component ?p . ?p rdf:type ontology:part }
[]
part
Q42244
SYSTEM
ribosome
Q42244
(Q22270912,P681,c(Q15989253))
action filter_type
action find
entity Q22270912
relation P681
type Q15989253
[ANSWER] is the part that is a component of 30S ribosomal protein S3 NMB0148
['Q22270912', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?p WHERE { resource:Q22270912 property:P681 ?p . ?p rdf:type ontology:Q15989253 }
ribosome
Ribosome is the part that is a component of 30S ribosomal protein S3 NMB0148
ribosome
action filter_type
action find
entity 30S ribosomal protein S3    NMB0148
relation cell component
type part
['30S ribosomal protein S3    NMB0148', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?p WHERE { resource:30S_ribosomal_protein_S3____NMB0148 property:cell_component ?p . ?p rdf:type ontology:part }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q83187
Q79529
USER
And what about thiamine(1+)?
(Q83187,P361,c(Q79529))
action filter_type
action find
entity Q83187
relation P361
type Q79529
['Q83187', 'P361', {'concept': 'Q79529'}]
SELECT DISTINCT ?j WHERE { resource:Q83187 property:P361 ?j . ?j rdf:type ontology:Q79529 }
thiamine(1+)
action filter_type
action find
entity thiamine(1+)
relation part of
type chemical substance
['thiamine(1+)', 'part of', {'concept': 'chemical substance'}]
SELECT DISTINCT ?j WHERE { resource:thiamine(1+) property:part_of ?j . ?j rdf:type ontology:chemical_substance }
[]
chemical substance
Q27225638 Q7783877 Q415003
SYSTEM
thiamine hydrochloride dihydrate, thiamine(1+) monophosphate chloride, thiamine(1+) diphosphate
Q27225638 Q7783877 Q415003
(Q83187,P361,c(Q79529))
action filter_type
action find
entity Q83187
relation P361
type Q79529
[ANSWERS]
['Q83187', 'P361', {'concept': 'Q79529'}]
SELECT DISTINCT ?j WHERE { resource:Q83187 property:P361 ?j . ?j rdf:type ontology:Q79529 }
thiamine hydrochloride dihydrate thiamine(1+) monophosphate chloride thiamine(1+) diphosphate
thiamine hydrochloride dihydrate thiamine(1+) monophosphate chloride thiamine(1+) diphosphate
action filter_type
action find
entity thiamine(1+)
relation part of
type chemical substance
['thiamine(1+)', 'part of', {'concept': 'chemical substance'}]
SELECT DISTINCT ?j WHERE { resource:thiamine(1+) property:part_of ?j . ?j rdf:type ontology:chemical_substance }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q79529 Q79529
USER
How many chemical substances are approximately 1 chemical substance named after ?
(c(Q79529),P138,c(Q79529))
action count
action approx
action find_reverse_tuple_counts
relation P138
type Q79529
type Q79529
value 1
[{'concept': 'Q79529'}, 'P138', {'concept': 'Q79529'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P138 ?l . ?l rdf:type ontology:Q79529 . ?x rdf:type ontology:Q79529 } GROUP BY ?l } . FILTER ( ?m = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation named after
type chemical substance
type chemical substance
value 1
[{'concept': 'chemical substance'}, 'named after', {'concept': 'chemical substance'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:named_after ?l . ?l rdf:type ontology:chemical_substance . ?x rdf:type ontology:chemical_substance } GROUP BY ?l } . FILTER ( ?m = 1 ) }
[]
chemical substance chemical substance
SYSTEM
2
Q1121 Q658
(c(Q79529),P138,c(Q79529))
action count
action approx
action find_reverse_tuple_counts
relation P138
type Q79529
type Q79529
value 1
[ANSWER]
[{'concept': 'Q79529'}, 'P138', {'concept': 'Q79529'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P138 ?l . ?l rdf:type ontology:Q79529 . ?x rdf:type ontology:Q79529 } GROUP BY ?l } . FILTER ( ?m = 1 ) }
actinium sodium
2
action count
action approx
action find_reverse_tuple_counts
relation named after
type chemical substance
type chemical substance
value 1
[{'concept': 'chemical substance'}, 'named after', {'concept': 'chemical substance'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:named_after ?l . ?l rdf:type ontology:chemical_substance . ?x rdf:type ontology:chemical_substance } GROUP BY ?l } . FILTER ( ?m = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4000438
Q79529
USER
And also tell me about tungstibite?
(Q4000438,P138,c(Q79529))
action count
action filter_type
action find
entity Q4000438
relation P138
type Q79529
['Q4000438', 'P138', {'concept': 'Q79529'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Q4000438 property:P138 ?n . ?n rdf:type ontology:Q79529 }
tungstibite
action count
action filter_type
action find
entity tungstibite
relation named after
type chemical substance
['tungstibite', 'named after', {'concept': 'chemical substance'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:tungstibite property:named_after ?n . ?n rdf:type ontology:chemical_substance }
[]
chemical substance
SYSTEM
1
(Q4000438,P138,c(Q79529))
action count
action filter_type
action find
entity Q4000438
relation P138
type Q79529
[ANSWER]
['Q4000438', 'P138', {'concept': 'Q79529'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Q4000438 property:P138 ?n . ?n rdf:type ontology:Q79529 }
1
action count
action filter_type
action find
entity tungstibite
relation named after
type chemical substance
['tungstibite', 'named after', {'concept': 'chemical substance'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:tungstibite property:named_after ?n . ?n rdf:type ontology:chemical_substance }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q8386 Q181394 Q181394
USER
Which nutrients contact atleast 29 drugs or nutrients ?
(c(Q181394),P129,c(Q8386)|c(Q181394))
action atleast
action union
action find_tuple_counts
relation P129
type Q181394
type Q8386
action find_tuple_counts
relation P129
type Q181394
type Q181394
value 29
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q8386'}, {'concept': 'Q181394'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?x ) WHERE { { ?r rdf:type ontology:Q181394 . ?o rdf:type ontology:Q8386 . ?r property:P129 ?o } UNION { ?r rdf:type ontology:Q181394 . ?o rdf:type ontology:Q181394 . ?r property:P129 ?o } } GROUP BY ?r } . FILTER ( ?x >= 29 ) }
action atleast
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
value 29
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'drug'}, {'concept': 'nutrient'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?x ) WHERE { { ?r rdf:type ontology:nutrient . ?o rdf:type ontology:drug . ?r property:physically_interacts_with ?o } UNION { ?r rdf:type ontology:nutrient . ?o rdf:type ontology:nutrient . ?r property:physically_interacts_with ?o } } GROUP BY ?r } . FILTER ( ?x >= 29 ) }
[]
drug nutrient nutrient
Q2034004 Q1949517 Q21108118
SYSTEM
D(2) dopamine receptor, 5-hydroxytryptamine receptor 2A, 5-hydroxytryptamine receptor 2C
Q309513 Q287961 Q21108118 Q21115043 Q1949517 Q2034004
(c(Q181394),P129,c(Q8386)|c(Q181394))
action atleast
action union
action find_tuple_counts
relation P129
type Q181394
type Q8386
action find_tuple_counts
relation P129
type Q181394
type Q181394
value 29
[ANSWERS] contact atleast 29 drugs or nutrients
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q8386'}, {'concept': 'Q181394'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?x ) WHERE { { ?r rdf:type ontology:Q181394 . ?o rdf:type ontology:Q8386 . ?r property:P129 ?o } UNION { ?r rdf:type ontology:Q181394 . ?o rdf:type ontology:Q181394 . ?r property:P129 ?o } } GROUP BY ?r } . FILTER ( ?x >= 29 ) }
Histamine H1 receptor Beta-2 adrenergic receptor 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A D(2) dopamine receptor
D(2) dopamine receptor, 5-hydroxytryptamine receptor 2A and 5-hydroxytryptamine receptor 2C contact atleast 29 drugs or nutrients
D(2) dopamine receptor 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 2C
action atleast
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
value 29
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'drug'}, {'concept': 'nutrient'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?x ) WHERE { { ?r rdf:type ontology:nutrient . ?o rdf:type ontology:drug . ?r property:physically_interacts_with ?o } UNION { ?r rdf:type ontology:nutrient . ?o rdf:type ontology:nutrient . ?r property:physically_interacts_with ?o } } GROUP BY ?r } . FILTER ( ?x >= 29 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q27184057
P129
Q79529
USER
Does N-[[(4S,5S)-8-(1-cyclopentenyl)-2-[(2R)-1-hydroxypropan-2-yl]-4-methyl-1,1-dioxo-4,5-dihydro-3H-6,1$l^{6},2-benzoxathiazocin-5-yl]methyl]-N-methyl-2-pyrazinecarboxamide communicate with those nutrients ?
(Q27184057,P129,Q2034004) (Q27184057,P129,Q1949517) (Q27184057,P129,Q21108118)
action is_in
entity prev_answer
action find
entity Q27184057
relation P129
['Q27184057', 'P129', 'Q2034004'] ['Q27184057', 'P129', 'Q1949517'] ['Q27184057', 'P129', 'Q21108118']
ASK WHERE { resource:Q27184057 property:P129 ?u . VALUES ( ?u ) { ( resource:Q309513 ) ( resource:Q287961 ) ( resource:Q21108118 ) } }
N-[[(4S,5S)-8-(1-cyclopentenyl)-2-[(2R)-1-hydroxypropan-2-yl]-4-methyl-1,1-dioxo-4,5-dihydro-3H-6,1$l^{6},2-benzoxathiazocin-5-yl]methyl]-N-methyl-2-pyrazinecarboxamide
action is_in
entity prev_answer
action find
entity N-[[(4S,5S)-8-(1-cyclopentenyl)-2-[(2R)-1-hydroxypropan-2-yl]-4-methyl-1,1-dioxo-4,5-dihydro-3H-6,1$l^{6},2-benzoxathiazocin-5-yl]methyl]-N-methyl-2-pyrazinecarboxamide
relation physically interacts with
['N-[[(4S,5S)-8-(1-cyclopentenyl)-2-[(2R)-1-hydroxypropan-2-yl]-4-methyl-1,1-dioxo-4,5-dihydro-3H-6,1$l^{6},2-benzoxathiazocin-5-yl]methyl]-N-methyl-2-pyrazinecarboxamide', 'physically interacts with', 'D(2) dopamine receptor'] ['N-[[(4S,5S)-8-(1-cyclopentenyl)-2-[(2R)-1-hydroxypropan-2-yl]-4-methyl-1,1-dioxo-4,5-dihydro-3H-6,1$l^{6},2-benzoxathiazocin-5-yl]methyl]-N-methyl-2-pyrazinecarboxamide', 'physically interacts with', '5-hydroxytryptamine receptor 2A'] ['N-[[(4S,5S)-8-(1-cyclopentenyl)-2-[(2R)-1-hydroxypropan-2-yl]-4-methyl-1,1-dioxo-4,5-dihydro-3H-6,1$l^{6},2-benzoxathiazocin-5-yl]methyl]-N-methyl-2-pyrazinecarboxamide', 'physically interacts with', '5-hydroxytryptamine receptor 2C']
ASK WHERE { resource:N-[[(4S,5S)-8-(1-cyclopentenyl)-2-[(2R)-1-hydroxypropan-2-yl]-4-methyl-1,1-dioxo-4,5-dihydro-3H-6,1$l^{6},2-benzoxathiazocin-5-yl]methyl]-N-methyl-2-pyrazinecarboxamide property:physically_interacts_with ?u . VALUES ( ?u ) { ( resource:Histamine_H1_receptor ) ( resource:Beta-2_adrenergic_receptor ) ( resource:5-hydroxytryptamine_receptor_2C ) } }
[]
chemical substance
SYSTEM
NO
(Q27184057,P129,Q2034004) (Q27184057,P129,Q1949517) (Q27184057,P129,Q21108118)
action is_in
entity prev_answer
action find
entity Q27184057
relation P129
[ANSWER]
['Q27184057', 'P129', 'Q2034004'] ['Q27184057', 'P129', 'Q1949517'] ['Q27184057', 'P129', 'Q21108118']
ASK WHERE { resource:Q27184057 property:P129 ?u . VALUES ( ?u ) { ( resource:Q309513 ) ( resource:Q287961 ) ( resource:Q21108118 ) } }
No
action is_in
entity prev_answer
action find
entity N-[[(4S,5S)-8-(1-cyclopentenyl)-2-[(2R)-1-hydroxypropan-2-yl]-4-methyl-1,1-dioxo-4,5-dihydro-3H-6,1$l^{6},2-benzoxathiazocin-5-yl]methyl]-N-methyl-2-pyrazinecarboxamide
relation physically interacts with
['N-[[(4S,5S)-8-(1-cyclopentenyl)-2-[(2R)-1-hydroxypropan-2-yl]-4-methyl-1,1-dioxo-4,5-dihydro-3H-6,1$l^{6},2-benzoxathiazocin-5-yl]methyl]-N-methyl-2-pyrazinecarboxamide', 'physically interacts with', 'D(2) dopamine receptor'] ['N-[[(4S,5S)-8-(1-cyclopentenyl)-2-[(2R)-1-hydroxypropan-2-yl]-4-methyl-1,1-dioxo-4,5-dihydro-3H-6,1$l^{6},2-benzoxathiazocin-5-yl]methyl]-N-methyl-2-pyrazinecarboxamide', 'physically interacts with', '5-hydroxytryptamine receptor 2A'] ['N-[[(4S,5S)-8-(1-cyclopentenyl)-2-[(2R)-1-hydroxypropan-2-yl]-4-methyl-1,1-dioxo-4,5-dihydro-3H-6,1$l^{6},2-benzoxathiazocin-5-yl]methyl]-N-methyl-2-pyrazinecarboxamide', 'physically interacts with', '5-hydroxytryptamine receptor 2C']
ASK WHERE { resource:N-[[(4S,5S)-8-(1-cyclopentenyl)-2-[(2R)-1-hydroxypropan-2-yl]-4-methyl-1,1-dioxo-4,5-dihydro-3H-6,1$l^{6},2-benzoxathiazocin-5-yl]methyl]-N-methyl-2-pyrazinecarboxamide property:physically_interacts_with ?u . VALUES ( ?u ) { ( resource:Histamine_H1_receptor ) ( resource:Beta-2_adrenergic_receptor ) ( resource:5-hydroxytryptamine_receptor_2C ) } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q408637 Q2034004
P769 P129
Q8386
USER
Which drugs can interact with D(2) dopamine receptor and do not have interactions with dronedarone ?
AND((c(Q8386),P129,Q2034004), NOT((c(Q8386),P769,Q408637)))
action filter_type
action difference
action find_reverse
entity Q2034004
relation P129
action find_reverse
entity Q408637
relation P769
type Q8386
{'AND': [[{'concept': 'Q8386'}, 'P129', 'Q2034004'], {'NOT': [[{'concept': 'Q8386'}, 'P769', 'Q408637']]}]}
SELECT DISTINCT ?t WHERE { FILTER NOT EXISTS { ?t property:P769 resource:Q408637 } . ?t property:P129 resource:Q2034004 . ?t rdf:type ontology:Q8386 }
dronedarone D(2) dopamine receptor
action filter_type
action difference
action find_reverse
entity D(2) dopamine receptor
relation physically interacts with
action find_reverse
entity dronedarone
relation significant drug interaction
type drug
{'AND': [[{'concept': 'drug'}, 'physically interacts with', 'D(2) dopamine receptor'], {'NOT': [[{'concept': 'drug'}, 'significant drug interaction', 'dronedarone']]}]}
SELECT DISTINCT ?t WHERE { FILTER NOT EXISTS { ?t property:significant_drug_interaction resource:dronedarone } . ?t property:physically_interacts_with resource:D(2)_dopamine_receptor . ?t rdf:type ontology:drug }
[]
drug
Q226905 Q418050 Q7702355 Q58614 Q419822 Q420350 Q423520 Q423308 Q408535 Q418785
SYSTEM
Some of them are zotepine, sertindole, terguride, loxapine, promazine, flupentixol, perphenazine, cabergoline, quetiapine, amisulpride
Q419822 Q58376 Q424446 Q423308 Q4927426 Q170304 Q201872 Q205517 Q2359690 Q269111 Q6590349 Q423520 Q411985 Q2924764 Q408588 Q567927 Q420590 Q1752915 Q4890814 Q7702355 Q418050 Q413581 Q58614 Q412443 Q421304 Q408535 Q411188 Q226905 Q1452256 Q221361 Q420350 Q415752 Q418785
AND((c(Q8386),P129,Q2034004), NOT((c(Q8386),P769,Q408637)))
action filter_type
action difference
action find_reverse
entity Q2034004
relation P129
action find_reverse
entity Q408637
relation P769
type Q8386
[ANSWERS] can interact with D(2) dopamine receptor and do not have interactions with dronedarone
{'AND': [[{'concept': 'Q8386'}, 'P129', 'Q2034004'], {'NOT': [[{'concept': 'Q8386'}, 'P769', 'Q408637']]}]}
SELECT DISTINCT ?t WHERE { FILTER NOT EXISTS { ?t property:P769 resource:Q408637 } . ?t property:P129 resource:Q2034004 . ?t rdf:type ontology:Q8386 }
promazine fluphenazine lisuride cabergoline blonanserin dopamine Olanzapine ziprasidone prochlorperazine apomorphine perospirone perphenazine rotigotine brexpiprazole vilazodone pipotiazine ropinirole trifluoperazine benzquinamide terguride sertindole bromocriptine loxapine risperidone pramipexole quetiapine aripiprazole zotepine (-)-sulpiride clozapine flupentixol pergolide amisulpride
Zotepine, sertindole, terguride, loxapine, promazine, flupentixol, perphenazine, cabergoline, quetiapine and amisulpride can interact with D(2) dopamine receptor and do not have interactions with dronedarone
zotepine sertindole terguride loxapine promazine flupentixol perphenazine cabergoline quetiapine amisulpride
action filter_type
action difference
action find_reverse
entity D(2) dopamine receptor
relation physically interacts with
action find_reverse
entity dronedarone
relation significant drug interaction
type drug
{'AND': [[{'concept': 'drug'}, 'physically interacts with', 'D(2) dopamine receptor'], {'NOT': [[{'concept': 'drug'}, 'significant drug interaction', 'dronedarone']]}]}
SELECT DISTINCT ?t WHERE { FILTER NOT EXISTS { ?t property:significant_drug_interaction resource:dronedarone } . ?t property:physically_interacts_with resource:D(2)_dopamine_receptor . ?t rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q226905 Q418050 Q7702355 Q58614 Q419822 Q420350 Q423520 Q423308 Q408535 Q418785
P129
Q181394
USER
Which nutrients contact those drugs ?
(c(Q181394),P129,Q226905) (c(Q181394),P129,Q418050) (c(Q181394),P129,Q7702355) (c(Q181394),P129,Q58614) (c(Q181394),P129,Q419822) (c(Q181394),P129,Q420350) (c(Q181394),P129,Q423520) (c(Q181394),P129,Q423308) (c(Q181394),P129,Q408535) (c(Q181394),P129,Q418785)
action filter_type
action find
entity prev_answer
relation P129
type Q181394
[{'concept': 'Q181394'}, 'P129', 'Q226905'] [{'concept': 'Q181394'}, 'P129', 'Q418050'] [{'concept': 'Q181394'}, 'P129', 'Q7702355'] [{'concept': 'Q181394'}, 'P129', 'Q58614'] [{'concept': 'Q181394'}, 'P129', 'Q419822'] [{'concept': 'Q181394'}, 'P129', 'Q420350'] [{'concept': 'Q181394'}, 'P129', 'Q423520'] [{'concept': 'Q181394'}, 'P129', 'Q423308'] [{'concept': 'Q181394'}, 'P129', 'Q408535'] [{'concept': 'Q181394'}, 'P129', 'Q418785']
SELECT DISTINCT ?v WHERE { ?g property:P129 ?v . ?v rdf:type ontology:Q181394 . VALUES ( ?g ) { ( resource:Q419822 ) ( resource:Q58376 ) ( resource:Q424446 ) } }
zotepine sertindole terguride loxapine promazine flupentixol perphenazine cabergoline quetiapine amisulpride
action filter_type
action find
entity prev_answer
relation physically interacts with
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', 'zotepine'] [{'concept': 'nutrient'}, 'physically interacts with', 'sertindole'] [{'concept': 'nutrient'}, 'physically interacts with', 'terguride'] [{'concept': 'nutrient'}, 'physically interacts with', 'loxapine'] [{'concept': 'nutrient'}, 'physically interacts with', 'promazine'] [{'concept': 'nutrient'}, 'physically interacts with', 'flupentixol'] [{'concept': 'nutrient'}, 'physically interacts with', 'perphenazine'] [{'concept': 'nutrient'}, 'physically interacts with', 'cabergoline'] [{'concept': 'nutrient'}, 'physically interacts with', 'quetiapine'] [{'concept': 'nutrient'}, 'physically interacts with', 'amisulpride']
SELECT DISTINCT ?v WHERE { ?g property:physically_interacts_with ?v . ?v rdf:type ontology:nutrient . VALUES ( ?g ) { ( resource:promazine ) ( resource:fluphenazine ) ( resource:lisuride ) } }
[]
nutrient
Q2034004 Q2034004 Q2034004
SYSTEM
D(2) dopamine receptor
Q2034004 Q21109363 Q288797 Q308856 Q21109355 Q7050954 Q410142 Q4734894 Q21108118 Q21115046 Q309513 Q21110872 Q21115051 Q21115043 Q1949517 Q2034004 Q288797 Q308856 Q21108118 Q21115052 Q21115046 Q309513 Q21110872 Q21115051 Q21115043 Q1949517 Q2034004 Q288797 Q308856 Q4639596 Q4734894 Q4734892 Q4734891 Q4734884 Q21108118 Q21115046 Q21110872 Q21115043 Q1949517 Q2034004 Q21109363 Q308856 Q21108118 Q309513 Q21118576 Q21110872 Q1949517 Q2034004 Q21110872 Q2034004 Q21110867 Q21110872 Q21131500 Q2034004 Q21109363 Q21109355 Q21108118 Q309513 Q1949517 Q2034004 Q288797 Q308856 Q4639596 Q21110867 Q4734894 Q4734892 Q4734891 Q4734884 Q21108118 Q21115046 Q21110872 Q21131500 Q21115043 Q1949517 Q2034004 Q7050954 Q21115052 Q21115046 Q309513 Q21115051 Q21115043 Q1949517 Q2034004
(c(Q181394),P129,Q226905) (c(Q181394),P129,Q418050) (c(Q181394),P129,Q7702355) (c(Q181394),P129,Q58614) (c(Q181394),P129,Q419822) (c(Q181394),P129,Q420350) (c(Q181394),P129,Q423520) (c(Q181394),P129,Q423308) (c(Q181394),P129,Q408535) (c(Q181394),P129,Q418785)
action filter_type
action find
entity prev_answer
relation P129
type Q181394
[ANSWER], [ANSWER] and [ANSWER] contact those drugs
[{'concept': 'Q181394'}, 'P129', 'Q226905'] [{'concept': 'Q181394'}, 'P129', 'Q418050'] [{'concept': 'Q181394'}, 'P129', 'Q7702355'] [{'concept': 'Q181394'}, 'P129', 'Q58614'] [{'concept': 'Q181394'}, 'P129', 'Q419822'] [{'concept': 'Q181394'}, 'P129', 'Q420350'] [{'concept': 'Q181394'}, 'P129', 'Q423520'] [{'concept': 'Q181394'}, 'P129', 'Q423308'] [{'concept': 'Q181394'}, 'P129', 'Q408535'] [{'concept': 'Q181394'}, 'P129', 'Q418785']
SELECT DISTINCT ?v WHERE { ?g property:P129 ?v . ?v rdf:type ontology:Q181394 . VALUES ( ?g ) { ( resource:Q419822 ) ( resource:Q58376 ) ( resource:Q424446 ) } }
D(2) dopamine receptor 5-hydroxytryptamine receptor 6 5-hydroxytryptamine receptor 1B D(4) dopamine receptor 5-hydroxytryptamine receptor 7 Sodium-dependent noradrenaline transporter Sodium-dependent serotonin transporter Alpha-2B adrenergic receptor 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1D Histamine H1 receptor D(3) dopamine receptor 5-hydroxytryptamine receptor 1E 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A D(2) dopamine receptor 5-hydroxytryptamine receptor 1B D(4) dopamine receptor 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1F 5-hydroxytryptamine receptor 1D Histamine H1 receptor D(3) dopamine receptor 5-hydroxytryptamine receptor 1E 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A D(2) dopamine receptor 5-hydroxytryptamine receptor 1B D(4) dopamine receptor 5-hydroxytryptamine receptor 2B Alpha-2B adrenergic receptor Alpha-2A adrenergic receptor Alpha-2C adrenergic receptor Alpha-1A adrenergic receptor 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1D D(3) dopamine receptor 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A D(2) dopamine receptor 5-hydroxytryptamine receptor 6 D(4) dopamine receptor 5-hydroxytryptamine receptor 2C Histamine H1 receptor Potassium channel subfamily T member 1 D(3) dopamine receptor 5-hydroxytryptamine receptor 2A D(2) dopamine receptor D(3) dopamine receptor D(2) dopamine receptor D(1A) dopamine receptor D(3) dopamine receptor D(1B) dopamine receptor D(2) dopamine receptor 5-hydroxytryptamine receptor 6 5-hydroxytryptamine receptor 7 5-hydroxytryptamine receptor 2C Histamine H1 receptor 5-hydroxytryptamine receptor 2A D(2) dopamine receptor 5-hydroxytryptamine receptor 1B D(4) dopamine receptor 5-hydroxytryptamine receptor 2B D(1A) dopamine receptor Alpha-2B adrenergic receptor Alpha-2A adrenergic receptor Alpha-2C adrenergic receptor Alpha-1A adrenergic receptor 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1D D(3) dopamine receptor D(1B) dopamine receptor 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A D(2) dopamine receptor Sodium-dependent noradrenaline transporter 5-hydroxytryptamine receptor 1F 5-hydroxytryptamine receptor 1D Histamine H1 receptor 5-hydroxytryptamine receptor 1E 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A D(2) dopamine receptor
D(2) dopamine receptor, D(2) dopamine receptor and D(2) dopamine receptor contact those drugs
D(2) dopamine receptor D(2) dopamine receptor D(2) dopamine receptor
action filter_type
action find
entity prev_answer
relation physically interacts with
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', 'zotepine'] [{'concept': 'nutrient'}, 'physically interacts with', 'sertindole'] [{'concept': 'nutrient'}, 'physically interacts with', 'terguride'] [{'concept': 'nutrient'}, 'physically interacts with', 'loxapine'] [{'concept': 'nutrient'}, 'physically interacts with', 'promazine'] [{'concept': 'nutrient'}, 'physically interacts with', 'flupentixol'] [{'concept': 'nutrient'}, 'physically interacts with', 'perphenazine'] [{'concept': 'nutrient'}, 'physically interacts with', 'cabergoline'] [{'concept': 'nutrient'}, 'physically interacts with', 'quetiapine'] [{'concept': 'nutrient'}, 'physically interacts with', 'amisulpride']
SELECT DISTINCT ?v WHERE { ?g property:physically_interacts_with ?v . ?v rdf:type ontology:nutrient . VALUES ( ?g ) { ( resource:promazine ) ( resource:fluphenazine ) ( resource:lisuride ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q419822
P2175
Q1441305
USER
What is cured by promazine ?
(Q419822,P2175,c(Q1441305))
action filter_type
action find
entity Q419822
relation P2175
type Q1441305
['Q419822', 'P2175', {'concept': 'Q1441305'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1441305 . resource:Q419822 property:P2175 ?m }
promazine
action filter_type
action find
entity promazine
relation medical condition treated
type medical sign
['promazine', 'medical condition treated', {'concept': 'medical sign'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:medical_sign . resource:promazine property:medical_condition_treated ?m }
[]
medical sign
Q127076
SYSTEM
vomiting
Q127076
(Q419822,P2175,c(Q1441305))
action filter_type
action find
entity Q419822
relation P2175
type Q1441305
[ANSWER] is cured by promazine
['Q419822', 'P2175', {'concept': 'Q1441305'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1441305 . resource:Q419822 property:P2175 ?m }
vomiting
Vomiting is cured by promazine
vomiting
action filter_type
action find
entity promazine
relation medical condition treated
type medical sign
['promazine', 'medical condition treated', {'concept': 'medical sign'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:medical_sign . resource:promazine property:medical_condition_treated ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q607349
Q1441305
USER
And how about fluorometholone?
(Q607349,P2175,c(Q1441305))
action filter_type
action find
entity Q607349
relation P2175
type Q1441305
['Q607349', 'P2175', {'concept': 'Q1441305'}]
SELECT DISTINCT ?e WHERE { resource:Q607349 property:P2175 ?e . ?e rdf:type ontology:Q1441305 }
fluorometholone
action filter_type
action find
entity fluorometholone
relation medical condition treated
type medical sign
['fluorometholone', 'medical condition treated', {'concept': 'medical sign'}]
SELECT DISTINCT ?e WHERE { resource:fluorometholone property:medical_condition_treated ?e . ?e rdf:type ontology:medical_sign }
[]
medical sign
Q101991
SYSTEM
inflammation
Q101991
(Q607349,P2175,c(Q1441305))
action filter_type
action find
entity Q607349
relation P2175
type Q1441305
[ANSWER]
['Q607349', 'P2175', {'concept': 'Q1441305'}]
SELECT DISTINCT ?e WHERE { resource:Q607349 property:P2175 ?e . ?e rdf:type ontology:Q1441305 }
inflammation
inflammation
action filter_type
action find
entity fluorometholone
relation medical condition treated
type medical sign
['fluorometholone', 'medical condition treated', {'concept': 'medical sign'}]
SELECT DISTINCT ?e WHERE { resource:fluorometholone property:medical_condition_treated ?e . ?e rdf:type ontology:medical_sign }
[]