Simple Question (Direct)
Simple Question
Q21977907
P703
Q16521
USER
Which taxon is D-3-phosphoglycerate dehydrogenase    TTHA0952 found in ?
(Q21977907,P703,c(Q16521))
action filter_type
action find
entity Q21977907
relation P703
type Q16521
['Q21977907', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?i WHERE { resource:Q21977907 property:P703 ?i . ?i rdf:type ontology:Q16521 }
D-3-phosphoglycerate dehydrogenase    TTHA0952
action filter_type
action find
entity D-3-phosphoglycerate dehydrogenase    TTHA0952
relation found in taxon
type taxon
['D-3-phosphoglycerate dehydrogenase    TTHA0952', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?i WHERE { resource:D-3-phosphoglycerate_dehydrogenase____TTHA0952 property:found_in_taxon ?i . ?i rdf:type ontology:taxon }
[]
taxon
Q21065233
SYSTEM
Thermus thermophilus HB8
Q21065233
(Q21977907,P703,c(Q16521))
action filter_type
action find
entity Q21977907
relation P703
type Q16521
[ANSWER] is D-3-phosphoglycerate dehydrogenase TTHA0952 found in
['Q21977907', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?i WHERE { resource:Q21977907 property:P703 ?i . ?i rdf:type ontology:Q16521 }
Thermus thermophilus HB8
Thermus thermophilus HB8 is D-3-phosphoglycerate dehydrogenase TTHA0952 found in
Thermus thermophilus HB8
action filter_type
action find
entity D-3-phosphoglycerate dehydrogenase    TTHA0952
relation found in taxon
type taxon
['D-3-phosphoglycerate dehydrogenase    TTHA0952', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?i WHERE { resource:D-3-phosphoglycerate_dehydrogenase____TTHA0952 property:found_in_taxon ?i . ?i rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21977907
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q21065233)
action filter_type
action find_reverse
entity Q21977907
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21065233']
SELECT DISTINCT ?g WHERE { ?g property:P688 resource:Q21977907 . ?g rdf:type ontology:Q863908 }
D-3-phosphoglycerate dehydrogenase    TTHA0952
action filter_type
action find_reverse
entity D-3-phosphoglycerate dehydrogenase    TTHA0952
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Thermus thermophilus HB8']
SELECT DISTINCT ?g WHERE { ?g property:encodes resource:D-3-phosphoglycerate_dehydrogenase____TTHA0952 . ?g rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21688264
SYSTEM
D-3-phosphoglycerate dehydrogenase    TTHA0952
Q21688264
(c(Q863908),P688,Q21065233)
action filter_type
action find_reverse
entity Q21977907
relation P688
type Q863908
De D-3-phosphoglycerate dehydrogenase TTHA0952 encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q21065233']
SELECT DISTINCT ?g WHERE { ?g property:P688 resource:Q21977907 . ?g rdf:type ontology:Q863908 }
D-3-phosphoglycerate dehydrogenase    TTHA0952
De D-3-phosphoglycerate dehydrogenase TTHA0952 encodes that nutrient
D-3-phosphoglycerate dehydrogenase    TTHA0952
action filter_type
action find_reverse
entity D-3-phosphoglycerate dehydrogenase    TTHA0952
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Thermus thermophilus HB8']
SELECT DISTINCT ?g WHERE { ?g property:encodes resource:D-3-phosphoglycerate_dehydrogenase____TTHA0952 . ?g rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q181394 Q8386 Q79529
USER
Which nutrients do max number of drugs or chemical substances communicate with ?
(c(Q8386)|c(Q79529),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?f ) { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?j ) WHERE { VALUES ( ?u ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } . ?i rdf:type ?u } GROUP BY ?n } } . { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?w ) WHERE { { ?a rdf:type ontology:Q181394 . ?m rdf:type ontology:Q8386 . ?m property:P129 ?a } UNION { ?m property:P129 ?a . ?a rdf:type ontology:Q181394 . ?m rdf:type ontology:Q79529 } } GROUP BY ?a } . FILTER ( ?w = ?f ) }
action argmax
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?f ) { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?j ) WHERE { VALUES ( ?u ) { ( ontology:drug ) ( ontology:chemical_substance ) } . ?i rdf:type ?u } GROUP BY ?n } } . { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?w ) WHERE { { ?a rdf:type ontology:nutrient . ?m rdf:type ontology:drug . ?m property:physically_interacts_with ?a } UNION { ?m property:physically_interacts_with ?a . ?a rdf:type ontology:nutrient . ?m rdf:type ontology:chemical_substance } } GROUP BY ?a } . FILTER ( ?w = ?f ) }
[]
nutrient drug chemical substance
Q1949517
SYSTEM
5-hydroxytryptamine receptor 2A
Q1949517
(c(Q8386)|c(Q79529),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
[ANSWER] max number of drugs or chemical substances communicate with
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?f ) { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?j ) WHERE { VALUES ( ?u ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } . ?i rdf:type ?u } GROUP BY ?n } } . { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?w ) WHERE { { ?a rdf:type ontology:Q181394 . ?m rdf:type ontology:Q8386 . ?m property:P129 ?a } UNION { ?m property:P129 ?a . ?a rdf:type ontology:Q181394 . ?m rdf:type ontology:Q79529 } } GROUP BY ?a } . FILTER ( ?w = ?f ) }
5-hydroxytryptamine receptor 2A
5-hydroxytryptamine receptor 2A max number of drugs or chemical substances communicate with
5-hydroxytryptamine receptor 2A
action argmax
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?f ) { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?j ) WHERE { VALUES ( ?u ) { ( ontology:drug ) ( ontology:chemical_substance ) } . ?i rdf:type ?u } GROUP BY ?n } } . { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?w ) WHERE { { ?a rdf:type ontology:nutrient . ?m rdf:type ontology:drug . ?m property:physically_interacts_with ?a } UNION { ?m property:physically_interacts_with ?a . ?a rdf:type ontology:nutrient . ?m rdf:type ontology:chemical_substance } } GROUP BY ?a } . FILTER ( ?w = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P129
Q181394 Q8386 Q181394
USER
How many nutrients do approximately the same number of drugs and nutrients interact with as that nutrient ?
(c(Q8386)|c(Q181394),P129,c(Q181394))
action count
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action count
action filter_multi_types
action find_reverse
entity Q1949517
relation P129
type Q8386
type Q181394
[[{'concept': 'Q8386'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?f ) WHERE { { ?a rdf:type ontology:Q181394 . ?s rdf:type ontology:Q8386 . ?s property:P129 ?a } UNION { ?s property:P129 ?a . ?a rdf:type ontology:Q181394 . ?s rdf:type ontology:Q181394 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P129 resource:Q1949517 . { { ?l rdf:type ontology:Q8386 } UNION { ?l rdf:type ontology:Q181394 } } } } . FILTER ( ?f = ?c ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action count
action filter_multi_types
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
type drug
type nutrient
[[{'concept': 'drug'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?f ) WHERE { { ?a rdf:type ontology:nutrient . ?s rdf:type ontology:drug . ?s property:physically_interacts_with ?a } UNION { ?s property:physically_interacts_with ?a . ?a rdf:type ontology:nutrient . ?s rdf:type ontology:nutrient } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:physically_interacts_with resource:5-hydroxytryptamine_receptor_2A . { { ?l rdf:type ontology:drug } UNION { ?l rdf:type ontology:nutrient } } } } . FILTER ( ?f = ?c ) }
[]
nutrient drug nutrient
SYSTEM
3
Q309513 Q21115043 Q1949517
(c(Q8386)|c(Q181394),P129,c(Q181394))
action count
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action count
action filter_multi_types
action find_reverse
entity Q1949517
relation P129
type Q8386
type Q181394
[ANSWER]
[[{'concept': 'Q8386'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?f ) WHERE { { ?a rdf:type ontology:Q181394 . ?s rdf:type ontology:Q8386 . ?s property:P129 ?a } UNION { ?s property:P129 ?a . ?a rdf:type ontology:Q181394 . ?s rdf:type ontology:Q181394 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P129 resource:Q1949517 . { { ?l rdf:type ontology:Q8386 } UNION { ?l rdf:type ontology:Q181394 } } } } . FILTER ( ?f = ?c ) }
Histamine H1 receptor 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A
3
action count
action approx
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action count
action filter_multi_types
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
type drug
type nutrient
[[{'concept': 'drug'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?f ) WHERE { { ?a rdf:type ontology:nutrient . ?s rdf:type ontology:drug . ?s property:physically_interacts_with ?a } UNION { ?s property:physically_interacts_with ?a . ?a rdf:type ontology:nutrient . ?s rdf:type ontology:nutrient } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:physically_interacts_with resource:5-hydroxytryptamine_receptor_2A . { { ?l rdf:type ontology:drug } UNION { ?l rdf:type ontology:nutrient } } } } . FILTER ( ?f = ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1949517
P129
Q8386
USER
How many drugs contact 5-hydroxytryptamine receptor 2A ?
(c(Q8386),P129,Q1949517)
action count
action filter_type
action find_reverse
entity Q1949517
relation P129
type Q8386
[{'concept': 'Q8386'}, 'P129', 'Q1949517']
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P129 resource:Q1949517 . ?s rdf:type ontology:Q8386 }
5-hydroxytryptamine receptor 2A
action count
action filter_type
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
type drug
[{'concept': 'drug'}, 'physically interacts with', '5-hydroxytryptamine receptor 2A']
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:physically_interacts_with resource:5-hydroxytryptamine_receptor_2A . ?s rdf:type ontology:drug }
[]
drug
SYSTEM
45
Q411188 Q221361 Q4927426 Q416632 Q340139 Q6821618 Q3008033 Q58614 Q407972 Q423308 Q251347 Q413581 Q44931 Q415996 Q423520 Q418050 Q1752915 Q411932 Q408300 Q3563148 Q412443 Q408535 Q201872 Q269111 Q23118 Q2608288 Q418101 Q415752 Q415118 Q226905 Q411457 Q6824154 Q421930 Q419186 Q58376 Q58375 Q7702355 Q395229 Q416701 Q424446 Q424442 Q205517 Q424477 Q144085 Q593166
(c(Q8386),P129,Q1949517)
action count
action filter_type
action find_reverse
entity Q1949517
relation P129
type Q8386
[ANSWER]
[{'concept': 'Q8386'}, 'P129', 'Q1949517']
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P129 resource:Q1949517 . ?s rdf:type ontology:Q8386 }
aripiprazole clozapine blonanserin nefazodone lorcaserin mesoridazine Cyamemazine loxapine chlorpromazine cabergoline haloperidol bromocriptine sarpogrelate flibanserin perphenazine sertindole trifluoperazine duloxetine fluspirilene vortioxetine risperidone quetiapine Olanzapine apomorphine LSD thiothixene pindolol pergolide pipamperone zotepine trazodone methiothepin mirtazapine ergotamine fluphenazine thioridazine terguride agomelatine mianserin lisuride methysergide ziprasidone methylergonovine pimozide molindone
45
action count
action filter_type
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
type drug
[{'concept': 'drug'}, 'physically interacts with', '5-hydroxytryptamine receptor 2A']
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:physically_interacts_with resource:5-hydroxytryptamine_receptor_2A . ?s rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q21111162
P129
Q8386
USER
And what about Acetylcholine receptor subunit alpha?
(c(Q8386),P129,Q21111162)
action count
action filter_type
action find_reverse
entity Q21111162
relation P129
type Q8386
[{'concept': 'Q8386'}, 'P129', 'Q21111162']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P129 resource:Q21111162 . ?e rdf:type ontology:Q8386 }
Acetylcholine receptor subunit alpha
action count
action filter_type
action find_reverse
entity Acetylcholine receptor subunit alpha
relation physically interacts with
type drug
[{'concept': 'drug'}, 'physically interacts with', 'Acetylcholine receptor subunit alpha']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:physically_interacts_with resource:Acetylcholine_receptor_subunit_alpha . ?e rdf:type ontology:drug }
[]
drug
SYSTEM
3
Q424297 Q3332124 Q424378
(c(Q8386),P129,Q21111162)
action count
action filter_type
action find_reverse
entity Q21111162
relation P129
type Q8386
[ANSWER]
[{'concept': 'Q8386'}, 'P129', 'Q21111162']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P129 resource:Q21111162 . ?e rdf:type ontology:Q8386 }
pancuronium mecamylamine succinylcholine
3
action count
action filter_type
action find_reverse
entity Acetylcholine receptor subunit alpha
relation physically interacts with
type drug
[{'concept': 'drug'}, 'physically interacts with', 'Acetylcholine receptor subunit alpha']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:physically_interacts_with resource:Acetylcholine_receptor_subunit_alpha . ?e rdf:type ontology:drug }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21107439 Q1949517
P129
Q8386
USER
Which drugs interacts with 5-hydroxytryptamine receptor 2A or Farnesyl pyrophosphate synthase ?
OR((c(Q8386),P129,Q1949517), (c(Q8386),P129,Q21107439))
action filter_type
action union
action find_reverse
entity Q1949517
relation P129
action find_reverse
entity Q21107439
relation P129
type Q8386
{'OR': [[{'concept': 'Q8386'}, 'P129', 'Q1949517'], [{'concept': 'Q8386'}, 'P129', 'Q21107439']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q8386 . { ?z property:P129 ?i . VALUES ( ?i ) { ( resource:Q1949517 ) ( resource:Q21107439 ) } } }
Farnesyl pyrophosphate 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 Farnesyl pyrophosphate synthase
relation physically interacts with
type drug
{'OR': [[{'concept': 'drug'}, 'physically interacts with', '5-hydroxytryptamine receptor 2A'], [{'concept': 'drug'}, 'physically interacts with', 'Farnesyl pyrophosphate synthase']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:drug . { ?z property:physically_interacts_with ?i . VALUES ( ?i ) { ( resource:5-hydroxytryptamine_receptor_2A ) ( resource:Farnesyl_pyrophosphate_synthase ) } } }
[]
drug
Q58376 Q226905 Q58614 Q6821618 Q221361 Q144085 Q424442 Q58375 Q593166 Q1752915
SYSTEM
Some of them are fluphenazine, zotepine, loxapine, mesoridazine, clozapine, pimozide, methysergide, thioridazine, molindone, trifluoperazine
Q58376 Q1752915 Q424446 Q58375 Q423308 Q4927426 Q20817244 Q2608288 Q201872 Q205517 Q407972 Q144085 Q3563148 Q269111 Q6824154 Q423520 Q424442 Q416701 Q226905 Q3008033 Q6821618 Q421930 Q593166 Q44931 Q408300 Q7702355 Q418050 Q166825 Q424477 Q419186 Q23118 Q58614 Q415118 Q251347 Q412443 Q218507 Q416632 Q408535 Q411932 Q395229 Q411188 Q411457 Q221361 Q418101 Q415752 Q340139 Q415996 Q413581
OR((c(Q8386),P129,Q1949517), (c(Q8386),P129,Q21107439))
action filter_type
action union
action find_reverse
entity Q1949517
relation P129
action find_reverse
entity Q21107439
relation P129
type Q8386
[ANSWERS] interact with 5-hydroxytryptamine receptor 2A or Farnesyl pyrophosphate synthase
{'OR': [[{'concept': 'Q8386'}, 'P129', 'Q1949517'], [{'concept': 'Q8386'}, 'P129', 'Q21107439']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q8386 . { ?z property:P129 ?i . VALUES ( ?i ) { ( resource:Q1949517 ) ( resource:Q21107439 ) } } }
fluphenazine trifluoperazine lisuride thioridazine cabergoline blonanserin cimadronate thiothixene Olanzapine ziprasidone chlorpromazine pimozide vortioxetine apomorphine methiothepin perphenazine methysergide mianserin zotepine Cyamemazine mesoridazine mirtazapine molindone sarpogrelate fluspirilene terguride sertindole ibandronic acid methylergonovine ergotamine LSD loxapine pipamperone haloperidol risperidone zoledronic acid nefazodone quetiapine duloxetine agomelatine aripiprazole trazodone clozapine pindolol pergolide lorcaserin flibanserin bromocriptine
Fluphenazine, zotepine, loxapine, mesoridazine, clozapine, pimozide, methysergide, thioridazine, molindone and trifluoperazine interact with 5-hydroxytryptamine receptor 2A or Farnesyl pyrophosphate synthase
fluphenazine zotepine loxapine mesoridazine clozapine pimozide methysergide thioridazine molindone trifluoperazine
action filter_type
action union
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
action find_reverse
entity Farnesyl pyrophosphate synthase
relation physically interacts with
type drug
{'OR': [[{'concept': 'drug'}, 'physically interacts with', '5-hydroxytryptamine receptor 2A'], [{'concept': 'drug'}, 'physically interacts with', 'Farnesyl pyrophosphate synthase']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:drug . { ?z property:physically_interacts_with ?i . VALUES ( ?i ) { ( resource:5-hydroxytryptamine_receptor_2A ) ( resource:Farnesyl_pyrophosphate_synthase ) } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q191779 Q1949517
P129 P2175
Q8386
USER
Which drugs communicates with 5-hydroxytryptamine receptor 2A and are prescribed for Gilles de la Tourette syndrome ?
AND((c(Q8386),P129,Q1949517), (c(Q8386),P2175,Q191779))
action filter_type
action intersection
action find_reverse
entity Q1949517
relation P129
action find_reverse
entity Q191779
relation P2175
type Q8386
{'AND': [[{'concept': 'Q8386'}, 'P129', 'Q1949517'], [{'concept': 'Q8386'}, 'P2175', 'Q191779']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q8386 . ?c property:P129 resource:Q1949517 . ?c property:P2175 resource:Q191779 }
Gilles de la Tourette syndrome 5-hydroxytryptamine receptor 2A
action filter_type
action intersection
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
action find_reverse
entity Gilles de la Tourette syndrome
relation medical condition treated
type drug
{'AND': [[{'concept': 'drug'}, 'physically interacts with', '5-hydroxytryptamine receptor 2A'], [{'concept': 'drug'}, 'medical condition treated', 'Gilles de la Tourette syndrome']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:drug . ?c property:physically_interacts_with resource:5-hydroxytryptamine_receptor_2A . ?c property:medical_condition_treated resource:Gilles_de_la_Tourette_syndrome }
[]
drug
Q411188 Q423520 Q205517 Q251347 Q412443 Q415752 Q144085
SYSTEM
aripiprazole, perphenazine, ziprasidone, haloperidol, risperidone, pergolide, pimozide
Q411188 Q423520 Q205517 Q251347 Q412443 Q415752 Q144085
AND((c(Q8386),P129,Q1949517), (c(Q8386),P2175,Q191779))
action filter_type
action intersection
action find_reverse
entity Q1949517
relation P129
action find_reverse
entity Q191779
relation P2175
type Q8386
[ANSWERS] communicate with 5-hydroxytryptamine receptor 2A and are prescribed for Gilles de la Tourette syndrome
{'AND': [[{'concept': 'Q8386'}, 'P129', 'Q1949517'], [{'concept': 'Q8386'}, 'P2175', 'Q191779']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q8386 . ?c property:P129 resource:Q1949517 . ?c property:P2175 resource:Q191779 }
aripiprazole perphenazine ziprasidone haloperidol risperidone pergolide pimozide
Aripiprazole, perphenazine, ziprasidone, haloperidol, risperidone, pergolide and pimozide communicate with 5-hydroxytryptamine receptor 2A and are prescribed for Gilles de la Tourette syndrome
aripiprazole perphenazine ziprasidone haloperidol risperidone pergolide pimozide
action filter_type
action intersection
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
action find_reverse
entity Gilles de la Tourette syndrome
relation medical condition treated
type drug
{'AND': [[{'concept': 'drug'}, 'physically interacts with', '5-hydroxytryptamine receptor 2A'], [{'concept': 'drug'}, 'medical condition treated', 'Gilles de la Tourette syndrome']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:drug . ?c property:physically_interacts_with resource:5-hydroxytryptamine_receptor_2A . ?c property:medical_condition_treated resource:Gilles_de_la_Tourette_syndrome }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q411188 Q423520 Q205517 Q251347 Q412443 Q415752 Q144085
P2176
Q2057971
USER
Which health problems require those drugs in their treatment ?
(c(Q2057971),P2176,Q411188) (c(Q2057971),P2176,Q423520) (c(Q2057971),P2176,Q205517) (c(Q2057971),P2176,Q251347) (c(Q2057971),P2176,Q412443) (c(Q2057971),P2176,Q415752) (c(Q2057971),P2176,Q144085)
action filter_type
action find_reverse
entity prev_answer
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', 'Q411188'] [{'concept': 'Q2057971'}, 'P2176', 'Q423520'] [{'concept': 'Q2057971'}, 'P2176', 'Q205517'] [{'concept': 'Q2057971'}, 'P2176', 'Q251347'] [{'concept': 'Q2057971'}, 'P2176', 'Q412443'] [{'concept': 'Q2057971'}, 'P2176', 'Q415752'] [{'concept': 'Q2057971'}, 'P2176', 'Q144085']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2057971 . ?b property:P2176 ?g . VALUES ( ?g ) { ( resource:Q411188 ) ( resource:Q423520 ) ( resource:Q205517 ) } }
aripiprazole perphenazine ziprasidone haloperidol risperidone pergolide pimozide
action filter_type
action find_reverse
entity prev_answer
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'aripiprazole'] [{'concept': 'health problem'}, 'drug used for treatment', 'perphenazine'] [{'concept': 'health problem'}, 'drug used for treatment', 'ziprasidone'] [{'concept': 'health problem'}, 'drug used for treatment', 'haloperidol'] [{'concept': 'health problem'}, 'drug used for treatment', 'risperidone'] [{'concept': 'health problem'}, 'drug used for treatment', 'pergolide'] [{'concept': 'health problem'}, 'drug used for treatment', 'pimozide']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:health_problem . ?b property:drug_used_for_treatment ?g . VALUES ( ?g ) { ( resource:aripiprazole ) ( resource:perphenazine ) ( resource:ziprasidone ) } }
[]
health problem
Q131755 Q131755 Q131755
SYSTEM
bipolar disorder
Q191779 Q12206 Q2157462 Q202387 Q181923 Q19000444 Q131755 Q131749 Q7331102 Q38404 Q12135 Q191779 Q2157462 Q190564 Q83030 Q826103 Q191779 Q191779 Q2157462 Q131755 Q191779 Q12206 Q6691991 Q3441028 Q2157462 Q19000444 Q131755 Q18557827 Q38404 Q83030 Q191779 Q11085 Q191779 Q2157462 Q18555190 Q190564
(c(Q2057971),P2176,Q411188) (c(Q2057971),P2176,Q423520) (c(Q2057971),P2176,Q205517) (c(Q2057971),P2176,Q251347) (c(Q2057971),P2176,Q412443) (c(Q2057971),P2176,Q415752) (c(Q2057971),P2176,Q144085)
action filter_type
action find_reverse
entity prev_answer
relation P2176
type Q2057971
[ANSWER], [ANSWER] and [ANSWER] require those drugs in their treatment
[{'concept': 'Q2057971'}, 'P2176', 'Q411188'] [{'concept': 'Q2057971'}, 'P2176', 'Q423520'] [{'concept': 'Q2057971'}, 'P2176', 'Q205517'] [{'concept': 'Q2057971'}, 'P2176', 'Q251347'] [{'concept': 'Q2057971'}, 'P2176', 'Q412443'] [{'concept': 'Q2057971'}, 'P2176', 'Q415752'] [{'concept': 'Q2057971'}, 'P2176', 'Q144085']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2057971 . ?b property:P2176 ?g . VALUES ( ?g ) { ( resource:Q411188 ) ( resource:Q423520 ) ( resource:Q205517 ) } }
Gilles de la Tourette syndrome diabetes mellitus schizophreniform disorder post-traumatic stress disorder attention deficit hyperactivity disorder neurotic disorder bipolar disorder anorexia nervosa alcohol abuse autism mental disorder Gilles de la Tourette syndrome schizophreniform disorder Huntington's disease dementia Reye's syndrome Gilles de la Tourette syndrome Gilles de la Tourette syndrome schizophreniform disorder bipolar disorder Gilles de la Tourette syndrome diabetes mellitus pervasive developmental disorder Norum disease schizophreniform disorder neurotic disorder bipolar disorder cocaine abuse autism dementia Gilles de la Tourette syndrome Parkinson's disease Gilles de la Tourette syndrome schizophreniform disorder transient tic disorder Huntington's disease
Bipolar disorder, bipolar disorder and bipolar disorder require those drugs in their treatment
bipolar disorder bipolar disorder bipolar disorder
action filter_type
action find_reverse
entity prev_answer
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'aripiprazole'] [{'concept': 'health problem'}, 'drug used for treatment', 'perphenazine'] [{'concept': 'health problem'}, 'drug used for treatment', 'ziprasidone'] [{'concept': 'health problem'}, 'drug used for treatment', 'haloperidol'] [{'concept': 'health problem'}, 'drug used for treatment', 'risperidone'] [{'concept': 'health problem'}, 'drug used for treatment', 'pergolide'] [{'concept': 'health problem'}, 'drug used for treatment', 'pimozide']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:health_problem . ?b property:drug_used_for_treatment ?g . VALUES ( ?g ) { ( resource:aripiprazole ) ( resource:perphenazine ) ( resource:ziprasidone ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6821618
P769
Q8386
USER
Which drugs show a significant interaction with mesoridazine ?
(Q6821618,P769,c(Q8386))
action filter_type
action find
entity Q6821618
relation P769
type Q8386
['Q6821618', 'P769', {'concept': 'Q8386'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q8386 . resource:Q6821618 property:P769 ?l }
mesoridazine
action filter_type
action find
entity mesoridazine
relation significant drug interaction
type drug
['mesoridazine', 'significant drug interaction', {'concept': 'drug'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:drug . resource:mesoridazine property:significant_drug_interaction ?l }
[]
drug
Q407972 Q251347 Q144085
SYSTEM
chlorpromazine, haloperidol, pimozide
Q58375 Q41576 Q422418 Q408163 Q422438 Q10354103 Q425120 Q407972 Q144085 Q424238 Q410011 Q412496 Q4890934 Q3712521 Q413591 Q976559 Q165399 Q423757 Q425295 Q213511 Q408637 Q118551 Q251347 Q421381 Q3791612 Q417597 Q174259 Q419394 Q417909 Q947595 Q423437 Q409672 Q179996 Q410061 Q424940 Q7739 Q416206
(Q6821618,P769,c(Q8386))
action filter_type
action find
entity Q6821618
relation P769
type Q8386
And [ANSWERS] show a significant interaction with mesoridazine
['Q6821618', 'P769', {'concept': 'Q8386'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q8386 . resource:Q6821618 property:P769 ?l }
thioridazine cocaine sulpiride anagrelide chloroquine probucol Disopyramide chlorpromazine pimozide domperidone ondansetron quinidine bepridil dofetilide sotalol Sparfloxacin Azithromycin escitalopram Cisapride Erythromycin dronedarone Clarithromycin haloperidol flecainide ibutilide procainamide droperidol sevoflurane terfenadine Halofantrine astemizole citalopram methadone amiodarone Moxifloxacin Arsenic trioxide Pentamidine
And chlorpromazine, haloperidol and pimozide show a significant interaction with mesoridazine
chlorpromazine haloperidol pimozide
action filter_type
action find
entity mesoridazine
relation significant drug interaction
type drug
['mesoridazine', 'significant drug interaction', {'concept': 'drug'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:drug . resource:mesoridazine property:significant_drug_interaction ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2175
Q12136 Q8386
USER
How many diseases are cured by around 26 drugs ?
(c(Q8386),P2175,c(Q12136))
action count
action approx
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
value 26
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P2175 ?y . ?y rdf:type ontology:Q12136 . ?r rdf:type ontology:Q8386 } GROUP BY ?y } . FILTER ( ?g = 26 ) }
action count
action approx
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
value 26
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:medical_condition_treated ?y . ?y rdf:type ontology:disease . ?r rdf:type ontology:drug } GROUP BY ?y } . FILTER ( ?g = 26 ) }
[]
disease drug
SYSTEM
13
Q1467339 Q7514772 Q1472 Q41112 Q18557991 Q18557998 Q18554891 Q1148337 Q5326566 Q1869874 Q23772742 Q6029216 Q18975220
(c(Q8386),P2175,c(Q12136))
action count
action approx
action find_reverse_tuple_counts
relation P2175
type Q12136
type Q8386
value 26
[ANSWER]
[{'concept': 'Q8386'}, 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P2175 ?y . ?y rdf:type ontology:Q12136 . ?r rdf:type ontology:Q8386 } GROUP BY ?y } . FILTER ( ?g = 26 ) }
hypertriglyceridemia Silent stroke Crohn's disease schizophrenia Hodgkin's lymphoma, mixed cellularity lymphosarcoma squamous cell carcinoma hepatocellular carcinoma Early-onset Alzheimer's disease insomnia Bacteroides Infections infectious bone disease Escherichia coli infectious disease
13
action count
action approx
action find_reverse_tuple_counts
relation medical condition treated
type disease
type drug
value 26
[{'concept': 'drug'}, 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:medical_condition_treated ?y . ?y rdf:type ontology:disease . ?r rdf:type ontology:drug } GROUP BY ?y } . FILTER ( ?g = 26 ) }
[]