Simple Question (Direct)
Simple Question
Q21168861
P703
Q16521
USER
Which taxon is aspartokinase    CTL0616 found in ?
(Q21168861,P703,c(Q16521))
action filter_type
action find
entity Q21168861
relation P703
type Q16521
['Q21168861', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?b WHERE { resource:Q21168861 property:P703 ?b . ?b rdf:type ontology:Q16521 }
aspartokinase    CTL0616
action filter_type
action find
entity aspartokinase    CTL0616
relation found in taxon
type taxon
['aspartokinase    CTL0616', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?b WHERE { resource:aspartokinase____CTL0616 property:found_in_taxon ?b . ?b rdf:type ontology:taxon }
[]
taxon
Q20800254
SYSTEM
Chlamydia trachomatis 434/BU
Q20800254
(Q21168861,P703,c(Q16521))
action filter_type
action find
entity Q21168861
relation P703
type Q16521
[ANSWER] is aspartokinase CTL0616 found in
['Q21168861', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?b WHERE { resource:Q21168861 property:P703 ?b . ?b rdf:type ontology:Q16521 }
Chlamydia trachomatis 434/BU
Chlamydia trachomatis 434/BU is aspartokinase CTL0616 found in
Chlamydia trachomatis 434/BU
action filter_type
action find
entity aspartokinase    CTL0616
relation found in taxon
type taxon
['aspartokinase    CTL0616', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?b WHERE { resource:aspartokinase____CTL0616 property:found_in_taxon ?b . ?b rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20800254
P1542
Q2057971
USER
What do that taxon result in ?
(Q20800254,P1542,c(Q2057971))
action filter_type
action find
entity Q20800254
relation P1542
type Q2057971
['Q20800254', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q20800254 property:P1542 ?h . ?h rdf:type ontology:Q2057971 }
Chlamydia trachomatis 434/BU
action filter_type
action find
entity Chlamydia trachomatis 434/BU
relation cause of
type health problem
['Chlamydia trachomatis 434/BU', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Chlamydia_trachomatis_434/BU property:cause_of ?h . ?h rdf:type ontology:health_problem }
[]
health problem
Q694552 Q153356
SYSTEM
lymphogranuloma venereum, chlamydia
Q694552 Q153356
(Q20800254,P1542,c(Q2057971))
action filter_type
action find
entity Q20800254
relation P1542
type Q2057971
That taxon result [ANSWERS]
['Q20800254', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q20800254 property:P1542 ?h . ?h rdf:type ontology:Q2057971 }
lymphogranuloma venereum chlamydia
That taxon result lymphogranuloma venereum and chlamydia
lymphogranuloma venereum chlamydia
action filter_type
action find
entity Chlamydia trachomatis 434/BU
relation cause of
type health problem
['Chlamydia trachomatis 434/BU', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Chlamydia_trachomatis_434/BU property:cause_of ?h . ?h rdf:type ontology:health_problem }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q569
P828
Q21073024 Q2057971
USER
Which flammable solids causes less number of health problems than beryllium ?
(c(Q2057971),P828,c(Q21073024))
action less
action find_reverse_tuple_counts
relation P828
type Q21073024
type Q2057971
action count
action filter_type
action find_reverse
entity Q569
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q21073024'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:P828 ?b . ?x rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q21073024 } GROUP BY ?b } . FILTER ( ?e < ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P828 resource:Q569 . ?t rdf:type ontology:Q2057971 } } }
beryllium
action less
action find_reverse_tuple_counts
relation has cause
type flammable solid
type health problem
action count
action filter_type
action find_reverse
entity beryllium
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'flammable solid'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:has_cause ?b . ?x rdf:type ontology:health_problem . ?b rdf:type ontology:flammable_solid } GROUP BY ?b } . FILTER ( ?e < ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:has_cause resource:beryllium . ?t rdf:type ontology:health_problem } } }
[]
flammable solid health problem
Q1053 Q1038 Q1123
SYSTEM
molybdenum atom, zirconium, tantalum
Q1119 Q20966901 Q21057310 Q419164 Q1087 Q79583 Q1038 Q21060492 Q1123 Q412265 Q1053 Q20964088 Q670 Q743
(c(Q2057971),P828,c(Q21073024))
action less
action find_reverse_tuple_counts
relation P828
type Q21073024
type Q2057971
action count
action filter_type
action find_reverse
entity Q569
relation P828
type Q2057971
[ANSWERS] cause less number of health problems than beryllium
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q21073024'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:P828 ?b . ?x rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q21073024 } GROUP BY ?b } . FILTER ( ?e < ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P828 resource:Q569 . ?t rdf:type ontology:Q2057971 } } }
hafnium Ferrovanadium cadmium dust Hydroquinone rhodium lithium hydride zirconium arsenic atom tantalum diphenylamine molybdenum atom insoluble uranium compounds silicon tungsten
Molybdenum atom, zirconium and tantalum cause less number of health problems than beryllium
molybdenum atom zirconium tantalum
action less
action find_reverse_tuple_counts
relation has cause
type flammable solid
type health problem
action count
action filter_type
action find_reverse
entity beryllium
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'flammable solid'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:has_cause ?b . ?x rdf:type ontology:health_problem . ?b rdf:type ontology:flammable_solid } GROUP BY ?b } . FILTER ( ?e < ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:has_cause resource:beryllium . ?t rdf:type ontology:health_problem } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q417597 Q153356
P769 P2175
Q8386
USER
Which drugs are used to cure chlamydia and do procainamide significantly interact with ?
AND((c(Q8386),P2175,Q153356), (c(Q8386),P769,Q417597))
action filter_type
action intersection
action find_reverse
entity Q153356
relation P2175
action find_reverse
entity Q417597
relation P769
type Q8386
{'AND': [[{'concept': 'Q8386'}, 'P2175', 'Q153356'], [{'concept': 'Q8386'}, 'P769', 'Q417597']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q8386 . ?t property:P769 resource:Q417597 . ?t property:P2175 resource:Q153356 }
procainamide chlamydia
action filter_type
action intersection
action find_reverse
entity chlamydia
relation medical condition treated
action find_reverse
entity procainamide
relation significant drug interaction
type drug
{'AND': [[{'concept': 'drug'}, 'medical condition treated', 'chlamydia'], [{'concept': 'drug'}, 'significant drug interaction', 'procainamide']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:drug . ?t property:significant_drug_interaction resource:procainamide . ?t property:medical_condition_treated resource:chlamydia }
[]
drug
Q165399 Q118551 Q213511 Q976559
SYSTEM
Azithromycin, Clarithromycin, Erythromycin, Sparfloxacin
Q165399 Q118551 Q213511 Q976559
AND((c(Q8386),P2175,Q153356), (c(Q8386),P769,Q417597))
action filter_type
action intersection
action find_reverse
entity Q153356
relation P2175
action find_reverse
entity Q417597
relation P769
type Q8386
[ANSWERS] are used to cure chlamydia and do procainamide significantly interact with
{'AND': [[{'concept': 'Q8386'}, 'P2175', 'Q153356'], [{'concept': 'Q8386'}, 'P769', 'Q417597']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q8386 . ?t property:P769 resource:Q417597 . ?t property:P2175 resource:Q153356 }
Azithromycin Clarithromycin Erythromycin Sparfloxacin
Azithromycin, Clarithromycin, Erythromycin and Sparfloxacin are used to cure chlamydia and do procainamide significantly interact with
Azithromycin Clarithromycin Erythromycin Sparfloxacin
action filter_type
action intersection
action find_reverse
entity chlamydia
relation medical condition treated
action find_reverse
entity procainamide
relation significant drug interaction
type drug
{'AND': [[{'concept': 'drug'}, 'medical condition treated', 'chlamydia'], [{'concept': 'drug'}, 'significant drug interaction', 'procainamide']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:drug . ?t property:significant_drug_interaction resource:procainamide . ?t property:medical_condition_treated resource:chlamydia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q213511 Q422210
P769
Q8386
USER
How many drugs do Erythromycin or omeprazole significantly interact with ?
(c(Q8386),P769,Q213511) (c(Q8386),P769,Q422210)
action count
action union
action filter_type
action find_reverse
entity Q213511
relation P769
type Q8386
action filter_type
action find_reverse
entity Q422210
relation P769
type Q8386
[{'concept': 'Q8386'}, 'P769', 'Q213511'] [{'concept': 'Q8386'}, 'P769', 'Q422210']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P769 ?t . VALUES ( ?t ) { ( resource:Q213511 ) ( resource:Q422210 ) } }
Erythromycin omeprazole
action count
action union
action filter_type
action find_reverse
entity Erythromycin
relation significant drug interaction
type drug
action filter_type
action find_reverse
entity omeprazole
relation significant drug interaction
type drug
[{'concept': 'drug'}, 'significant drug interaction', 'Erythromycin'] [{'concept': 'drug'}, 'significant drug interaction', 'omeprazole']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:significant_drug_interaction ?t . VALUES ( ?t ) { ( resource:Erythromycin ) ( resource:omeprazole ) } }
[]
drug
SYSTEM
43
Q58375 Q41576 Q422418 Q408163 Q422438 Q10354103 Q425120 Q412197 Q407972 Q670131 Q421336 Q144085 Q6821618 Q424238 Q410011 Q412496 Q4890934 Q3712521 Q413591 Q165399 Q423467 Q423757 Q425295 Q424477 Q419186 Q408637 Q118551 Q251347 Q424940 Q3791612 Q417597 Q174259 Q419394 Q417740 Q417909 Q947595 Q423437 Q409672 Q179996 Q410061 Q421381 Q7739 Q416206
(c(Q8386),P769,Q213511) (c(Q8386),P769,Q422210)
action count
action union
action filter_type
action find_reverse
entity Q213511
relation P769
type Q8386
action filter_type
action find_reverse
entity Q422210
relation P769
type Q8386
[ANSWER]
[{'concept': 'Q8386'}, 'P769', 'Q213511'] [{'concept': 'Q8386'}, 'P769', 'Q422210']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P769 ?t . VALUES ( ?t ) { ( resource:Q213511 ) ( resource:Q422210 ) } }
thioridazine cocaine sulpiride anagrelide chloroquine probucol Disopyramide irinotecan chlorpromazine simvastatin dihydroergotamine pimozide mesoridazine domperidone ondansetron quinidine bepridil dofetilide sotalol Azithromycin Atazanavir escitalopram Cisapride methylergonovine ergotamine dronedarone Clarithromycin haloperidol Moxifloxacin ibutilide procainamide droperidol sevoflurane lovastatin terfenadine Halofantrine astemizole citalopram methadone amiodarone flecainide Arsenic trioxide Pentamidine
43
action count
action union
action filter_type
action find_reverse
entity Erythromycin
relation significant drug interaction
type drug
action filter_type
action find_reverse
entity omeprazole
relation significant drug interaction
type drug
[{'concept': 'drug'}, 'significant drug interaction', 'Erythromycin'] [{'concept': 'drug'}, 'significant drug interaction', 'omeprazole']
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:significant_drug_interaction ?t . VALUES ( ?t ) { ( resource:Erythromycin ) ( resource:omeprazole ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q407431 Q417597
P769
Q8386
USER
Which drugs shows a significant interaction with procainamide or Warfarin ?
OR((Q417597,P769,c(Q8386)), (Q407431,P769,c(Q8386)))
action filter_type
action union
action find
entity Q417597
relation P769
action find
entity Q407431
relation P769
type Q8386
{'OR': [['Q417597', 'P769', {'concept': 'Q8386'}], ['Q407431', 'P769', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q8386 . { { resource:Q417597 property:P769 ?m } UNION { resource:Q407431 property:P769 ?m } } }
Warfarin procainamide
action filter_type
action union
action find
entity procainamide
relation significant drug interaction
action find
entity Warfarin
relation significant drug interaction
type drug
{'OR': [['procainamide', 'significant drug interaction', {'concept': 'drug'}], ['Warfarin', 'significant drug interaction', {'concept': 'drug'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:drug . { { resource:procainamide property:significant_drug_interaction ?m } UNION { resource:Warfarin property:significant_drug_interaction ?m } } }
[]
drug
Q58375 Q2602750 Q186969 Q417942 Q213511 Q417740 Q425295 Q284321 Q773449 Q244408
SYSTEM
Some of them are thioridazine, diflunisal, ibuprofen, Fluvastatin, Erythromycin, lovastatin, Cisapride, mefenamic acid, T4, diclofenac
Q425207 Q58375 Q41576 Q408676 Q422418 Q408163 Q2555245 Q419724 Q422438 Q244408 Q10354103 Q425120 Q409192 Q773449 Q407972 Q144085 Q6821618 Q424238 Q410011 Q1215575 Q412496 Q409672 Q424940 Q4890934 Q415159 Q414028 Q419890 Q3712521 Q413591 Q976559 Q165399 Q409231 Q670131 Q425295 Q410534 Q410412 Q410061 Q213511 Q186969 Q118551 Q412236 Q417942 Q384295 Q6556102 Q179996 Q421381 Q419394 Q3791612 Q416206 Q174259 Q411478 Q415843 Q408801 Q284321 Q417740 Q417909 Q2465218 Q963093 Q947595 Q57055 Q1749609 Q3992411 Q423437 Q408637 Q423757 Q251347 Q2602750 Q7739 Q2014797 Q169569
OR((Q417597,P769,c(Q8386)), (Q407431,P769,c(Q8386)))
action filter_type
action union
action find
entity Q417597
relation P769
action find
entity Q407431
relation P769
type Q8386
[ANSWERS] show a significant interaction with procainamide or Warfarin
{'OR': [['Q417597', 'P769', {'concept': 'Q8386'}], ['Q407431', 'P769', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q8386 . { { resource:Q417597 property:P769 ?m } UNION { resource:Q407431 property:P769 ?m } } }
nabumetone thioridazine cocaine piroxicam sulpiride anagrelide fenoprofen fenofibrate chloroquine diclofenac probucol Disopyramide Ketoprofen T4 chlorpromazine pimozide mesoridazine domperidone ondansetron naproxen quinidine citalopram Moxifloxacin bepridil rosuvastatin meloxicam flurbiprofen dofetilide sotalol Sparfloxacin Azithromycin indomethacin simvastatin Cisapride miconazole carbamazepine amiodarone Erythromycin ibuprofen Clarithromycin Voriconazole Fluvastatin gemfibrozil Liotrix methadone flecainide sevoflurane ibutilide Pentamidine droperidol Fluconazole Sulfamethoxazole celecoxib mefenamic acid lovastatin terfenadine etodolac sulindac Halofantrine paracetamol oxaprozin tolmetin astemizole dronedarone escitalopram haloperidol diflunisal Arsenic trioxide Ketorolac Metronidazole
Thioridazine, diflunisal, ibuprofen, Fluvastatin, Erythromycin, lovastatin, Cisapride, mefenamic acid, T4 and diclofenac show a significant interaction with procainamide or Warfarin
thioridazine diflunisal ibuprofen Fluvastatin Erythromycin lovastatin Cisapride mefenamic acid T4 diclofenac
action filter_type
action union
action find
entity procainamide
relation significant drug interaction
action find
entity Warfarin
relation significant drug interaction
type drug
{'OR': [['procainamide', 'significant drug interaction', {'concept': 'drug'}], ['Warfarin', 'significant drug interaction', {'concept': 'drug'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:drug . { { resource:procainamide property:significant_drug_interaction ?m } UNION { resource:Warfarin property:significant_drug_interaction ?m } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2176
Q8386 Q2057971
USER
Which health problems require atmost 75 drugs in their treatment ?
(c(Q2057971),P2176,c(Q8386))
action atmost
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
value 75
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?p ) WHERE { ?l property:P2176 ?r . ?r rdf:type ontology:Q8386 . ?l rdf:type ontology:Q2057971 } GROUP BY ?l } . FILTER ( ?p <= 75 ) }
action atmost
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
value 75
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?p ) WHERE { ?l property:drug_used_for_treatment ?r . ?r rdf:type ontology:drug . ?l rdf:type ontology:health_problem } GROUP BY ?l } . FILTER ( ?p <= 75 ) }
[]
drug health problem
Q12174 Q187255 Q128581
SYSTEM
obesity, rheumatoid arthritis, breast cancer
Q334655 Q18553785 Q6473911 Q881855 Q1066061 Q1516211 Q188638 Q593958 Q18554545 Q941770 Q615645 Q283656 Q916280 Q5334259 Q998273 Q1640860 Q3776920 Q676191 Q35869 Q326071 Q12656487 Q470427 Q21154326 Q6742925 Q495146 Q18555986 Q18555243 Q18557091 Q18556131 Q2085267 Q725345 Q273510 Q826103 Q147778 Q638729 Q520127 Q2661464 Q1856914 Q4330029 Q646664 Q48143 Q264118 Q1343674 Q3154357 Q748309 Q16499 Q830308 Q1125160 Q980709 Q1072420 Q1137767 Q2165266 Q18968110 Q1934052 Q746001 Q2325854 Q185034 Q9294051 Q184559 Q180614 Q4667072 Q208414 Q208166 Q190564 Q154882 Q2096745 Q662272 Q18554971 Q3435504 Q432462 Q876887 Q187842 Q201989 Q923020 Q184084 Q2012569 Q18975720 Q18555117 Q18554191 Q189956 Q612681 Q611458 Q12152 Q1153419 Q883863 Q47790 Q2351083 Q11088 Q17165460 Q1446169 Q206901 Q18557440 Q18554909 Q18556697 Q172341 Q1059765 Q32778 Q41478 Q686574 Q18557172 Q4742183 Q954674 Q18554377 Q751631 Q3144934 Q212961 Q504775 Q18556002 Q448310 Q4358039 Q220570 Q3508800 Q816798 Q4684750 Q2443552 Q18556675 Q7562539 Q18556954 Q1209150 Q2997615 Q188605 Q189580 Q6691991 Q18555094 Q18553993 Q1048084 Q189588 Q808892 Q18554672 Q1435223 Q18554674 Q281928 Q2508462 Q1344812 Q18556705 Q741713 Q207087 Q4366062 Q2032041 Q587420 Q6708277 Q2157462 Q7923229 Q12202 Q401402 Q133087 Q12206 Q103177 Q659033 Q49970 Q223254 Q201299 Q754348 Q3144201 Q18553800 Q1161568 Q23037744 Q448698 Q943897 Q186470 Q208562 Q16553613 Q3242950 Q247096 Q377978 Q324464 Q81867 Q653971 Q372701 Q83319 Q1126831 Q1359898 Q1573307 Q1424956 Q229256 Q18554846 Q182155 Q166019 Q18556510 Q922411 Q2290446 Q209733 Q1485 Q847057 Q815819 Q221472 Q1693598 Q19000444 Q18553226 Q5340515 Q7476596 Q1527888 Q3055380 Q2300099 Q838966 Q2057356 Q1713037 Q911427 Q954625 Q11679861 Q1128595 Q18557988 Q616667 Q79928 Q183392 Q18556052 Q574905 Q979168 Q18556128 Q769595 Q938107 Q18555233 Q614750 Q18556900 Q844935 Q18971509 Q1658731 Q5380626 Q281490 Q5609817 Q6822340 Q1016605 Q19597369 Q187656 Q18555302 Q7900619 Q913856 Q929737 Q378183 Q18968224 Q1585081 Q1586088 Q18553790 Q4684717 Q7644639 Q2072063 Q503629 Q4280605 Q18554119 Q1132120 Q536269 Q1898141 Q183130 Q18555343 Q1641132 Q1642170 Q8084905 Q180152 Q549534 Q1878759 Q3281322 Q709360 Q647630 Q189561 Q949302 Q939364 Q309067 Q422268 Q790971 Q223102 Q1474877 Q1149042 Q627625 Q18557394 Q7205993 Q28814 Q2076966 Q918285 Q4676432 Q183344 Q18555043 Q6318950 Q1122485 Q1963588 Q6853 Q2339038 Q10832211 Q5384031 Q18555190 Q18557308 Q124292 Q31798 Q52849 Q591256 Q18558026 Q4667534 Q303555 Q18554367 Q184674 Q2349695 Q372752 Q145790 Q16775468 Q18556468 Q18556782 Q18556461 Q221668 Q1755568 Q1981276 Q178436 Q18556544 Q1623006 Q18557017 Q1369011 Q2450598 Q773118 Q165328 Q389735 Q18553212 Q3547899 Q486485 Q18975905 Q3765145 Q17119372 Q19000661 Q19000544 Q259626 Q18555944 Q736715 Q6807316 Q128581 Q3513968 Q201180 Q18557550 Q683861 Q335555 Q265936 Q12199 Q697117 Q18556113 Q18555301 Q476921 Q1641399 Q3360152 Q2964243 Q18975788 Q174589 Q467635 Q18965511 Q5509169 Q6527832 Q1928978 Q154878 Q133823 Q422225 Q18554412 Q18553329 Q1544989 Q1470140 Q271993 Q2046113 Q596474 Q2264130 Q18554021 Q1641483 Q1151507 Q18557946 Q18554145 Q707774 Q645363 Q68833 Q654485 Q917447 Q3678510 Q18555397 Q861224 Q18555280 Q18557349 Q18975492 Q1146454 Q1266890 Q842428 Q18555095 Q1313510 Q18555096 Q1495661 Q1898104 Q3041498 Q18558101 Q388646 Q188151 Q4118581 Q178194 Q18554322 Q18558266 Q160653 Q611571 Q938205 Q12174 Q857667 Q846316 Q899726 Q4833719 Q657193 Q18558195 Q868137 Q131749 Q202837 Q2346396 Q2453464 Q18556331 Q1752571 Q7578540 Q1149046 Q52844 Q52848 Q356713 Q268667 Q2306782 Q1477 Q18554216 Q18554607 Q666980 Q1433936 Q308978 Q223591 Q729735 Q570197 Q170990 Q552348 Q631361 Q612108 Q16242752 Q390475 Q1365789 Q18556020 Q17083186 Q3508787 Q6673122 Q10863074 Q7136145 Q3985306 Q1053824 Q11039483 Q506659 Q18555222 Q353172 Q2726043 Q18556933 Q18556932 Q1479494 Q18555940 Q1479497 Q159701 Q777087 Q18554512 Q156050 Q544006 Q199804 Q7581954 Q7535406 Q692536 Q3991731 Q3327495 Q22467774 Q181257 Q18975047 Q8277 Q1576205 Q38404 Q42982 Q114085 Q3043158 Q1054718 Q938983 Q2894827 Q131755 Q177190 Q12156 Q1097957 Q925092 Q10859678 Q9390284 Q18557827 Q1628473 Q33525 Q2397009 Q19000484 Q651680 Q4944687 Q906492 Q327298 Q2711291 Q11085 Q3667186 Q18554884 Q12135 Q550455 Q708176 Q18558032 Q117121 Q174857 Q693519 Q369157 Q170518 Q959457 Q1076087 Q208726 Q121041 Q2403156 Q179399 Q1144039 Q4119259 Q595010 Q506652 Q18553852 Q2000072 Q16483 Q2256736 Q540571 Q907921 Q594013 Q18556612 Q18556979 Q18556754 Q124407 Q1362453 Q36956 Q1262161 Q18554653 Q1076481 Q7113244 Q576349 Q1344835 Q1266519 Q280027 Q18558243 Q2051919 Q202758 Q608085 Q18553680 Q972514 Q949694 Q945930 Q18556102 Q12125 Q1891209 Q18556106 Q18555313 Q749409 Q5508825 Q41571 Q1346016 Q845779 Q2360849 Q298230 Q154869 Q585285 Q1102300 Q16501 Q2070695 Q7170410 Q7331102 Q1145668 Q489997 Q7632070 Q18555032 Q18555037 Q129104 Q578994 Q220551 Q464067 Q1209744 Q62736 Q203133 Q167178 Q911386 Q3296793 Q939261 Q16935263 Q18558279 Q2840 Q18558272 Q776881 Q18556397 Q18554727 Q7204592 Q1328833 Q19000473 Q504790 Q948318 Q1648484 Q193894 Q2035074 Q18556531 Q1362721 Q3392853 Q218712 Q2606101 Q153356 Q187255 Q644318 Q17141201 Q180913 Q6946984 Q845698 Q18555307 Q5075435 Q3108586 Q424247 Q890200 Q826759 Q794026 Q18554349 Q12192 Q193216 Q1137321 Q5445 Q5326887 Q797668 Q373822 Q18553940 Q1004647 Q190805 Q246068 Q202387 Q804521 Q511097 Q1128440 Q966229 Q1501239 Q1526459 Q172941 Q727028 Q18554460 Q1760461 Q1862972 Q3441028 Q156103 Q500816 Q3743620 Q926462 Q579527 Q83030 Q319312 Q1144618 Q18556246 Q767485 Q7861692 Q5442760 Q178190 Q1435822 Q1129007 Q1364270 Q18975031 Q82504 Q7193408 Q5282843 Q2912193 Q2092064 Q1542410 Q9294654 Q378681 Q18971555 Q4862390 Q124604 Q17147280 Q191779 Q1758393 Q783644 Q767327 Q18558236 Q1783924 Q18557816 Q724714 Q18555143 Q18553762 Q460167 Q18555061 Q18555063 Q18555066 Q531019 Q9304843 Q181923 Q2421435 Q1088156 Q4458080 Q101896 Q1194557 Q4678337 Q582207 Q220193 Q861645 Q18557714 Q14942021 Q8285 Q219102 Q112670 Q18555315 Q331283 Q165135 Q18553444 Q18558125 Q187440 Q977090 Q29496 Q18556413 Q757838 Q129279 Q4941552 Q18554096 Q18556569 Q5325633 Q18967840 Q5062153 Q1483214 Q221441 Q7900616 Q424227 Q8282 Q4118166 Q2089854 Q28971
(c(Q2057971),P2176,c(Q8386))
action atmost
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
value 75
[ANSWERS] require atmost 75 drugs in their treatment
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?p ) WHERE { ?l property:P2176 ?r . ?r rdf:type ontology:Q8386 . ?l rdf:type ontology:Q2057971 } GROUP BY ?l } . FILTER ( ?p <= 75 ) }
amenorrhea corneal disease herpes simplex gestational trophoblastic neoplasm diverticulitis Renal tubular acidosis mood disorder transient cerebral ischemia angle-closure glaucoma proctitis Fabry disease Dilated cardiomyopathy restless legs syndrome parasitic ectoparasitic infectious disease Smith–Lemli–Opitz syndrome hyperaldosteronism bacterial pneumonia vaginitis asthma giardiasis hymenolepiasis refractive error ariboflavinosis male reproductive system disease trichinosis pancreatic ductal carcinoma pulmonary tuberculosis microglandular adenosis thyroid carcinoma pharyngitis Kaposi's sarcoma candidiasis Reye's syndrome liver cirrhosis autoimmune thrombocytopenic purpura periodontitis glucose intolerance nocardiosis airway obstruction rickettsiosis meningitis acute myeloid leukemia lice infestation anterior uveitis Problem gambling hyperthyroidism age related macular degeneration pityriasis rosea status epilepticus primary biliary cirrhosis muscular dystrophy Nelson syndrome duodenal ulcer microsporidiosis Thromboangiitis obliterans Riley-Day syndrome sickle cell anemia ocular hypertension arteriosclerosis melanoma fibroma lymphoma borderline personality disorder Huntington's disease Legionnaires' disease hereditary angioedema short bowel syndrome maxillary sinusitis AIDS dementia complex Takayasu's arteritis cellulitis autoimmune thyroiditis Lyme disease epidermolysis bullosa beriberi endometriosis of uterus trophoblastic neoplasm opiate dependence visual epilepsy aphthous stomatitis anuria neuromyelitis optica myocardial infarction interstitial lung disease blepharospasm tetanus disease of metabolism celiac disease Atypical hemolytic uremic syndrome collagen disease amyotrophic lateral sclerosis childhood cerebral astrocytoma pancreatic endocrine carcinoma human immunodeficiency virus infectious disease ovarian cancer periodontal disease bronchiectasis hemorrhoid Endometrial hyperplasia follicular adenoma amelanotic melanoma iron deficiency anemia diabetic polyneuropathy pure red-cell aplasia hemochromatosis pancreatic cancer urinary bladder cancer central nervous system cancer seborrheic dermatitis neuronal ceroid lipofuscinosis pulmonary embolism congenital myasthenic syndrome amyloidosis adrenal gland hyperfunction trypanosomiasis aortic disease facial paralysis pleomorphic liposarcoma cerebral infarction pyoderma pulmonary emphysema acromegaly pervasive developmental disorder central nervous system origin vertigo corneal edema opisthorchiasis stomach cancer Barrett's esophagus Plasmodium falciparum malaria focal segmental glomerulosclerosis cerebral malaria social phobia mouth disease epididymitis myxoid leiomyosarcoma panic disorder ectopic pregnancy Pneumococcal infection intermediate coronary syndrome Myotonia congenita lymphoid leukemia schizophreniform disorder vesiculobullous skin disease stroke nephritis gout diabetes mellitus severe acute respiratory syndrome biliary atresia hyperuricemia otitis media hairy cell leukemia Infant respiratory distress syndrome Excessive daytime sleepiness neuroretinitis Granulomatosis with polyangiits respiratory allergy Pulmonary alveolar proteinosis gastroparesis tonsillitis Marfan syndrome complex partial epilepsy kidney cancer Paracoccidioidomycosis thrombophlebitis Testicular cancer albino dyspepsia esophageal cancer typhoid fever tetralogy of Fallot cryptosporidiosis Wernicke encephalopathy Neuroleptic malignant syndrome dermatitis diffuse scleroderma herpes zoster bleeding salivary gland adenoid cystic carcinoma hypopituitarism idiopathic pulmonary fibrosis chronic fatigue syndrome systemic lupus erythematosus retinitis pigmentosa atrial fibrillation fragile X syndrome nasopharynx carcinoma neurotic disorder cutaneous lupus erythematosus systemic scleroderma genital herpes pancreatitis intestinal disease gastrointestinal system disease irritable bowel syndrome eosinophilic esophagitis membranous glomerulonephritis Behcet's disease myelodysplastic syndrome hookworm infections pulmonary hypertension subacute delirium temporal lobe epilepsy acne rickets nutrition disease Clostridium difficile colitis brain edema adrenal gland cancer meibomian cyst hypogonadism cervix carcinoma bronchiolitis obliterans spinal cancer coronary artery disease focal epilepsy Postoperative nausea and vomiting Entomophthoramycosis urinary incontinence .l. Athlete's foot metabolic bone disease Burkitt lymphoma Gram-negative bacterial infection relapsing polychondritis scalp dermatosis bladder neck obstruction Friedreich's ataxia liver disease Craniosynostosis rectum cancer malignant hyperthermia hypoparathyroidism dry eye syndrome adrenal gland disease suppression amblyopia patent ductus arteriosus osteonecrosis mansonelliasis infant gynecomastia trigeminal neuralgia phaeochromocytoma rhabdomyosarcoma gastritis causalgia malignant hypertension hemophagocytic lymphohistiocytosis autoimmune neuromuscular disease Vitiligo osteosarcoma lymphangioleiomyomatosis peroxisomal disease Von Willebrand disease premature ovarian failure narcolepsy skin disease congenital heart disease motion sickness actinomycosis Bartter disease peritonitis Hypercalcaemia cystinosis histoplasmosis embryonal cancer pneumocystosis autoimmune hemolytic anemia cytomegalia adrenocortical carcinoma pustulosis of palm and sole sinusitis prothrombin deficiency Juvenile dermatomyositis urethritis hematopoietic system disease hepatitis B Neurogenic bladder megaloblastic anemia Epstein–Barr virus infection transient tic disorder adrenal cortex cancer cholangiocarcinoma chancroid ankylosing spondylitis MALT lymphoma salivary gland cancer leiomyoma hypoactive sexual desire disorder respiratory syncytial virus infectious disease impotence familial lipoprotein lipase deficiency Prostatitis iridocyclitis elephantiasis vasculogenic impotence lung oat cell carcinoma histiocytoid hemangioma acute cystitis osteopetrosis neuroendocrine tumor constipation pituitary carcinoma keratoconjunctivitis MHC class II deficiency Familial adenomatous polyposis infective endocarditis Andersen-Tawil syndrome osteoporosis cardiovascular disease cutaneous mycosis leg ulcers Anasarca collecting duct carcinoma ichthyosis vulgaris Haemophilus meningitis congestive heart failure lung small cell carcinoma aspergillosis brain infarction chronic kidney disease Medullary carcinoma breast cancer corneal opacity varicose veins urethral disease campylobacteriosis Sjögren's syndrome Kawasaki disease acquired immunodeficiency syndrome Spinal disc herniation non-small cell lung carcinoma facial dermatosis kidney failure hypoplastic left heart syndrome pachyonychia congenita hemorrhagic shock spindle cell sarcoma agoraphobia multiple myeloma secondary progressive multiple sclerosis fungal meningitis lepromatous leprosy viral infectious disease toxoplasmosis migraine actinic keratosis Plasmodium vivax malaria intestinal schistosomiasis Peutz-Jeghers syndrome cryptococcosis hyperglycemia visceral leishmaniasis Conduct disorder Trichuriasis common wart hypotrichosis dermatitis herpetiformis choline deficiency disease familial hyperlipidemia coronary thrombosis bursitis bone fracture malignant peripheral nerve sheath tumor inflammatory bowel disease bacterial meningitis Ewing sarcoma juvenile idiopathic arthritis giant cell glioblastoma cleft palate septicemic plague IgA glomerulonephritis vascular disease ascariasis infantile epileptic encephalopathy Hypophosphatasia phosphorus metabolism disease gastrointestinal stromal tumor bone marrow cancer eye disease mechanical strabismus Dracunculiasis ischemia necatoriasis cystic fibrosis vulva cancer B- and T-cell mixed leukemia listeriosis hemorrhagic disease neuroblastoma obesity pulmonary edema aplastic anemia Spinocerebellar ataxia B-cell lymphoma metabolic syndrome bacterial conjunctivitis coccidioidomycosis anorexia nervosa cardiac arrest iritis colitis cystoid macular edema myelofibrosis splenic disease cystinuria enthesopathy spondyloarthropathy Aspergilloma atopic dermatitis hypochromic anemia ulcerative colitis morbid obesity pharyngoconjunctival fever Rubinstein-Taybi syndrome Hyperprolactinaemia decubitus ulcer gastroesophageal reflux disease chronic myeloid leukemia proteinuria arthritis eclampsia diabetic retinopathy acute promyelocytic leukemia allergic contact dermatitis bilirubin metabolic disorder glycogen storage disease II lung benign neoplasm obstructive sleep apnea Postencephalitic parkinsonism thyroid gland disease fatty liver disease parathyroid gland disease spastic quadriplegia Raynaud disease IgG4-related disease prostatic adenoma endometrial carcinoma parasitic protozoa infectious disease chromoblastomycosis cribriform carcinoma large intestine cancer paroxysmal nocturnal hemoglobinuria uterine disease Porphyria cutanea tarda glaucoma echinococcosis pulmonary sarcoidosis brucellosis anxiety disorder chronic obstructive pulmonary disease squamous cell papilloma skin infection myopathy thyrotoxicosis Oral candidiasis premature menopause prostate cancer hematologic cancer multiple sclerosis carotid artery occlusion autism type I hypersensitivity rhinitis mevalonic aciduria kidney disease osteomyelitis childhood absence epilepsy bipolar disorder sleep disorder malaria intermittent claudication Wolff-Parkinson-White syndrome perinatal necrotizing enterocolitis Netherton syndrome cocaine abuse corneal ulcer carcinoma choroideremia arteriosclerosis obliterans alkaptonuria borderline leprosy dystonia shigellosis familial hypercholesterolemia Parkinson's disease Keratosis retinal vein occlusion mental disorder retinal disease arthropathy skin melanoma Wilson disease scoliosis essential tremor meningioma burn inappropriate ADH syndrome chondrosarcoma anogenital venereal wart appendicitis vasomotor rhinitis infertility inguinal hernia vernal conjunctivitis hypertrichosis pyelonephritis lymphoblastic leukemia spondylolysis toxic diffuse goiter abdominal aortic aneurysm fibromyalgia incontinentia pigmenti achromians Prader-Willi syndrome mixed glioma peripheral nervous system disease colonic disease type 1 diabetes mellitus fibrosarcoma leprosy Leber hereditary optic neuropathy peptic esophagitis choriocarcinoma ovarian disease brain disease hyperparathyroidism corneal neovascularization uveitis lingual-facial-buccal dyskinesia Extravasation hypoglycemia photosensitivity disease connective tissue benign neoplasm optic neuritis amebiasis progressive supranuclear palsy childhood medulloblastoma common cold mycosis fungoides functional colonic disease hand dermatosis osteogenesis imperfecta Functional gastrointestinal disorder epilepsy pernicious anemia Fanconi's anemia strongyloidiasis esophagitis hepatitis C thrombocytopenia clonorchiasis hypothyroidisms macrocytic anemia persistent fetal circulation syndrome alcohol abuse hemolytic anemia diabetic angiopathy substance-related disorder factor VII deficiency hemorrhagic thrombocythemia anthrax disease parasitic helminthiasis infectious disease diabetes insipidus mycosis uterine cancer osteoarthritis/osteodystrophy sleeping sickness scabies stomatitis Renovascular hypertension erythrasma Serratia infection tertiary neurosyphilis influenza heroin dependence Hereditary hemorrhagic telangiectasia biliary tract cancer sclerosing cholangitis pleomorphic lipoma oppositional defiant disorder subependymal giant cell astrocytoma nephrotic syndrome polycythemia vera Duchenne muscular dystrophy sarcoidosis Paget's disease of bone bile duct carcinoma tuberous sclerosis lung disease Zollinger-Ellison syndrome Paranoid schizophrenia chlamydia rheumatoid arthritis vasculitis Tinea bulimia nervosa Mycobacterium avium complex disease blepharitis leg dermatosis alopecia areata open-angle glaucoma acute intermittent porphyria Coagulopathy status asthmaticus Azoospermia urethral obstruction pneumonia trachoma onchocerciasis anemia early myoclonic encephalopathy babesiosis eating disorder gastric ulcer bullous pemphigoid heart disease cysticercosis post-traumatic stress disorder bacterial vaginosis psoriatic arthritis toxic shock syndrome myxedema insulinoma pyoderma gangrenosum peptic ulcer disease bacterial infectious disease brain cancer ovarian hyperstimulation syndrome pterygium Norum disease gastroenteritis polycystic ovary syndrome cannabis dependence pityriasis versicolor pulmonary valve stenosis dementia premature ejaculation familial Mediterranean fever coronary restenosis respiratory failure tyrosinemia type III female reproductive system disease obsessive-compulsive disorder neutropenia Angioedema hypertrophic cardiomyopathy basal cell carcinoma endocarditis pigmentation disease Distal muscular dystrophy esophageal disease hemophilia A thrombocytosis alcoholic polyneuropathy peripheral artery disease obstructive lung disease brain ischemia portal hypertension Myoclonic epilepsy Gilles de la Tourette syndrome inherited metabolic disorder Lynch syndrome Sporotrichosis neonatal abstinence syndrome head and neck cancer olfactory groove meningioma Romano–Ward syndrome benign mesothelioma migraine with aura Meniere's disease colonic benign neoplasm West Nile encephalitis relapsing-remitting multiple sclerosis Aortic valve stenosis medullomyoblastoma attention deficit hyperactivity disorder pre-eclampsia chronic lymphocytic leukemia thyroid crisis gonorrhea laryngitis lymph node tuberculosis Antiphospholipid syndrome premenstrual tension Gaucher's disease epilepsy with generalized tonic-clonic seizures Auto-brewery syndrome myasthenia gravis Cushing's syndrome Mastocytosis skin benign neoplasm leishmaniasis goiter nicotine dependence intracranial hypertension urticaria vulvovaginal candidiasis leukemia familial retinoblastoma keratitis dysentery bone disease suppurative otitis media bone marrow disease auditory system disease benign neonatal seizures central sleep apnea pemphigus pellagra bladder disease bronchiolitis Addison's disease Polyostotic fibrous dysplasia hemosiderosis impetigo
Obesity, rheumatoid arthritis and breast cancer require atmost 75 drugs in their treatment
obesity rheumatoid arthritis breast cancer
action atmost
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
value 75
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?p ) WHERE { ?l property:drug_used_for_treatment ?r . ?r rdf:type ontology:drug . ?l rdf:type ontology:health_problem } GROUP BY ?l } . FILTER ( ?p <= 75 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q58375
P2175
Q8386
USER
Are thioridazine used to cure those health problems ?
(Q58375,P2175,Q12174) (Q58375,P2175,Q187255) (Q58375,P2175,Q128581)
action is_in
entity prev_answer
action find
entity Q58375
relation P2175
['Q58375', 'P2175', 'Q12174'] ['Q58375', 'P2175', 'Q187255'] ['Q58375', 'P2175', 'Q128581']
ASK WHERE { resource:Q58375 property:P2175 ?q . VALUES ( ?q ) { ( resource:Q334655 ) ( resource:Q18553785 ) ( resource:Q6473911 ) } }
thioridazine
action is_in
entity prev_answer
action find
entity thioridazine
relation medical condition treated
['thioridazine', 'medical condition treated', 'obesity'] ['thioridazine', 'medical condition treated', 'rheumatoid arthritis'] ['thioridazine', 'medical condition treated', 'breast cancer']
ASK WHERE { resource:thioridazine property:medical_condition_treated ?q . VALUES ( ?q ) { ( resource:amenorrhea ) ( resource:corneal_disease ) ( resource:herpes_simplex ) } }
[]
drug
SYSTEM
NO
(Q58375,P2175,Q12174) (Q58375,P2175,Q187255) (Q58375,P2175,Q128581)
action is_in
entity prev_answer
action find
entity Q58375
relation P2175
[ANSWER]
['Q58375', 'P2175', 'Q12174'] ['Q58375', 'P2175', 'Q187255'] ['Q58375', 'P2175', 'Q128581']
ASK WHERE { resource:Q58375 property:P2175 ?q . VALUES ( ?q ) { ( resource:Q334655 ) ( resource:Q18553785 ) ( resource:Q6473911 ) } }
No
action is_in
entity prev_answer
action find
entity thioridazine
relation medical condition treated
['thioridazine', 'medical condition treated', 'obesity'] ['thioridazine', 'medical condition treated', 'rheumatoid arthritis'] ['thioridazine', 'medical condition treated', 'breast cancer']
ASK WHERE { resource:thioridazine property:medical_condition_treated ?q . VALUES ( ?q ) { ( resource:amenorrhea ) ( resource:corneal_disease ) ( resource:herpes_simplex ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q407431
P129
Q181394
USER
Which nutrient does Warfarin collaborate with ?
(Q407431,P129,c(Q181394))
action filter_type
action find
entity Q407431
relation P129
type Q181394
['Q407431', 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?d WHERE { resource:Q407431 property:P129 ?d . ?d rdf:type ontology:Q181394 }
Warfarin
action filter_type
action find
entity Warfarin
relation physically interacts with
type nutrient
['Warfarin', 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?d WHERE { resource:Warfarin property:physically_interacts_with ?d . ?d rdf:type ontology:nutrient }
[]
nutrient
Q21175110
SYSTEM
Vitamin K epoxide reductase complex subunit 1
Q21175110
(Q407431,P129,c(Q181394))
action filter_type
action find
entity Q407431
relation P129
type Q181394
Warfarin collaborates with [ANSWER]
['Q407431', 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?d WHERE { resource:Q407431 property:P129 ?d . ?d rdf:type ontology:Q181394 }
Vitamin K epoxide reductase complex subunit 1
Warfarin collaborates with Vitamin K epoxide reductase complex subunit 1
Vitamin K epoxide reductase complex subunit 1
action filter_type
action find
entity Warfarin
relation physically interacts with
type nutrient
['Warfarin', 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?d WHERE { resource:Warfarin property:physically_interacts_with ?d . ?d rdf:type ontology:nutrient }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q416632
Q181394
USER
And how about nefazodone?
(Q416632,P129,c(Q181394))
action filter_type
action find
entity Q416632
relation P129
type Q181394
['Q416632', 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?f WHERE { resource:Q416632 property:P129 ?f . ?f rdf:type ontology:Q181394 }
nefazodone
action filter_type
action find
entity nefazodone
relation physically interacts with
type nutrient
['nefazodone', 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?f WHERE { resource:nefazodone property:physically_interacts_with ?f . ?f rdf:type ontology:nutrient }
[]
nutrient
Q1949517 Q410142 Q7050954
SYSTEM
5-hydroxytryptamine receptor 2A, Sodium-dependent serotonin transporter, Sodium-dependent noradrenaline transporter
Q410142 Q7050954 Q424440 Q1949517
(Q416632,P129,c(Q181394))
action filter_type
action find
entity Q416632
relation P129
type Q181394
[ANSWERS]
['Q416632', 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?f WHERE { resource:Q416632 property:P129 ?f . ?f rdf:type ontology:Q181394 }
Sodium-dependent serotonin transporter Sodium-dependent noradrenaline transporter Cytochrome P450 3A4 5-hydroxytryptamine receptor 2A
5-hydroxytryptamine receptor 2A Sodium-dependent serotonin transporter Sodium-dependent noradrenaline transporter
action filter_type
action find
entity nefazodone
relation physically interacts with
type nutrient
['nefazodone', 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?f WHERE { resource:nefazodone property:physically_interacts_with ?f . ?f rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P682
Q3249551 Q181394
USER
How many processes are atmost 11470 nutrients involved in ?
(c(Q181394),P682,c(Q3249551))
action count
action atmost
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
value 11470
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P682 ?e . ?e rdf:type ontology:Q3249551 . ?k rdf:type ontology:Q181394 } GROUP BY ?e } . FILTER ( ?b <= 11470 ) }
action count
action atmost
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
value 11470
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:biological_process ?e . ?e rdf:type ontology:process . ?k rdf:type ontology:nutrient } GROUP BY ?e } . FILTER ( ?b <= 11470 ) }
[]
process nutrient
SYSTEM
14
Q22269718 Q306383 Q14820058 Q22284496 Q22271548 Q9332 Q22293230 Q14873025 Q14916317 Q14859560 Q14865172 Q14885910 Q14864472 Q162925
(c(Q181394),P682,c(Q3249551))
action count
action atmost
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
value 11470
[ANSWER]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P682 ?e . ?e rdf:type ontology:Q3249551 . ?k rdf:type ontology:Q181394 } GROUP BY ?e } . FILTER ( ?b <= 11470 ) }
locomotion G1/S transition of mitotic cell cycle growth biological regulation cell killing behavior developmental process cellular process immune system process response to stimulus signaling reproductive process rhythmic process meiotic nuclear division
14
action count
action atmost
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
value 11470
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:biological_process ?e . ?e rdf:type ontology:process . ?k rdf:type ontology:nutrient } GROUP BY ?e } . FILTER ( ?b <= 11470 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1949517
P688
Q863908
USER
Which nucleic acid sequence encodes 5-hydroxytryptamine receptor 2A ?
(c(Q863908),P688,Q1949517)
action filter_type
action find_reverse
entity Q1949517
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q1949517']
SELECT DISTINCT ?t WHERE { ?t property:P688 resource:Q1949517 . ?t rdf:type ontology:Q863908 }
5-hydroxytryptamine receptor 2A
action filter_type
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', '5-hydroxytryptamine receptor 2A']
SELECT DISTINCT ?t WHERE { ?t property:encodes resource:5-hydroxytryptamine_receptor_2A . ?t rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q14891424
SYSTEM
HTR2A
Q14891424
(c(Q863908),P688,Q1949517)
action filter_type
action find_reverse
entity Q1949517
relation P688
type Q863908
[ANSWER] encodes 5-hydroxytryptamine receptor 2A
[{'concept': 'Q863908'}, 'P688', 'Q1949517']
SELECT DISTINCT ?t WHERE { ?t property:P688 resource:Q1949517 . ?t rdf:type ontology:Q863908 }
HTR2A
HTR2A encodes 5-hydroxytryptamine receptor 2A
HTR2A
action filter_type
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', '5-hydroxytryptamine receptor 2A']
SELECT DISTINCT ?t WHERE { ?t property:encodes resource:5-hydroxytryptamine_receptor_2A . ?t rdf:type ontology:nucleic_acid_sequence }
[]