Simple Question (Direct)
Simple Question
Q1506941
P509
Q2057971
USER
What lead to the death of George Baker ?
(Q1506941,P509,c(Q2057971))
action filter_type
action find
entity Q1506941
relation P509
type Q2057971
['Q1506941', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q1506941 property:P509 ?m . ?m rdf:type ontology:Q2057971 }
George Baker
action filter_type
action find
entity George Baker
relation cause of death
type health problem
['George Baker', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:George_Baker property:cause_of_death ?m . ?m rdf:type ontology:health_problem }
[]
health problem
Q12192
SYSTEM
pneumonia
Q12192
(Q1506941,P509,c(Q2057971))
action filter_type
action find
entity Q1506941
relation P509
type Q2057971
[ANSWER] lead to the death of George Baker
['Q1506941', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q1506941 property:P509 ?m . ?m rdf:type ontology:Q2057971 }
pneumonia
Pneumonia lead to the death of George Baker
pneumonia
action filter_type
action find
entity George Baker
relation cause of death
type health problem
['George Baker', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:George_Baker property:cause_of_death ?m . ?m rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12192
P2176
Q8386
USER
Which drugs are used to cure that health problem ?
(Q12192,P2176,c(Q8386))
action filter_type
action find
entity Q12192
relation P2176
type Q8386
['Q12192', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?s WHERE { resource:Q12192 property:P2176 ?s . ?s rdf:type ontology:Q8386 }
pneumonia
action filter_type
action find
entity pneumonia
relation drug used for treatment
type drug
['pneumonia', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?s WHERE { resource:pneumonia property:drug_used_for_treatment ?s . ?s rdf:type ontology:drug }
[]
drug
Q670131 Q976559 Q139347
SYSTEM
simvastatin, Sparfloxacin, Cholecalciferol
Q424972 Q420394 Q139347 Q976559 Q420542 Q418546 Q375613 Q670131
(Q12192,P2176,c(Q8386))
action filter_type
action find
entity Q12192
relation P2176
type Q8386
[ANSWERS] are used to cure that health problem
['Q12192', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?s WHERE { resource:Q12192 property:P2176 ?s . ?s rdf:type ontology:Q8386 }
prednisone sucralfate Cholecalciferol Sparfloxacin ticagrelor Aztreonam RK-0202 simvastatin
Simvastatin, Sparfloxacin and Cholecalciferol are used to cure that health problem
simvastatin Sparfloxacin Cholecalciferol
action filter_type
action find
entity pneumonia
relation drug used for treatment
type drug
['pneumonia', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?s WHERE { resource:pneumonia property:drug_used_for_treatment ?s . ?s rdf:type ontology:drug }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1506941
P26
Q502895
USER
Who is married to George Baker ?
(Q1506941,P26,c(Q502895))
action filter_type
action find
entity Q1506941
relation P26
type Q502895
['Q1506941', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1506941 property:P26 ?c . ?c rdf:type ontology:Q502895 }
George Baker
action filter_type
action find
entity George Baker
relation spouse
type common name
['George Baker', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:George_Baker property:spouse ?c . ?c rdf:type ontology:common_name }
[]
common name
Q2658312
SYSTEM
Louie Ramsay
Q2658312
(Q1506941,P26,c(Q502895))
action filter_type
action find
entity Q1506941
relation P26
type Q502895
[ANSWER] is married to George Baker
['Q1506941', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1506941 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Louie Ramsay
Louie Ramsay is married to George Baker
Louie Ramsay
action filter_type
action find
entity George Baker
relation spouse
type common name
['George Baker', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:George_Baker property:spouse ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12192
P1050
Q502895
USER
Which people are afflicted by pneumonia ?
(c(Q502895),P1050,Q12192)
action filter_type
action find_reverse
entity Q12192
relation P1050
type Q502895
[{'concept': 'Q502895'}, 'P1050', 'Q12192']
SELECT DISTINCT ?i WHERE { ?i property:P1050 resource:Q12192 . ?i rdf:type ontology:Q502895 }
pneumonia
action filter_type
action find_reverse
entity pneumonia
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'pneumonia']
SELECT DISTINCT ?i WHERE { ?i property:medical_condition resource:pneumonia . ?i rdf:type ontology:common_name }
[]
common name
Q332751 Q9582 Q11613
SYSTEM
Ellen Wilkinson, Gerald Ford, Harry S. Truman
Q332751 Q9582 Q11613
(c(Q502895),P1050,Q12192)
action filter_type
action find_reverse
entity Q12192
relation P1050
type Q502895
[ANSWERS] are afflicted by pneumonia
[{'concept': 'Q502895'}, 'P1050', 'Q12192']
SELECT DISTINCT ?i WHERE { ?i property:P1050 resource:Q12192 . ?i rdf:type ontology:Q502895 }
Ellen Wilkinson Gerald Ford Harry S. Truman
Ellen Wilkinson, Gerald Ford and Harry S. Truman are afflicted by pneumonia
Ellen Wilkinson Gerald Ford Harry S. Truman
action filter_type
action find_reverse
entity pneumonia
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'pneumonia']
SELECT DISTINCT ?i WHERE { ?i property:medical_condition resource:pneumonia . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9582
P241
Q781132
USER
Which military branch was Gerald Ford a part of ?
(Q9582,P241,c(Q781132))
action filter_type
action find
entity Q9582
relation P241
type Q781132
['Q9582', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { resource:Q9582 property:P241 ?d . ?d rdf:type ontology:Q781132 }
Gerald Ford
action filter_type
action find
entity Gerald Ford
relation military branch
type military branch
['Gerald Ford', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { resource:Gerald_Ford property:military_branch ?d . ?d rdf:type ontology:military_branch }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q9582,P241,c(Q781132))
action filter_type
action find
entity Q9582
relation P241
type Q781132
The [ANSWER] was Gerald Ford a part of
['Q9582', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { resource:Q9582 property:P241 ?d . ?d rdf:type ontology:Q781132 }
United States Navy
The United States Navy was Gerald Ford a part of
United States Navy
action filter_type
action find
entity Gerald Ford
relation military branch
type military branch
['Gerald Ford', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { resource:Gerald_Ford property:military_branch ?d . ?d rdf:type ontology:military_branch }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q41576 Q976559
P769
Q8386
USER
Which drugs show a significant interaction with Sparfloxacin and cocaine ?
AND((Q976559,P769,c(Q8386)), (Q41576,P769,c(Q8386)))
action filter_type
action intersection
action find
entity Q976559
relation P769
action find
entity Q41576
relation P769
type Q8386
{'AND': [['Q976559', 'P769', {'concept': 'Q8386'}], ['Q41576', 'P769', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q8386 . resource:Q976559 property:P769 ?u . resource:Q41576 property:P769 ?u }
cocaine Sparfloxacin
action filter_type
action intersection
action find
entity Sparfloxacin
relation significant drug interaction
action find
entity cocaine
relation significant drug interaction
type drug
{'AND': [['Sparfloxacin', 'significant drug interaction', {'concept': 'drug'}], ['cocaine', 'significant drug interaction', {'concept': 'drug'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:drug . resource:Sparfloxacin property:significant_drug_interaction ?u . resource:cocaine property:significant_drug_interaction ?u }
[]
drug
Q408163 Q3791612 Q425120 Q413591 Q424238 Q4890934 Q422418 Q421381 Q425295 Q412496
SYSTEM
Some of them are anagrelide, ibutilide, Disopyramide, sotalol, domperidone, bepridil, sulpiride, flecainide, Cisapride, quinidine
Q58375 Q422418 Q408163 Q422438 Q10354103 Q425120 Q407972 Q144085 Q6821618 Q424238 Q410011 Q412496 Q4890934 Q3712521 Q413591 Q165399 Q423757 Q425295 Q408637 Q118551 Q251347 Q424940 Q3791612 Q417597 Q174259 Q419394 Q417909 Q947595 Q423437 Q409672 Q179996 Q410061 Q421381 Q7739 Q416206
AND((Q976559,P769,c(Q8386)), (Q41576,P769,c(Q8386)))
action filter_type
action intersection
action find
entity Q976559
relation P769
action find
entity Q41576
relation P769
type Q8386
And [ANSWERS] show a significant interaction with Sparfloxacin and cocaine
{'AND': [['Q976559', 'P769', {'concept': 'Q8386'}], ['Q41576', 'P769', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q8386 . resource:Q976559 property:P769 ?u . resource:Q41576 property:P769 ?u }
thioridazine sulpiride anagrelide chloroquine probucol Disopyramide chlorpromazine pimozide mesoridazine domperidone ondansetron quinidine bepridil dofetilide sotalol Azithromycin escitalopram Cisapride dronedarone Clarithromycin haloperidol Moxifloxacin ibutilide procainamide droperidol sevoflurane terfenadine Halofantrine astemizole citalopram methadone amiodarone flecainide Arsenic trioxide Pentamidine
And anagrelide, ibutilide, Disopyramide, sotalol, domperidone, bepridil, sulpiride, flecainide, Cisapride and quinidine show a significant interaction with Sparfloxacin and cocaine
anagrelide ibutilide Disopyramide sotalol domperidone bepridil sulpiride flecainide Cisapride quinidine
action filter_type
action intersection
action find
entity Sparfloxacin
relation significant drug interaction
action find
entity cocaine
relation significant drug interaction
type drug
{'AND': [['Sparfloxacin', 'significant drug interaction', {'concept': 'drug'}], ['cocaine', 'significant drug interaction', {'concept': 'drug'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:drug . resource:Sparfloxacin property:significant_drug_interaction ?u . resource:cocaine property:significant_drug_interaction ?u }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1063862 Q139347
P2176
Q2057971
USER
Which health problems require Cholecalciferol or idarubicin in their treatment ?
OR((c(Q2057971),P2176,Q139347), (c(Q2057971),P2176,Q1063862))
action filter_type
action union
action find_reverse
entity Q139347
relation P2176
action find_reverse
entity Q1063862
relation P2176
type Q2057971
{'OR': [[{'concept': 'Q2057971'}, 'P2176', 'Q139347'], [{'concept': 'Q2057971'}, 'P2176', 'Q1063862']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P2176 resource:Q139347 } UNION { ?w property:P2176 resource:Q1063862 } } . ?w rdf:type ontology:Q2057971 }
idarubicin Cholecalciferol
action filter_type
action union
action find_reverse
entity Cholecalciferol
relation drug used for treatment
action find_reverse
entity idarubicin
relation drug used for treatment
type health problem
{'OR': [[{'concept': 'health problem'}, 'drug used for treatment', 'Cholecalciferol'], [{'concept': 'health problem'}, 'drug used for treatment', 'idarubicin']]}
SELECT DISTINCT ?w WHERE { { { ?w property:drug_used_for_treatment resource:Cholecalciferol } UNION { ?w property:drug_used_for_treatment resource:idarubicin } } . ?w rdf:type ontology:health_problem }
[]
health problem
Q729735 Q181257 Q1344835 Q128581 Q185034 Q2840 Q3041498 Q165328 Q264118 Q18556020
SYSTEM
Some of them are chronic myeloid leukemia, prostate cancer, hyperparathyroidism, breast cancer, sickle cell anemia, influenza, eye disease, osteoporosis, acute myeloid leukemia, lung benign neoplasm
Q18557172 Q18555315 Q6708277 Q165328 Q389735 Q1477 Q4676432 Q181257 Q18555066 Q8277 Q1088156 Q154869 Q916280 Q18556697 Q736715 Q128581 Q1485 Q185034 Q18556020 Q3041498 Q10863074 Q19000661 Q12192 Q18556932 Q264118 Q12174 Q2661464 Q62736 Q1344835 Q949302 Q729735 Q2840
OR((c(Q2057971),P2176,Q139347), (c(Q2057971),P2176,Q1063862))
action filter_type
action union
action find_reverse
entity Q139347
relation P2176
action find_reverse
entity Q1063862
relation P2176
type Q2057971
[ANSWERS] require Cholecalciferol or idarubicin in their treatment
{'OR': [[{'concept': 'Q2057971'}, 'P2176', 'Q139347'], [{'concept': 'Q2057971'}, 'P2176', 'Q1063862']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P2176 resource:Q139347 } UNION { ?w property:P2176 resource:Q1063862 } } . ?w rdf:type ontology:Q2057971 }
follicular adenoma skin benign neoplasm lymphoid leukemia osteoporosis cardiovascular disease ulcerative colitis pustulosis of palm and sole prostate cancer relapsing-remitting multiple sclerosis multiple sclerosis chronic lymphocytic leukemia hepatitis C restless legs syndrome human immunodeficiency virus infectious disease chronic kidney disease breast cancer systemic lupus erythematosus sickle cell anemia lung benign neoplasm eye disease fatty liver disease congestive heart failure pneumonia large intestine cancer acute myeloid leukemia obesity glucose intolerance osteoarthritis/osteodystrophy hyperparathyroidism skin disease chronic myeloid leukemia influenza
Chronic myeloid leukemia, prostate cancer, hyperparathyroidism, breast cancer, sickle cell anemia, influenza, eye disease, osteoporosis, acute myeloid leukemia and lung benign neoplasm require Cholecalciferol or idarubicin in their treatment
chronic myeloid leukemia prostate cancer hyperparathyroidism breast cancer sickle cell anemia influenza eye disease osteoporosis acute myeloid leukemia lung benign neoplasm
action filter_type
action union
action find_reverse
entity Cholecalciferol
relation drug used for treatment
action find_reverse
entity idarubicin
relation drug used for treatment
type health problem
{'OR': [[{'concept': 'health problem'}, 'drug used for treatment', 'Cholecalciferol'], [{'concept': 'health problem'}, 'drug used for treatment', 'idarubicin']]}
SELECT DISTINCT ?w WHERE { { { ?w property:drug_used_for_treatment resource:Cholecalciferol } UNION { ?w property:drug_used_for_treatment resource:idarubicin } } . ?w rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q407972 Q422418
P769
Q8386
USER
Which drugs show a significant interaction with sulpiride and chlorpromazine ?
AND((Q422418,P769,c(Q8386)), (Q407972,P769,c(Q8386)))
action filter_type
action intersection
action find
entity Q422418
relation P769
action find
entity Q407972
relation P769
type Q8386
{'AND': [['Q422418', 'P769', {'concept': 'Q8386'}], ['Q407972', 'P769', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q8386 . resource:Q422418 property:P769 ?e . resource:Q407972 property:P769 ?e }
chlorpromazine sulpiride
action filter_type
action intersection
action find
entity sulpiride
relation significant drug interaction
action find
entity chlorpromazine
relation significant drug interaction
type drug
{'AND': [['sulpiride', 'significant drug interaction', {'concept': 'drug'}], ['chlorpromazine', 'significant drug interaction', {'concept': 'drug'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:drug . resource:sulpiride property:significant_drug_interaction ?e . resource:chlorpromazine property:significant_drug_interaction ?e }
[]
drug
Q3712521 Q4890934 Q10354103 Q976559 Q419394 Q118551 Q7739 Q417909 Q6821618 Q165399
SYSTEM
Some of them are dofetilide, bepridil, probucol, Sparfloxacin, sevoflurane, Clarithromycin, Arsenic trioxide, terfenadine, mesoridazine, Azithromycin
Q58375 Q41576 Q408163 Q422438 Q10354103 Q425120 Q144085 Q6821618 Q424238 Q410011 Q412496 Q4890934 Q3712521 Q413591 Q976559 Q165399 Q423757 Q425295 Q213511 Q408637 Q118551 Q251347 Q424940 Q3791612 Q417597 Q174259 Q419394 Q417909 Q947595 Q423437 Q409672 Q179996 Q410061 Q421381 Q7739 Q416206
AND((Q422418,P769,c(Q8386)), (Q407972,P769,c(Q8386)))
action filter_type
action intersection
action find
entity Q422418
relation P769
action find
entity Q407972
relation P769
type Q8386
[ANSWERS] show a significant interaction with sulpiride and chlorpromazine
{'AND': [['Q422418', 'P769', {'concept': 'Q8386'}], ['Q407972', 'P769', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q8386 . resource:Q422418 property:P769 ?e . resource:Q407972 property:P769 ?e }
thioridazine cocaine anagrelide chloroquine probucol Disopyramide pimozide mesoridazine domperidone ondansetron quinidine bepridil dofetilide sotalol Sparfloxacin Azithromycin escitalopram Cisapride Erythromycin dronedarone Clarithromycin haloperidol Moxifloxacin ibutilide procainamide droperidol sevoflurane terfenadine Halofantrine astemizole citalopram methadone amiodarone flecainide Arsenic trioxide Pentamidine
Dofetilide, bepridil, probucol, Sparfloxacin, sevoflurane, Clarithromycin, Arsenic trioxide, terfenadine, mesoridazine and Azithromycin show a significant interaction with sulpiride and chlorpromazine
dofetilide bepridil probucol Sparfloxacin sevoflurane Clarithromycin Arsenic trioxide terfenadine mesoridazine Azithromycin
action filter_type
action intersection
action find
entity sulpiride
relation significant drug interaction
action find
entity chlorpromazine
relation significant drug interaction
type drug
{'AND': [['sulpiride', 'significant drug interaction', {'concept': 'drug'}], ['chlorpromazine', 'significant drug interaction', {'concept': 'drug'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:drug . resource:sulpiride property:significant_drug_interaction ?e . resource:chlorpromazine property:significant_drug_interaction ?e }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184630
P769
Q8386
USER
Do Potassium Chloride have a significant interaction with those ones ?
(Q184630,P769,Q3712521) (Q184630,P769,Q4890934) (Q184630,P769,Q10354103) (Q184630,P769,Q976559) (Q184630,P769,Q419394) (Q184630,P769,Q118551) (Q184630,P769,Q7739) (Q184630,P769,Q417909) (Q184630,P769,Q6821618) (Q184630,P769,Q165399)
action is_in
entity prev_answer
action find
entity Q184630
relation P769
['Q184630', 'P769', 'Q3712521'] ['Q184630', 'P769', 'Q4890934'] ['Q184630', 'P769', 'Q10354103'] ['Q184630', 'P769', 'Q976559'] ['Q184630', 'P769', 'Q419394'] ['Q184630', 'P769', 'Q118551'] ['Q184630', 'P769', 'Q7739'] ['Q184630', 'P769', 'Q417909'] ['Q184630', 'P769', 'Q6821618'] ['Q184630', 'P769', 'Q165399']
ASK WHERE { VALUES ( ?s ) { ( resource:Q58375 ) ( resource:Q41576 ) ( resource:Q408163 ) } . resource:Q184630 property:P769 ?s }
Potassium Chloride
action is_in
entity prev_answer
action find
entity Potassium Chloride
relation significant drug interaction
['Potassium Chloride', 'significant drug interaction', 'dofetilide'] ['Potassium Chloride', 'significant drug interaction', 'bepridil'] ['Potassium Chloride', 'significant drug interaction', 'probucol'] ['Potassium Chloride', 'significant drug interaction', 'Sparfloxacin'] ['Potassium Chloride', 'significant drug interaction', 'sevoflurane'] ['Potassium Chloride', 'significant drug interaction', 'Clarithromycin'] ['Potassium Chloride', 'significant drug interaction', 'Arsenic trioxide'] ['Potassium Chloride', 'significant drug interaction', 'terfenadine'] ['Potassium Chloride', 'significant drug interaction', 'mesoridazine'] ['Potassium Chloride', 'significant drug interaction', 'Azithromycin']
ASK WHERE { VALUES ( ?s ) { ( resource:thioridazine ) ( resource:cocaine ) ( resource:anagrelide ) } . resource:Potassium_Chloride property:significant_drug_interaction ?s }
[]
drug
SYSTEM
NO
(Q184630,P769,Q3712521) (Q184630,P769,Q4890934) (Q184630,P769,Q10354103) (Q184630,P769,Q976559) (Q184630,P769,Q419394) (Q184630,P769,Q118551) (Q184630,P769,Q7739) (Q184630,P769,Q417909) (Q184630,P769,Q6821618) (Q184630,P769,Q165399)
action is_in
entity prev_answer
action find
entity Q184630
relation P769
[ANSWER]
['Q184630', 'P769', 'Q3712521'] ['Q184630', 'P769', 'Q4890934'] ['Q184630', 'P769', 'Q10354103'] ['Q184630', 'P769', 'Q976559'] ['Q184630', 'P769', 'Q419394'] ['Q184630', 'P769', 'Q118551'] ['Q184630', 'P769', 'Q7739'] ['Q184630', 'P769', 'Q417909'] ['Q184630', 'P769', 'Q6821618'] ['Q184630', 'P769', 'Q165399']
ASK WHERE { VALUES ( ?s ) { ( resource:Q58375 ) ( resource:Q41576 ) ( resource:Q408163 ) } . resource:Q184630 property:P769 ?s }
No
action is_in
entity prev_answer
action find
entity Potassium Chloride
relation significant drug interaction
['Potassium Chloride', 'significant drug interaction', 'dofetilide'] ['Potassium Chloride', 'significant drug interaction', 'bepridil'] ['Potassium Chloride', 'significant drug interaction', 'probucol'] ['Potassium Chloride', 'significant drug interaction', 'Sparfloxacin'] ['Potassium Chloride', 'significant drug interaction', 'sevoflurane'] ['Potassium Chloride', 'significant drug interaction', 'Clarithromycin'] ['Potassium Chloride', 'significant drug interaction', 'Arsenic trioxide'] ['Potassium Chloride', 'significant drug interaction', 'terfenadine'] ['Potassium Chloride', 'significant drug interaction', 'mesoridazine'] ['Potassium Chloride', 'significant drug interaction', 'Azithromycin']
ASK WHERE { VALUES ( ?s ) { ( resource:thioridazine ) ( resource:cocaine ) ( resource:anagrelide ) } . resource:Potassium_Chloride property:significant_drug_interaction ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q407972
P129
Q181394
USER
Which nutrients interacts with chlorpromazine ?
(c(Q181394),P129,Q407972)
action filter_type
action find
entity Q407972
relation P129
type Q181394
[{'concept': 'Q181394'}, 'P129', 'Q407972']
SELECT DISTINCT ?f WHERE { resource:Q407972 property:P129 ?f . ?f rdf:type ontology:Q181394 }
chlorpromazine
action filter_type
action find
entity chlorpromazine
relation physically interacts with
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', 'chlorpromazine']
SELECT DISTINCT ?f WHERE { resource:chlorpromazine property:physically_interacts_with ?f . ?f rdf:type ontology:nutrient }
[]
nutrient
Q2034004 Q1949517 Q21108118
SYSTEM
D(2) dopamine receptor, 5-hydroxytryptamine receptor 2A, 5-hydroxytryptamine receptor 2C
Q21497939 Q21115043 Q309513 Q1949517 Q21110867 Q4734894 Q308856 Q4734892 Q21110872 Q21109355 Q4734891 Q2034004 Q21109363 Q21108118 Q7671468 Q21131500
(c(Q181394),P129,Q407972)
action filter_type
action find
entity Q407972
relation P129
type Q181394
[ANSWERS] interact with chlorpromazine
[{'concept': 'Q181394'}, 'P129', 'Q407972']
SELECT DISTINCT ?f WHERE { resource:Q407972 property:P129 ?f . ?f rdf:type ontology:Q181394 }
5-hydroxytryptamine receptor 7 5-hydroxytryptamine receptor 1A Histamine H1 receptor 5-hydroxytryptamine receptor 2A D(1A) dopamine receptor Alpha-2B adrenergic receptor D(4) dopamine receptor Alpha-2A adrenergic receptor D(3) dopamine receptor 5-hydroxytryptamine receptor 7 Alpha-2C adrenergic receptor D(2) dopamine receptor 5-hydroxytryptamine receptor 6 5-hydroxytryptamine receptor 2C Short transient receptor potential channel 5 D(1B) dopamine receptor
D(2) dopamine receptor, 5-hydroxytryptamine receptor 2A and 5-hydroxytryptamine receptor 2C interact with chlorpromazine
D(2) dopamine receptor 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 2C
action filter_type
action find
entity chlorpromazine
relation physically interacts with
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', 'chlorpromazine']
SELECT DISTINCT ?f WHERE { resource:chlorpromazine property:physically_interacts_with ?f . ?f rdf:type ontology:nutrient }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2034004 Q1949517 Q21108118
P129
Q8386
USER
Which drugs do D(2) dopamine receptor, 5-hydroxytryptamine receptor 2A and 5-hydroxytryptamine receptor 2C contact with ?
(Q2034004,P129,c(Q8386)) (Q1949517,P129,c(Q8386)) (Q21108118,P129,c(Q8386))
action union
action filter_type
action find
entity Q2034004
relation P129
type Q8386
action filter_type
action find
entity Q1949517
relation P129
type Q8386
action filter_type
action find
entity Q21108118
relation P129
type Q8386
['Q2034004', 'P129', {'concept': 'Q8386'}] ['Q1949517', 'P129', {'concept': 'Q8386'}] ['Q21108118', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ?z WHERE { { resource:Q2034004 property:P129 ?z . ?z rdf:type ontology:Q8386 } UNION { resource:Q1949517 property:P129 ?z . ?z rdf:type ontology:Q8386 } }
D(2) dopamine receptor 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 2C
action union
action filter_type
action find
entity D(2) dopamine receptor
relation physically interacts with
type drug
action filter_type
action find
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
type drug
action filter_type
action find
entity 5-hydroxytryptamine receptor 2C
relation physically interacts with
type drug
['D(2) dopamine receptor', 'physically interacts with', {'concept': 'drug'}] ['5-hydroxytryptamine receptor 2A', 'physically interacts with', {'concept': 'drug'}] ['5-hydroxytryptamine receptor 2C', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ?z WHERE { { resource:D(2)_dopamine_receptor property:physically_interacts_with ?z . ?z rdf:type ontology:drug } UNION { resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with ?z . ?z rdf:type ontology:drug } }
[]
drug
Q407972 Q407972 Q407972
SYSTEM
chlorpromazine
Q58376 Q419822 Q424446 Q423308 Q408588 Q170304 Q201872 Q567927 Q205517 Q2359690 Q407972 Q144085 Q6821618 Q269111 Q424238 Q6590349 Q423520 Q411985 Q2924764 Q418050 Q4927426 Q420590 Q1752915 Q4890814 Q422418 Q7702355 Q413581 Q58614 Q251347 Q421304 Q412443 Q408535 Q411188 Q226905 Q1452256 Q221361 Q420350 Q415752 Q418785 Q423308 Q2608288 Q3563148 Q416701 Q1752915 Q423520 Q418050 Q419186 Q411932 Q58376 Q58375 Q4927426 Q407972 Q269111 Q23118 Q412443 Q226905 Q418101 Q413581 Q201872 Q205517 Q144085 Q6821618 Q421930 Q44931 Q408300 Q7702355 Q6824154 Q58614 Q408535 Q411188 Q416632 Q415752 Q340139 Q424446 Q424442 Q3008033 Q593166 Q424477 Q415118 Q251347 Q395229 Q411457 Q221361 Q415996 Q1752915 Q424446 Q423308 Q221361 Q201872 Q58375 Q205517 Q407972 Q6821618 Q269111 Q6824154 Q424442 Q416701 Q417813 Q421930 Q3563148 Q395229 Q411932 Q44931 Q7702355 Q418050 Q415752 Q424477 Q419186 Q23118 Q58614 Q412443 Q226905 Q411188 Q411457 Q423520 Q413581 Q340139 Q3008033
(Q2034004,P129,c(Q8386)) (Q1949517,P129,c(Q8386)) (Q21108118,P129,c(Q8386))
action union
action filter_type
action find
entity Q2034004
relation P129
type Q8386
action filter_type
action find
entity Q1949517
relation P129
type Q8386
action filter_type
action find
entity Q21108118
relation P129
type Q8386
Ine [ANSWER], [ANSWER] and [ANSWER] D(2) pamine receptor, 5-hydroxytryptamine receptor 2A and 5-hydroxytryptamine receptor 2C contact with
['Q2034004', 'P129', {'concept': 'Q8386'}] ['Q1949517', 'P129', {'concept': 'Q8386'}] ['Q21108118', 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ?z WHERE { { resource:Q2034004 property:P129 ?z . ?z rdf:type ontology:Q8386 } UNION { resource:Q1949517 property:P129 ?z . ?z rdf:type ontology:Q8386 } }
fluphenazine promazine lisuride cabergoline vilazodone dopamine Olanzapine pipotiazine ziprasidone prochlorperazine chlorpromazine pimozide mesoridazine apomorphine domperidone perospirone perphenazine rotigotine brexpiprazole sertindole blonanserin ropinirole trifluoperazine benzquinamide sulpiride terguride bromocriptine loxapine haloperidol pramipexole risperidone quetiapine aripiprazole zotepine (-)-sulpiride clozapine flupentixol pergolide amisulpride cabergoline thiothixene vortioxetine mianserin trifluoperazine perphenazine sertindole ergotamine duloxetine fluphenazine thioridazine blonanserin chlorpromazine apomorphine LSD risperidone zotepine pindolol bromocriptine Olanzapine ziprasidone pimozide mesoridazine mirtazapine sarpogrelate fluspirilene terguride methiothepin loxapine quetiapine aripiprazole nefazodone pergolide lorcaserin lisuride methysergide Cyamemazine molindone methylergonovine pipamperone haloperidol agomelatine trazodone clozapine flibanserin trifluoperazine lisuride cabergoline clozapine Olanzapine thioridazine ziprasidone chlorpromazine mesoridazine apomorphine methiothepin methysergide mianserin oxymetazoline mirtazapine vortioxetine agomelatine duloxetine sarpogrelate terguride sertindole pergolide methylergonovine ergotamine LSD loxapine risperidone zotepine aripiprazole trazodone perphenazine bromocriptine lorcaserin Cyamemazine
Ine chlorpromazine, chlorpromazine and chlorpromazine D(2) pamine receptor, 5-hydroxytryptamine receptor 2A and 5-hydroxytryptamine receptor 2C contact with
chlorpromazine chlorpromazine chlorpromazine
action union
action filter_type
action find
entity D(2) dopamine receptor
relation physically interacts with
type drug
action filter_type
action find
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
type drug
action filter_type
action find
entity 5-hydroxytryptamine receptor 2C
relation physically interacts with
type drug
['D(2) dopamine receptor', 'physically interacts with', {'concept': 'drug'}] ['5-hydroxytryptamine receptor 2A', 'physically interacts with', {'concept': 'drug'}] ['5-hydroxytryptamine receptor 2C', 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ?z WHERE { { resource:D(2)_dopamine_receptor property:physically_interacts_with ?z . ?z rdf:type ontology:drug } UNION { resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with ?z . ?z rdf:type ontology:drug } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9582
P161
Q838948
USER
Which work of art does Gerald Ford star in ?
(c(Q838948),P161,Q9582)
action filter_type
action find_reverse
entity Q9582
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q9582']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q838948 . ?c property:P161 resource:Q9582 }
Gerald Ford
action filter_type
action find_reverse
entity Gerald Ford
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Gerald Ford']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:work_of_art . ?c property:cast_member resource:Gerald_Ford }
[]
work of art
Q639864
SYSTEM
In the Year of the Pig
Q639864
(c(Q838948),P161,Q9582)
action filter_type
action find_reverse
entity Q9582
relation P161
type Q838948
Gerald Ford stars Ford [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q9582']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q838948 . ?c property:P161 resource:Q9582 }
In the Year of the Pig
Gerald Ford stars Ford In the Year of the Pig
In the Year of the Pig
action filter_type
action find_reverse
entity Gerald Ford
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Gerald Ford']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:work_of_art . ?c property:cast_member resource:Gerald_Ford }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q412496
P921
Q732577
USER
Which publication has quinidine as its principal topic ?
(c(Q732577),P921,Q412496)
action filter_type
action find_reverse
entity Q412496
relation P921
type Q732577
[{'concept': 'Q732577'}, 'P921', 'Q412496']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q732577 . ?t property:P921 resource:Q412496 }
quinidine
action filter_type
action find_reverse
entity quinidine
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'quinidine']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:publication . ?t property:main_subject resource:quinidine }
[]
publication
Q26348181
SYSTEM
HHE Report No. HETA-83-019-1562, Berlex Labs., Wayne, New Jersey
Q26348181
(c(Q732577),P921,Q412496)
action filter_type
action find_reverse
entity Q412496
relation P921
type Q732577
[ANSWER] has quinidine as its principal topic
[{'concept': 'Q732577'}, 'P921', 'Q412496']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q732577 . ?t property:P921 resource:Q412496 }
HHE Report No. HETA-83-019-1562, Berlex Labs., Wayne, New Jersey
HHE Report No. HETA-83-019-1562, Berlex Labs., Wayne, New Jersey has quinidine as its principal topic
HHE Report No. HETA-83-019-1562, Berlex Labs., Wayne, New Jersey
action filter_type
action find_reverse
entity quinidine
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'quinidine']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:publication . ?t property:main_subject resource:quinidine }
[]