Simple Question (Direct)
Simple Question
Q21168378
P702
Q863908
USER
What encodes valine--tRNA ligase    CT_302 ?
(Q21168378,P702,c(Q863908))
action filter_type
action find
entity Q21168378
relation P702
type Q863908
['Q21168378', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?p WHERE { resource:Q21168378 property:P702 ?p . ?p rdf:type ontology:Q863908 }
valine--tRNA ligase    CT_302
action filter_type
action find
entity valine--tRNA ligase    CT_302
relation encoded by
type nucleic acid sequence
['valine--tRNA ligase    CT_302', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?p WHERE { resource:valine--tRNA_ligase____CT_302 property:encoded_by ?p . ?p rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21150090
SYSTEM
valine--tRNA ligase    CT_302
Q21150090
(Q21168378,P702,c(Q863908))
action filter_type
action find
entity Q21168378
relation P702
type Q863908
Valine--tRNA ligase CT 302 encodes valine--tRNA ligase CT_302
['Q21168378', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?p WHERE { resource:Q21168378 property:P702 ?p . ?p rdf:type ontology:Q863908 }
valine--tRNA ligase    CT_302
Valine--tRNA ligase CT 302 encodes valine--tRNA ligase CT_302
valine--tRNA ligase    CT_302
action filter_type
action find
entity valine--tRNA ligase    CT_302
relation encoded by
type nucleic acid sequence
['valine--tRNA ligase    CT_302', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?p WHERE { resource:valine--tRNA_ligase____CT_302 property:encoded_by ?p . ?p rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q21150090 Q24225778 Q24115026
P688
Q181394
USER
Does that nucleic acid sequence encodes oxidoreductase    bll5204 and fatty acid desaturase    BN112_1340 ?
(Q21150090,P688,Q24225778) (Q21150090,P688,Q24115026)
action is_in
entity Q21150090
action intersection
action find_reverse
entity Q24225778
relation P688
action find_reverse
entity Q24115026
relation P688
['Q21150090', 'P688', 'Q24225778'] ['Q21150090', 'P688', 'Q24115026']
ASK WHERE { resource:Q21150090 property:P688 resource:Q24225778 . resource:Q21150090 property:P688 resource:Q24115026 }
valine--tRNA ligase    CT_302 oxidoreductase    bll5204 fatty acid desaturase    BN112_1340
action is_in
entity valine--tRNA ligase    CT_302
action intersection
action find_reverse
entity oxidoreductase    bll5204
relation encodes
action find_reverse
entity fatty acid desaturase    BN112_1340
relation encodes
['valine--tRNA ligase    CT_302', 'encodes', 'oxidoreductase    bll5204'] ['valine--tRNA ligase    CT_302', 'encodes', 'fatty acid desaturase    BN112_1340']
ASK WHERE { resource:valine--tRNA_ligase____CT_302 property:encodes resource:oxidoreductase____bll5204 . resource:valine--tRNA_ligase____CT_302 property:encodes resource:fatty_acid_desaturase____BN112_1340 }
[]
nutrient
SYSTEM
NO
(Q21150090,P688,Q24225778) (Q21150090,P688,Q24115026)
action is_in
entity Q21150090
action intersection
action find_reverse
entity Q24225778
relation P688
action find_reverse
entity Q24115026
relation P688
[ANSWER]
['Q21150090', 'P688', 'Q24225778'] ['Q21150090', 'P688', 'Q24115026']
ASK WHERE { resource:Q21150090 property:P688 resource:Q24225778 . resource:Q21150090 property:P688 resource:Q24115026 }
No
action is_in
entity valine--tRNA ligase    CT_302
action intersection
action find_reverse
entity oxidoreductase    bll5204
relation encodes
action find_reverse
entity fatty acid desaturase    BN112_1340
relation encodes
['valine--tRNA ligase    CT_302', 'encodes', 'oxidoreductase    bll5204'] ['valine--tRNA ligase    CT_302', 'encodes', 'fatty acid desaturase    BN112_1340']
ASK WHERE { resource:valine--tRNA_ligase____CT_302 property:encodes resource:oxidoreductase____bll5204 . resource:valine--tRNA_ligase____CT_302 property:encodes resource:fatty_acid_desaturase____BN112_1340 }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q181394 Q8386
USER
Which nutrients do around 30 nutrients and drugs collaborate with ?
(c(Q181394)|c(Q8386),P129,c(Q181394))
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
value 30
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?b WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:Q8386 ) ( ontology:Q181394 ) } } GROUP BY ?b } . FILTER ( ?e = 30 ) }
action approx
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
value 30
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?b WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:drug ) ( ontology:nutrient ) } } GROUP BY ?b } . FILTER ( ?e = 30 ) }
[]
nutrient nutrient drug
Q21108118 Q21110872 Q288797
SYSTEM
5-hydroxytryptamine receptor 2C, D(3) dopamine receptor, 5-hydroxytryptamine receptor 1B
Q7050954 Q287961 Q410142 Q288797 Q21110872 Q21108118 Q21115046
(c(Q181394)|c(Q8386),P129,c(Q181394))
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
value 30
Around 30 nutrients and drugs collaborate with [ANSWERS]
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?b WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:Q8386 ) ( ontology:Q181394 ) } } GROUP BY ?b } . FILTER ( ?e = 30 ) }
Sodium-dependent noradrenaline transporter Beta-2 adrenergic receptor Sodium-dependent serotonin transporter 5-hydroxytryptamine receptor 1B D(3) dopamine receptor 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1D
Around 30 nutrients and drugs collaborate with 5-hydroxytryptamine receptor 2C, D(3) dopamine receptor and 5-hydroxytryptamine receptor 1B
5-hydroxytryptamine receptor 2C D(3) dopamine receptor 5-hydroxytryptamine receptor 1B
action approx
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
value 30
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?b WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:drug ) ( ontology:nutrient ) } } GROUP BY ?b } . FILTER ( ?e = 30 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q21115043 Q21108118
P129
Q8386
USER
Which drugs contact 5-hydroxytryptamine receptor 2C and 5-hydroxytryptamine receptor 1A ?
AND((c(Q8386),P129,Q21108118), (c(Q8386),P129,Q21115043))
action filter_type
action intersection
action find_reverse
entity Q21108118
relation P129
action find_reverse
entity Q21115043
relation P129
type Q8386
{'AND': [[{'concept': 'Q8386'}, 'P129', 'Q21108118'], [{'concept': 'Q8386'}, 'P129', 'Q21115043']]}
SELECT DISTINCT ?m WHERE { ?m property:P129 resource:Q21115043 . ?m property:P129 resource:Q21108118 . ?m rdf:type ontology:Q8386 }
5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2C
action filter_type
action intersection
action find_reverse
entity 5-hydroxytryptamine receptor 2C
relation physically interacts with
action find_reverse
entity 5-hydroxytryptamine receptor 1A
relation physically interacts with
type drug
{'AND': [[{'concept': 'drug'}, 'physically interacts with', '5-hydroxytryptamine receptor 2C'], [{'concept': 'drug'}, 'physically interacts with', '5-hydroxytryptamine receptor 1A']]}
SELECT DISTINCT ?m WHERE { ?m property:physically_interacts_with resource:5-hydroxytryptamine_receptor_1A . ?m property:physically_interacts_with resource:5-hydroxytryptamine_receptor_2C . ?m rdf:type ontology:drug }
[]
drug
Q412443 Q418050 Q7702355 Q423308 Q6821618 Q269111 Q6824154 Q415752 Q3008033 Q424446
SYSTEM
Some of them are risperidone, sertindole, terguride, cabergoline, mesoridazine, apomorphine, methiothepin, pergolide, Cyamemazine, lisuride
Q411188 Q7702355 Q58375 Q418050 Q205517 Q423308 Q23118 Q3008033 Q221361 Q412443 Q6821618 Q201872 Q269111 Q415752 Q407972 Q6824154 Q226905 Q3563148 Q424446 Q413581
AND((c(Q8386),P129,Q21108118), (c(Q8386),P129,Q21115043))
action filter_type
action intersection
action find_reverse
entity Q21108118
relation P129
action find_reverse
entity Q21115043
relation P129
type Q8386
[ANSWERS] contact 5-hydroxytryptamine receptor 2C and 5-hydroxytryptamine receptor 1A
{'AND': [[{'concept': 'Q8386'}, 'P129', 'Q21108118'], [{'concept': 'Q8386'}, 'P129', 'Q21115043']]}
SELECT DISTINCT ?m WHERE { ?m property:P129 resource:Q21115043 . ?m property:P129 resource:Q21108118 . ?m rdf:type ontology:Q8386 }
aripiprazole terguride thioridazine sertindole ziprasidone cabergoline LSD Cyamemazine clozapine risperidone mesoridazine Olanzapine apomorphine pergolide chlorpromazine methiothepin zotepine vortioxetine lisuride bromocriptine
Risperidone, sertindole, terguride, cabergoline, mesoridazine, apomorphine, methiothepin, pergolide, Cyamemazine and lisuride contact 5-hydroxytryptamine receptor 2C and 5-hydroxytryptamine receptor 1A
risperidone sertindole terguride cabergoline mesoridazine apomorphine methiothepin pergolide Cyamemazine lisuride
action filter_type
action intersection
action find_reverse
entity 5-hydroxytryptamine receptor 2C
relation physically interacts with
action find_reverse
entity 5-hydroxytryptamine receptor 1A
relation physically interacts with
type drug
{'AND': [[{'concept': 'drug'}, 'physically interacts with', '5-hydroxytryptamine receptor 2C'], [{'concept': 'drug'}, 'physically interacts with', '5-hydroxytryptamine receptor 1A']]}
SELECT DISTINCT ?m WHERE { ?m property:physically_interacts_with resource:5-hydroxytryptamine_receptor_1A . ?m property:physically_interacts_with resource:5-hydroxytryptamine_receptor_2C . ?m rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q412443
P2175
Q2057971
USER
How many health problems require risperidone to be prescribed ?
(Q412443,P2175,c(Q2057971))
action count
action filter_type
action find
entity Q412443
relation P2175
type Q2057971
['Q412443', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Q412443 property:P2175 ?f . ?f rdf:type ontology:Q2057971 }
risperidone
action count
action filter_type
action find
entity risperidone
relation medical condition treated
type health problem
['risperidone', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:risperidone property:medical_condition_treated ?f . ?f rdf:type ontology:health_problem }
[]
health problem
SYSTEM
10
Q19000444 Q18557827 Q2157462 Q131755 Q38404 Q6691991 Q3441028 Q191779 Q12206 Q83030
(Q412443,P2175,c(Q2057971))
action count
action filter_type
action find
entity Q412443
relation P2175
type Q2057971
[ANSWER]
['Q412443', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Q412443 property:P2175 ?f . ?f rdf:type ontology:Q2057971 }
neurotic disorder cocaine abuse schizophreniform disorder bipolar disorder autism pervasive developmental disorder Norum disease Gilles de la Tourette syndrome diabetes mellitus dementia
10
action count
action filter_type
action find
entity risperidone
relation medical condition treated
type health problem
['risperidone', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:risperidone property:medical_condition_treated ?f . ?f rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1851162
Q2057971
USER
And what about Interferon beta-1b?
(Q1851162,P2175,c(Q2057971))
action count
action filter_type
action find
entity Q1851162
relation P2175
type Q2057971
['Q1851162', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q1851162 property:P2175 ?k . ?k rdf:type ontology:Q2057971 }
Interferon beta-1b
action count
action filter_type
action find
entity Interferon beta-1b
relation medical condition treated
type health problem
['Interferon beta-1b', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Interferon_beta-1b property:medical_condition_treated ?k . ?k rdf:type ontology:health_problem }
[]
health problem
SYSTEM
2
(Q1851162,P2175,c(Q2057971))
action count
action filter_type
action find
entity Q1851162
relation P2175
type Q2057971
[ANSWER]
['Q1851162', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q1851162 property:P2175 ?k . ?k rdf:type ontology:Q2057971 }
2
action count
action filter_type
action find
entity Interferon beta-1b
relation medical condition treated
type health problem
['Interferon beta-1b', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Interferon_beta-1b property:medical_condition_treated ?k . ?k rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q21115043 Q288797
P129
Q8386
USER
Which drugs do 5-hydroxytryptamine receptor 1B and 5-hydroxytryptamine receptor 1A communicate with ?
AND((Q288797,P129,c(Q8386)), (Q21115043,P129,c(Q8386)))
action filter_type
action intersection
action find
entity Q288797
relation P129
action find
entity Q21115043
relation P129
type Q8386
{'AND': [['Q288797', 'P129', {'concept': 'Q8386'}], ['Q21115043', 'P129', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?e WHERE { resource:Q288797 property:P129 ?e . resource:Q21115043 property:P129 ?e . ?e rdf:type ontology:Q8386 }
5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 1B
action filter_type
action intersection
action find
entity 5-hydroxytryptamine receptor 1B
relation physically interacts with
action find
entity 5-hydroxytryptamine receptor 1A
relation physically interacts with
type drug
{'AND': [['5-hydroxytryptamine receptor 1B', 'physically interacts with', {'concept': 'drug'}], ['5-hydroxytryptamine receptor 1A', 'physically interacts with', {'concept': 'drug'}]]}
SELECT DISTINCT ?e WHERE { resource:5-hydroxytryptamine_receptor_1B property:physically_interacts_with ?e . resource:5-hydroxytryptamine_receptor_1A property:physically_interacts_with ?e . ?e rdf:type ontology:drug }
[]
drug
Q7702355 Q411188 Q413581 Q6824154 Q415032 Q412443 Q218820 Q415118 Q423308 Q424446
SYSTEM
Some of them are terguride, aripiprazole, bromocriptine, methiothepin, eletriptan, risperidone, zolmitriptan, pipamperone, cabergoline, lisuride
Q424446 Q421315 Q423308 Q416978 Q201872 Q205517 Q218820 Q3563148 Q6824154 Q415118 Q412226 Q410195 Q7702355 Q418050 Q415752 Q412443 Q212171 Q411188 Q226905 Q221361 Q415032 Q413581
AND((Q288797,P129,c(Q8386)), (Q21115043,P129,c(Q8386)))
action filter_type
action intersection
action find
entity Q288797
relation P129
action find
entity Q21115043
relation P129
type Q8386
[ANSWERS] 5-hydroxytryptamine receptor 1B and 5-hydroxytryptamine receptor 1A communicate with
{'AND': [['Q288797', 'P129', {'concept': 'Q8386'}], ['Q21115043', 'P129', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?e WHERE { resource:Q288797 property:P129 ?e . resource:Q21115043 property:P129 ?e . ?e rdf:type ontology:Q8386 }
lisuride naratriptan cabergoline sumatriptan Olanzapine ziprasidone zolmitriptan vortioxetine methiothepin pipamperone yohimbine frovatriptan terguride sertindole pergolide risperidone rizatriptan aripiprazole zotepine clozapine eletriptan bromocriptine
Terguride, aripiprazole, bromocriptine, methiothepin, eletriptan, risperidone, zolmitriptan, pipamperone, cabergoline and lisuride 5-hydroxytryptamine receptor 1B and 5-hydroxytryptamine receptor 1A communicate with
terguride aripiprazole bromocriptine methiothepin eletriptan risperidone zolmitriptan pipamperone cabergoline lisuride
action filter_type
action intersection
action find
entity 5-hydroxytryptamine receptor 1B
relation physically interacts with
action find
entity 5-hydroxytryptamine receptor 1A
relation physically interacts with
type drug
{'AND': [['5-hydroxytryptamine receptor 1B', 'physically interacts with', {'concept': 'drug'}], ['5-hydroxytryptamine receptor 1A', 'physically interacts with', {'concept': 'drug'}]]}
SELECT DISTINCT ?e WHERE { resource:5-hydroxytryptamine_receptor_1B property:physically_interacts_with ?e . resource:5-hydroxytryptamine_receptor_1A property:physically_interacts_with ?e . ?e rdf:type ontology:drug }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P129
Q8386 Q181394
USER
How many drugs do lesser number of nutrients collaborate with than that drug ?
(c(Q181394),P129,c(Q8386))
[{'concept': 'Q181394'}, 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P129 ?y . ?z rdf:type ontology:Q181394 . ?y rdf:type ontology:Q8386 }
[{'concept': 'nutrient'}, 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:physically_interacts_with ?y . ?z rdf:type ontology:nutrient . ?y rdf:type ontology:drug }
[]
drug nutrient
Comparative|Count over More/Less|Single entity type|Clarification
Q423308
SYSTEM
Did you mean cabergoline ?
(c(Q181394),P129,c(Q8386))
[ANSWER]
[{'concept': 'Q181394'}, 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P129 ?y . ?z rdf:type ontology:Q181394 . ?y rdf:type ontology:Q8386 }
Did you mean cabergoline ?
cabergoline
[{'concept': 'nutrient'}, 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:physically_interacts_with ?y . ?z rdf:type ontology:nutrient . ?y rdf:type ontology:drug }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant risperidone. Could you tell me the answer for that?
(c(Q181394),P129,c(Q8386))
Q412443
[{'concept': 'Q181394'}, 'P129', {'concept': 'Q8386'}]
[{'concept': 'nutrient'}, 'physically interacts with', {'concept': 'drug'}]
[]
SYSTEM
673
Q5186964 Q3617574 Q7363205 Q424378 Q2608288 Q7521885 Q818165 Q218820 Q4567614 Q5199066 Q416701 Q417915 Q212272 Q1752915 Q6695342 Q421052 Q31030 Q417465 Q5871149 Q287415 Q416463 Q408163 Q3530324 Q193572 Q419186 Q8564098 Q58713 Q409761 Q668093 Q415793 Q947266 Q18936 Q413690 Q419822 Q413050 Q385370 Q685119 Q2465218 Q58396 Q58397 Q153 Q408641 Q59412 Q425654 Q26963 Q419646 Q21506464 Q419820 Q412143 Q419824 Q408588 Q418928 Q170304 Q4006490 Q4832285 Q421274 Q269111 Q412194 Q424952 Q420207 Q190012 Q411461 Q3011604 Q415081 Q4890934 Q418192 Q416516 Q420590 Q415203 Q241150 Q377342 Q929420 Q5613542 Q23118 Q39111 Q418857 Q340139 Q1185089 Q784717 Q321431 Q413744 Q421475 Q418101 Q201370 Q407241 Q418459 Q411412 Q305555 Q11711607 Q424508 Q7131441 Q201872 Q282902 Q205517 Q2359690 Q409236 Q6821618 Q5132472 Q7681221 Q6590349 Q1640947 Q417813 Q5515384 Q4738021 Q423357 Q2701912 Q4781812 Q177094 Q411648 Q32921 Q407541 Q425470 Q7340703 Q414914 Q424340 Q5134875 Q2697578 Q416632 Q4353252 Q412486 Q258591 Q425289 Q736113 Q417555 Q417884 Q637247 Q2603363 Q421709 Q155683 Q410358 Q419319 Q5429279 Q303646 Q3121121 Q4161380 Q422806 Q1706418 Q773449 Q407721 Q423071 Q421336 Q261167 Q183011 Q422232 Q409721 Q385347 Q867350 Q409898 Q319877 Q2014797 Q418139 Q408265 Q418817 Q418819 Q213511 Q29417 Q251347 Q15304877 Q407617 Q3294630 Q2342544 Q20817216 Q7383611 Q423498 Q408557 Q1749609 Q411457 Q411456 Q420886 Q421637 Q607349 Q1074056 Q4734170 Q422970 Q2419445 Q521173 Q256502 Q414275 Q424965 Q415996 Q904647 Q248550 Q367700 Q415970 Q421429 Q410074 Q277979 Q6952318 Q421119 Q421930 Q421937 Q166476 Q15408417 Q421934 Q424049 Q670131 Q352348 Q2458673 Q593166 Q170545 Q417689 Q415550 Q634959 Q198473 Q410198 Q174723 Q411770 Q413486 Q193978 Q194974 Q426185 Q905835 Q4927426 Q579348 Q3891664 Q424312 Q425223 Q907160 Q417630 Q3495231 Q415159 Q5308606 Q410551 Q408676 Q407988 Q422740 Q553223 Q1996756 Q418669 Q417141 Q15149723 Q425137 Q132621 Q2735334 Q421369 Q1992452 Q577387 Q5908266 Q862989 Q423762 Q58376 Q15708271 Q424037 Q421091 Q58375 Q421094 Q421095 Q1988832 Q61387 Q3332124 Q3985253 Q416132 Q68566 Q7705415 Q300989 Q1240093 Q415744 Q408556 Q420262 Q3077133 Q7083106 Q423111 Q2991856 Q1169561 Q218284 Q794162 Q733186 Q5264583 Q418480 Q420885 Q55434 Q15409374 Q415401 Q414463 Q415403 Q166825 Q425911 Q181003 Q410663 Q7833138 Q412479 Q18216 Q5646925 Q975059 Q3978097 Q218842 Q4882925 Q420009 Q1317131 Q423437 Q2211523 Q417240 Q415118 Q426132 Q7650517 Q5613599 Q3008033 Q412327 Q419143 Q632405 Q15269707 Q207920 Q165399 Q410595 Q155472 Q905901 Q408717 Q19598139 Q57055 Q4890814 Q212171 Q218507 Q422482 Q407841 Q7842225 Q422222 Q6535758 Q2195995 Q2146170 Q417740 Q189522 Q1149099 Q422229 Q6523413 Q420644 Q420133 Q408963 Q3877030 Q5065704 Q414143 Q240642 Q421304 Q420553 Q422416 Q347613 Q422418 Q410291 Q621834 Q419995 Q3800087 Q411441 Q577377 Q4199443 Q421352 Q567927 Q411887 Q419890 Q729213 Q422252 Q412699 Q420188 Q424976 Q424972 Q2736873 Q423075 Q418050 Q368941 Q620730 Q5473324 Q134658 Q421076 Q3832559 Q407431 Q423989 Q5373824 Q419939 Q32089 Q5462791 Q1452256 Q418361 Q421920 Q420350 Q424771 Q4875166 Q3633651 Q2139543 Q412534 Q410789 Q10354103 Q422188 Q424156 Q280786 Q424151 Q423930 Q419028 Q60235 Q417997 Q414462 Q273169 Q421072 Q416444 Q411781 Q410534 Q422618 Q407883 Q422185 Q420360 Q210402 Q7238392 Q416992 Q139195 Q416584 Q412963 Q415220 Q420077 Q423439 Q410546 Q179996 Q419059 Q6534827 Q3496452 Q58356 Q20817244 Q419374 Q958087 Q68484 Q425120 Q421315 Q422782 Q144085 Q186969 Q412496 Q7157043 Q693482 Q417654 Q423751 Q422212 Q422210 Q420571 Q423757 Q44931 Q6724151 Q7702355 Q418145 Q415122 Q867308 Q894611 Q408432 Q186242 Q16868421 Q408535 Q5030940 Q411188 Q821869 Q62947 Q2736126 Q415752 Q419472 Q421381 Q411917 Q12745763 Q22075856 Q5037818 Q29310 Q7814620 Q424442 Q1992653 Q202998 Q424297 Q275926 Q2487682 Q7687250 Q414904 Q424597 Q413840 Q327362 Q410195 Q415032 Q1747559 Q5161126 Q4363248 Q421136 Q5026909 Q414873 Q3611854 Q2637746 Q2579108 Q424167 Q424165 Q424163 Q424161 Q372539 Q898407 Q4688818 Q395229 Q3324838 Q408801 Q417909 Q2662662 Q2979523 Q2393348 Q414986 Q6095693 Q426386 Q421042 Q155746 Q255968 Q2070286 Q3275451 Q3655338 Q412690 Q15366934 Q3342150 Q410400 Q7237376 Q416978 Q419724 Q41576 Q216935 Q3563148 Q412957 Q239426 Q795057 Q409587 Q5303688 Q905755 Q419550 Q2823284 Q408977 Q5984881 Q419663 Q243547 Q419832 Q11426176 Q21011234 Q21011235 Q21011233 Q388801 Q418523 Q411347 Q20817273 Q408471 Q421268 Q411932 Q1075324 Q190067 Q421342 Q422244 Q409672 Q772735 Q420626 Q901963 Q418060 Q907219 Q5399299 Q3790542 Q178450 Q421862 Q423364 Q900898 Q244408 Q409192 Q631202 Q412133 Q411985 Q1207210 Q425296 Q425946 Q3570984 Q413772 Q414028 Q3712521 Q7699074 Q219626 Q180912 Q409231 Q7844989 Q421910 Q924467 Q412529 Q190875 Q764283 Q417942 Q415433 Q221174 Q5437132 Q417824 Q7914515 Q421768 Q425838 Q81225 Q407418 Q411325 Q5119448 Q179452 Q423288 Q20994 Q416473 Q7088466 Q265352 Q2823312 Q407781 Q255680 Q4830631 Q928378 Q267896 Q834280 Q7307897 Q424333 Q424238 Q417222 Q412221 Q6827783 Q412226 Q413591 Q425680 Q416331 Q425729 Q407308 Q417542 Q408300 Q6824154 Q7694156 Q58614 Q423890 Q422724 Q304285 Q847399 Q662511 Q318369 Q3706987 Q423741 Q414745 Q419769 Q1002165 Q2357007 Q420542 Q417767 Q6535779 Q417765 Q15708292 Q409468 Q419940 Q2555245 Q821641 Q424751 Q422438 Q4789167 Q519447 Q3791612 Q412178 Q423520 Q409492 Q420323 Q1215575 Q421230 Q409948 Q3702534 Q905664 Q20539232 Q411517 Q2354337 Q424477 Q410011 Q411515 Q386441 Q422112 Q178566 Q7941753 Q413546 Q423417 Q408883 Q2924764 Q413784 Q284321 Q410069 Q384295 Q191521 Q420436 Q410061 Q418785 Q420377 Q15053666
(c(Q181394),P129,c(Q8386))
[ANSWER]
[{'concept': 'Q181394'}, 'P129', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P129 ?y . ?z rdf:type ontology:Q181394 . ?y rdf:type ontology:Q8386 }
crizotinib anisindione romidepsin succinylcholine thiothixene CCK-8 benserazide zolmitriptan mycophenolate mofetil cyclothiazide mianserin sufentanil hydroxyurea trifluoperazine lubiprostone Everolimus xylometazoline mitotane histrelin cholic acid alosetron anagrelide tofacitinib salicylic acid ergotamine fluticasone propionate clomipramine amantidine Atorvastatin (-)-pentazocine Irbesartan doxorubicin acetazolamide promazine tetrabenazine desoximetasone methoxamine etodolac Imipramine amitriptyline ethanol L-Citrulline tolfenamic acid indacaterol progesterone drospirenone osimertinib azelastine triazolam phenoxybenzamine vilazodone fenfluramine dopamine Urofollitropin azasetron dantrolene apomorphine buspirone nadolol capecitabine adenosine pilocarpine dabrafenib donepezil bepridil bexarotene enoxaparin ropinirole tripelennamine aminoglutethimide propylthiouracil trandolapril guanabenz LSD nifedipine acebutolol lorcaserin butorphanol eprosartan abiraterone lumiracoxib beclometasone dipropionate pindolol alprenolol phenobarbital bilobalide rofecoxib abarelix Ixabepilone ergometrine panobinostat Olanzapine naloxone ziprasidone prochlorperazine Fluvoxamine mesoridazine clidinium tamibarotene perospirone phenindione oxymetazoline gabexate alvimopan eugenol clofibrate apraclonidine imatinib tacrolimus halothane fentanyl pentostatin robalzotan biperiden terbutaline clofarabine fludrocortisone nefazodone nalmefene allopurinol cilostazol chlorthalidone difluprednate teniposide cyproheptadine formoterol chlorothiazide nandrolone calcipotriol salbutamol Bortezomib fadrozole hydromorphone saxagliptin dydrogesterone bupivacaine Dextroamphetamine T4 buprenorphine midazolam dihydroergotamine ibudilast vasopressin methotrexate estriol thioguanine cilazapril dapagliflozin alprazolam Ketorolac Esmolol Lorazepam etoposide exemestane Erythromycin all-trans-retinoic acid haloperidol raltitrexed sertraline chlorzoxazone acipimox testosterone propionate ruxolitinib trimipramine telaprevir oxaprozin trazodone methocarbamol dicumarol Clobetasol propionate fluorometholone triamcinolone alogliptin promethazine desvenlafaxine aclidinium Alpha-Linolenic Acid tolbutamide dapoxetine flibanserin dexetimide leflunomide Cyclosporine candesartan nimodipine losartan nalbuphine NAN 190 captopril mirtazapine hydroxyzine darifenacin methyltyrosine moclobemide loratadine simvastatin adapalene Ketotifen molindone L-Phenylalanine ramelteon Isoprenaline latanoprost (isopropyl ester) Ziconotide L-Ornithine codeine silodosin diphenhydramine cinacalcet letrozole Cyproterone acetate plerixafor blonanserin PGE1 regorafenib tolterodine raloxifene leuprolide aniracetam treprostinil rosuvastatin dromostanolone propionate boceprevir piroxicam clonazepam propofol esomeprazole enzalutamide flutamide econazole nintedanib fingolimod (-)-adrenaline Pralidoxime maraviroc triptorelin bezafibrate idelalisib nicorandil Paclitaxel fluphenazine obeticholic acid roxithromycin (R)-cetirizine thioridazine hydroxychloroquine metoclopramide bicalutamide nortriptyline mecamylamine testolactone betamethasone mosapride Tesamorelin levodopa Pravastatin riluzole levobunolol rivaroxaban teriflunomide olaparib vemurafenib trihexyphenidyl metolazone zofenopril Betaxolol telmisartan deslanoside tamsulosin tranylcypromine pethidine nafamostat dorzolamide tapentadol flupirtine ibandronic acid miglustat L-Tryptophan fluoxymesterone trametinib mesalazine acetylsalicylic acid sivelestat ulipristal acetate suprofen zolpidem Belinostat diazoxide tasosartan astemizole safinamide atomoxetine pipamperone tolvaptan suvorexant guanfacine Cyamemazine nilotinib anastrozole epinastine palbociclib γ-hydroxybutyric acid Azithromycin physostigmine Valsartan vorinostat Eribulin netupitant paracetamol benzquinamide rizatriptan zoledronic acid gentamicin reserpine trimetrexate Digoxin levobetaxolol repaglinide retigabine lovastatin quinine methazolamide diltiazem lenvatinib felodipine chlorpheniramine indoramin nilutamide Cetrorelix gemcitabine valproic acid pramipexole mycophenolic acid 17β-estradiol valdecoxib sulpiride verapamil aprepitant amiloride pyrilamine hydrocodone brimonidine iloperidone norethisterone pipotiazine rivastigmine flurbiprofen nicardipine dexamethasone bufexamac fenoterol Vitamin A prednisone alfuzosin cetirizine sertindole lofepramine Glycine fosaprepitant nicotinic acid tacrine Linaclotide Warfarin diethylstilbestrol empagliflozin doxazosin Sirolimus fluocinonide (-)-sulpiride maprotiline flumazenil flupentixol Rosiglitazone bazedoxifene bambuterol tafluprost carvedilol ambrisentan probucol spironolactone tadalafil terazosin sibutramine hydrochlorothiazide chenodeoxycholic acid caffeine ezetimibe apixaban capsaicin pyrimethamine entacapone Teriparatide miconazole ritonavir Ketoconazole enalapril phentolamine diazepam pranlukast lurasidone Calcitriol nitrendipine cabazitaxel pemetrexed lacosamide cerivastatin neostigmine methadone bethanechol levallorphan ciprofibrate amoxapine cimadronate dipyridamole labetalol prucalopride Disopyramide naratriptan dobutamine pimozide ibuprofen quinidine pazopanib roflumilast triprolidine loperamide budesonide omeprazole ticlopidine escitalopram sarpogrelate macitentan terguride clemastine fexofenadine cyclizine bosutinib protriptyline (-)-noradrenaline icotinib quetiapine canagliflozin aripiprazole pinacidil flunitrazepam cephalothin pergolide pyridostigmine flecainide glycopyrrolate α-methylnoradrenaline sonidegib carazolol tropicamide tolrestat methysergide Goserelin zileuton pancuronium bumetanide bromfenac tasimelteon aliskiren Spermine tolcapone triiodothyronine frovatriptan eletriptan phenelzine conivaptan pirlindole sorafenib camostat Isradipine alitretinoin trabectedin levorphanol finasteride minoxidil orlistat vardenafil fampridine venlafaxine afatinib agomelatine oxiglutatione celecoxib terfenadine dicyclomine ramosetron bimatoprost estrone Ivacaftor ingenol mebutate vildagliptin paricalcitol 6-aminocaproic acid vismodegib propantheline cangrelor galantamine carfilzomib nisoldipine phenytoin practolol sumatriptan fenofibrate cocaine lidocaine vortioxetine ajmalicine mitoxantrone cabozantinib naltrexone doxercalciferol carprofen pirenzepine meclofenamic acid vincristine ibrutinib methimazole Ketamine sitagliptin prednisolone edoxaban umeclidinium ceritinib furosemide niclosamide amlodipine hexestrol Paroxetine tubocurarine duloxetine chlorpropamide Δ9-tetrahydrocannabinol phenylbutazone fluoxetine citalopram miglitol glibenclamide dapiprazole desloratadine tiagabine reboxetine sufinpyrazone L-Aspartic Acid ribavirin propranolol probenecid diclofenac Ketoprofen etoricoxib dexmedetomidine rotigotine dexmethylphenidate prazosin suramin ximelagatran Tolazoline meloxicam dofetilide temsirolimus (-)-ephedrine melatonin indomethacin Troglitazone phenylephrine fluocinolone acetonide rimonabant cortisol ethylestrenol Fluvastatin naphazoline topiramate fasudil gefitinib vandetanib methyltestosterone bupranolol morphine (-)-menthol atenolol ciclesonide Amphetamine desipramine nimesulide orciprenaline olodaterol ethoxzolamide tiludronic acid dextromethorphan mazindol axitinib zafirlukast Phenprocoumon bupropion regadenoson salmeterol domperidone methylprednisolone clonidine mibefradil yohimbine sotalol Deoxycholic Acid pentoxifylline Ivabradine theophylline sunitinib fluspirilene methiothepin teduglutide loxapine digitoxin Amrinone niflumic acid milrinone propafenone Adenosine monophosphate diclofenamide procaine buserelin bosentan fluticasone fenoldopam ticagrelor montelukast levomilnacipran pioglitazone cobimetinib metoprolol dasatinib fenoprofen metyrapone eflornithine chloroquine arformoterol tafamidis ibutilide tamoxifen perphenazine cimetidine lapatinib naproxen auranofin nomifensine mirabegron sitaxsentan eluxadoline brinzolamide Phosphatidyl serine methylergonovine ondansetron methylnaltrexone meclizine methylphenidate chlordiazepoxide vorapaxar clotrimazole Imiquimod thymol brexpiprazole pizotifen mefenamic acid piracetam gemfibrozil sildenafil docetaxel amiodarone amisulpride mexiletine vilanterol
673
[{'concept': 'nutrient'}, 'physically interacts with', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:physically_interacts_with ?y . ?z rdf:type ontology:nutrient . ?y rdf:type ontology:drug }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q412443
P2176
Q2057971
USER
Which health problems require risperidone as a remedy ?
(c(Q2057971),P2176,Q412443)
action filter_type
action find_reverse
entity Q412443
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', 'Q412443']
SELECT DISTINCT ?a WHERE { ?a property:P2176 resource:Q412443 . ?a rdf:type ontology:Q2057971 }
risperidone
action filter_type
action find_reverse
entity risperidone
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'risperidone']
SELECT DISTINCT ?a WHERE { ?a property:drug_used_for_treatment resource:risperidone . ?a rdf:type ontology:health_problem }
[]
health problem
Q131755 Q19000444 Q2157462
SYSTEM
bipolar disorder, neurotic disorder, schizophreniform disorder
Q19000444 Q3441028 Q6691991 Q38404 Q191779 Q2157462 Q18557827 Q131755 Q12206 Q83030
(c(Q2057971),P2176,Q412443)
action filter_type
action find_reverse
entity Q412443
relation P2176
type Q2057971
[ANSWERS] require risperidone as a remedy
[{'concept': 'Q2057971'}, 'P2176', 'Q412443']
SELECT DISTINCT ?a WHERE { ?a property:P2176 resource:Q412443 . ?a rdf:type ontology:Q2057971 }
neurotic disorder Norum disease pervasive developmental disorder autism Gilles de la Tourette syndrome schizophreniform disorder cocaine abuse bipolar disorder diabetes mellitus dementia
Bipolar disorder, neurotic disorder and schizophreniform disorder require risperidone as a remedy
bipolar disorder neurotic disorder schizophreniform disorder
action filter_type
action find_reverse
entity risperidone
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'risperidone']
SELECT DISTINCT ?a WHERE { ?a property:drug_used_for_treatment resource:risperidone . ?a rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q131755 Q19000444 Q2157462
P2176
Q8386
USER
Which drugs are prescribed for those health problems ?
(Q131755,P2176,c(Q8386)) (Q19000444,P2176,c(Q8386)) (Q2157462,P2176,c(Q8386))
action filter_type
action find
entity prev_answer
relation P2176
type Q8386
['Q131755', 'P2176', {'concept': 'Q8386'}] ['Q19000444', 'P2176', {'concept': 'Q8386'}] ['Q2157462', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?c WHERE { ?i property:P2176 ?c . ?c rdf:type ontology:Q8386 . VALUES ( ?i ) { ( resource:Q19000444 ) ( resource:Q3441028 ) ( resource:Q6691991 ) } }
bipolar disorder neurotic disorder schizophreniform disorder
action filter_type
action find
entity prev_answer
relation drug used for treatment
type drug
['bipolar disorder', 'drug used for treatment', {'concept': 'drug'}] ['neurotic disorder', 'drug used for treatment', {'concept': 'drug'}] ['schizophreniform disorder', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?c WHERE { ?i property:drug_used_for_treatment ?c . ?c rdf:type ontology:drug . VALUES ( ?i ) { ( resource:neurotic_disorder ) ( resource:Norum_disease ) ( resource:pervasive_developmental_disorder ) } }
[]
drug
Q183011 Q407972 Q251347
SYSTEM
vasopressin, chlorpromazine, haloperidol
Q907219 Q152763 Q18216 Q201872 Q410346 Q415744 Q670131 Q414873 Q410412 Q58614 Q251347 Q423292 Q412443 Q417689 Q408535 Q407988 Q411188 Q422112 Q221174 Q412486 Q221361 Q410352 Q240642 Q410273 Q416791 Q58356 Q422416 Q152763 Q410441 Q201872 Q61387 Q420009 Q409236 Q415744 Q412194 Q408471 Q319877 Q5104342 Q834280 Q898407 Q2924764 Q183011 Q410346 Q421930 Q1747559 Q411347 Q407308 Q414796 Q423757 Q58713 Q408265 Q407617 Q421304 Q408432 Q412443 Q416632 Q244408 Q423498 Q422222 Q411188 Q422112 Q411457 Q420885 Q418361 Q413918 Q58396 Q58397 Q409595 Q7687250 Q422244 Q2419445 Q410237 Q409672 Q423288 Q471763 Q410358 Q58376 Q419822 Q58375 Q18216 Q2608288 Q201872 Q423809 Q2359690 Q407972 Q144085 Q6821618 Q423520 Q4199443 Q1752915 Q593166 Q423292 Q410412 Q58614 Q412443 Q417204 Q251347 Q408535 Q174259 Q411188 Q221361 Q510494 Q4673284
(Q131755,P2176,c(Q8386)) (Q19000444,P2176,c(Q8386)) (Q2157462,P2176,c(Q8386))
action filter_type
action find
entity prev_answer
relation P2176
type Q8386
[ANSWERS] are prescribed for those health problems
['Q131755', 'P2176', {'concept': 'Q8386'}] ['Q19000444', 'P2176', {'concept': 'Q8386'}] ['Q2157462', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?c WHERE { ?i property:P2176 ?c . ?c rdf:type ontology:Q8386 . VALUES ( ?i ) { ( resource:Q19000444 ) ( resource:Q3441028 ) ( resource:Q6691991 ) } }
tiagabine Lithium acetylsalicylic acid Olanzapine lamotrigine riluzole simvastatin Isradipine carbamazepine loxapine haloperidol paliperidone risperidone ramelteon quetiapine clonazepam aripiprazole methylphenidate topiramate allopurinol clozapine gabapentin valproic acid Eslicarbazepine acetate Doxepin amoxapine 17β-estradiol Lithium modafinil Olanzapine nortriptyline diazoxide Fluvoxamine riluzole buspirone Paroxetine alprazolam Oxtriphylline bupropion venlafaxine brexpiprazole vasopressin lamotrigine mirtazapine phenelzine amlodipine theophylline temazepam escitalopram clomipramine Lorazepam sertraline pramipexole protriptyline risperidone nefazodone diclofenac trimipramine Digoxin aripiprazole methylphenidate trazodone tranylcypromine maprotiline Isoflurane Imipramine amitriptyline Isocarboxazid tasimelteon fluoxetine desvenlafaxine clopidogrel citalopram desipramine Aminophylline salbutamol fluphenazine promazine thioridazine acetylsalicylic acid thiothixene Olanzapine Chlorprothixene prochlorperazine chlorpromazine pimozide mesoridazine perphenazine iloperidone trifluoperazine molindone paliperidone carbamazepine loxapine risperidone levomepromazine haloperidol quetiapine droperidol aripiprazole clozapine triflupromazine Acetophenazine
Vasopressin, chlorpromazine and haloperidol are prescribed for those health problems
vasopressin chlorpromazine haloperidol
action filter_type
action find
entity prev_answer
relation drug used for treatment
type drug
['bipolar disorder', 'drug used for treatment', {'concept': 'drug'}] ['neurotic disorder', 'drug used for treatment', {'concept': 'drug'}] ['schizophreniform disorder', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?c WHERE { ?i property:drug_used_for_treatment ?c . ?c rdf:type ontology:drug . VALUES ( ?i ) { ( resource:neurotic_disorder ) ( resource:Norum_disease ) ( resource:pervasive_developmental_disorder ) } }
[]