Simple Question (Direct)
Simple Question
Q22335157
P702
Q863908
USER
Which gene encodes arginine N-succinyltransferase subunit beta    lpg1706 ?
(Q22335157,P702,c(Q863908))
action filter_type
action find
entity Q22335157
relation P702
type Q863908
['Q22335157', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q863908 . resource:Q22335157 property:P702 ?k }
arginine N-succinyltransferase subunit beta    lpg1706
action filter_type
action find
entity arginine N-succinyltransferase subunit beta    lpg1706
relation encoded by
type nucleic acid sequence
['arginine N-succinyltransferase subunit beta    lpg1706', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:nucleic_acid_sequence . resource:arginine_N-succinyltransferase_subunit_beta____lpg1706 property:encoded_by ?k }
[]
nucleic acid sequence
Q22332092
SYSTEM
arginine N-succinyltransferase subunit beta    lpg1706
Q22332092
(Q22335157,P702,c(Q863908))
action filter_type
action find
entity Q22335157
relation P702
type Q863908
Arginine N-succinyltransferase subunit beta lpg1706 encodes arginine N-succinyltransferase subunit beta lpg1706
['Q22335157', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q863908 . resource:Q22335157 property:P702 ?k }
arginine N-succinyltransferase subunit beta    lpg1706
Arginine N-succinyltransferase subunit beta lpg1706 encodes arginine N-succinyltransferase subunit beta lpg1706
arginine N-succinyltransferase subunit beta    lpg1706
action filter_type
action find
entity arginine N-succinyltransferase subunit beta    lpg1706
relation encoded by
type nucleic acid sequence
['arginine N-succinyltransferase subunit beta    lpg1706', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:nucleic_acid_sequence . resource:arginine_N-succinyltransferase_subunit_beta____lpg1706 property:encoded_by ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22332092
P703
Q631147
USER
Which taxon is that nucleic acid sequence a part of ?
(Q22332092,P703,c(Q631147))
action filter_type
action find
entity Q22332092
relation P703
type Q631147
['Q22332092', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q631147 . resource:Q22332092 property:P703 ?u }
arginine N-succinyltransferase subunit beta    lpg1706
action filter_type
action find
entity arginine N-succinyltransferase subunit beta    lpg1706
relation found in taxon
type infraspecific name
['arginine N-succinyltransferase subunit beta    lpg1706', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:infraspecific_name . resource:arginine_N-succinyltransferase_subunit_beta____lpg1706 property:found_in_taxon ?u }
[]
infraspecific name
Q21102919
SYSTEM
Legionella pneumophila subsp. pneumophila str. Philadelphia 1
Q21102919
(Q22332092,P703,c(Q631147))
action filter_type
action find
entity Q22332092
relation P703
type Q631147
[ANSWER] is that nucleic acid sequence a part of
['Q22332092', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q631147 . resource:Q22332092 property:P703 ?u }
Legionella pneumophila subsp. pneumophila str. Philadelphia 1
Legionella pneumophila subsp. pneumophila str. Philadelphia 1 is that nucleic acid sequence a part of
Legionella pneumophila subsp. pneumophila str. Philadelphia 1
action filter_type
action find
entity arginine N-succinyltransferase subunit beta    lpg1706
relation found in taxon
type infraspecific name
['arginine N-succinyltransferase subunit beta    lpg1706', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:infraspecific_name . resource:arginine_N-succinyltransferase_subunit_beta____lpg1706 property:found_in_taxon ?u }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21102919 Q19000466 Q154882
P1542
Q2057971
USER
Was Legionella pneumophila subsp. pneumophila str. Philadelphia 1 the cause of primary Burkholderia infectious disease and Legionnaires' disease ?
(Q21102919,P1542,Q19000466) (Q21102919,P1542,Q154882)
action is_in
entity Q21102919
action intersection
action find_reverse
entity Q19000466
relation P1542
action find_reverse
entity Q154882
relation P1542
['Q21102919', 'P1542', 'Q19000466'] ['Q21102919', 'P1542', 'Q154882']
ASK WHERE { resource:Q21102919 property:P1542 resource:Q19000466 . resource:Q21102919 property:P1542 resource:Q154882 }
Legionella pneumophila subsp. pneumophila str. Philadelphia 1 primary Burkholderia infectious disease Legionnaires' disease
action is_in
entity Legionella pneumophila subsp. pneumophila str. Philadelphia 1
action intersection
action find_reverse
entity primary Burkholderia infectious disease
relation cause of
action find_reverse
entity Legionnaires' disease
relation cause of
['Legionella pneumophila subsp. pneumophila str. Philadelphia 1', 'cause of', 'primary Burkholderia infectious disease'] ['Legionella pneumophila subsp. pneumophila str. Philadelphia 1', 'cause of', "Legionnaires' disease"]
ASK WHERE { resource:Legionella_pneumophila_subsp._pneumophila_str._Philadelphia_1 property:cause_of resource:primary_Burkholderia_infectious_disease . resource:Legionella_pneumophila_subsp._pneumophila_str._Philadelphia_1 property:cause_of resource:Legionnaires'_disease }
[]
health problem
SYSTEM
NO and YES respectively
(Q21102919,P1542,Q19000466) (Q21102919,P1542,Q154882)
action is_in
entity Q21102919
action intersection
action find_reverse
entity Q19000466
relation P1542
action find_reverse
entity Q154882
relation P1542
[ANSWER]
['Q21102919', 'P1542', 'Q19000466'] ['Q21102919', 'P1542', 'Q154882']
ASK WHERE { resource:Q21102919 property:P1542 resource:Q19000466 . resource:Q21102919 property:P1542 resource:Q154882 }
NO and YES respectively
action is_in
entity Legionella pneumophila subsp. pneumophila str. Philadelphia 1
action intersection
action find_reverse
entity primary Burkholderia infectious disease
relation cause of
action find_reverse
entity Legionnaires' disease
relation cause of
['Legionella pneumophila subsp. pneumophila str. Philadelphia 1', 'cause of', 'primary Burkholderia infectious disease'] ['Legionella pneumophila subsp. pneumophila str. Philadelphia 1', 'cause of', "Legionnaires' disease"]
ASK WHERE { resource:Legionella_pneumophila_subsp._pneumophila_str._Philadelphia_1 property:cause_of resource:primary_Burkholderia_infectious_disease . resource:Legionella_pneumophila_subsp._pneumophila_str._Philadelphia_1 property:cause_of resource:Legionnaires'_disease }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q181394 Q181394 Q8386
USER
Which nutrients do max number of nutrients and drugs interact with ?
(c(Q181394)|c(Q8386),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?f ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?v ) WHERE { { ?x property:P129 ?d . ?x rdf:type ontology:Q8386 . ?d rdf:type ontology:Q181394 } UNION { ?x property:P129 ?d . ?x rdf:type ontology:Q181394 . ?d rdf:type ontology:Q181394 } } GROUP BY ?d } } . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:P129 ?p . ?c rdf:type ontology:Q181394 . ?p rdf:type ontology:Q181394 } UNION { ?c property:P129 ?p . ?c rdf:type ontology:Q8386 . ?p rdf:type ontology:Q181394 } } GROUP BY ?p } . FILTER ( ?g = ?f ) }
action argmax
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
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?f ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?v ) WHERE { { ?x property:physically_interacts_with ?d . ?x rdf:type ontology:drug . ?d rdf:type ontology:nutrient } UNION { ?x property:physically_interacts_with ?d . ?x rdf:type ontology:nutrient . ?d rdf:type ontology:nutrient } } GROUP BY ?d } } . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:physically_interacts_with ?p . ?c rdf:type ontology:nutrient . ?p rdf:type ontology:nutrient } UNION { ?c property:physically_interacts_with ?p . ?c rdf:type ontology:drug . ?p rdf:type ontology:nutrient } } GROUP BY ?p } . FILTER ( ?g = ?f ) }
[]
nutrient nutrient drug
Q1949517
SYSTEM
5-hydroxytryptamine receptor 2A
Q1949517
(c(Q181394)|c(Q8386),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
Max number of nutrients and drugs interact with [ANSWER]
[[{'concept': 'Q181394'}, {'concept': 'Q8386'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?f ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?v ) WHERE { { ?x property:P129 ?d . ?x rdf:type ontology:Q8386 . ?d rdf:type ontology:Q181394 } UNION { ?x property:P129 ?d . ?x rdf:type ontology:Q181394 . ?d rdf:type ontology:Q181394 } } GROUP BY ?d } } . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:P129 ?p . ?c rdf:type ontology:Q181394 . ?p rdf:type ontology:Q181394 } UNION { ?c property:P129 ?p . ?c rdf:type ontology:Q8386 . ?p rdf:type ontology:Q181394 } } GROUP BY ?p } . FILTER ( ?g = ?f ) }
5-hydroxytryptamine receptor 2A
Max number of nutrients and drugs interact with 5-hydroxytryptamine receptor 2A
5-hydroxytryptamine receptor 2A
action argmax
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
[[{'concept': 'nutrient'}, {'concept': 'drug'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?f ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?v ) WHERE { { ?x property:physically_interacts_with ?d . ?x rdf:type ontology:drug . ?d rdf:type ontology:nutrient } UNION { ?x property:physically_interacts_with ?d . ?x rdf:type ontology:nutrient . ?d rdf:type ontology:nutrient } } GROUP BY ?d } } . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?g ) WHERE { { ?c property:physically_interacts_with ?p . ?c rdf:type ontology:nutrient . ?p rdf:type ontology:nutrient } UNION { ?c property:physically_interacts_with ?p . ?c rdf:type ontology:drug . ?p rdf:type ontology:nutrient } } GROUP BY ?p } . FILTER ( ?g = ?f ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1949517 Q2754775
P129
Q8386
USER
Does that nutrient interact with Insulin Aspart ?
(Q1949517,P129,Q2754775)
action is_in
entity Q2754775
action find
entity Q1949517
relation P129
['Q1949517', 'P129', 'Q2754775']
ASK WHERE { resource:Q1949517 property:P129 resource:Q2754775 }
5-hydroxytryptamine receptor 2A Insulin Aspart
action is_in
entity Insulin Aspart
action find
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'Insulin Aspart']
ASK WHERE { resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:Insulin_Aspart }
[]
drug
SYSTEM
NO
(Q1949517,P129,Q2754775)
action is_in
entity Q2754775
action find
entity Q1949517
relation P129
[ANSWER]
['Q1949517', 'P129', 'Q2754775']
ASK WHERE { resource:Q1949517 property:P129 resource:Q2754775 }
No
action is_in
entity Insulin Aspart
action find
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'Insulin Aspart']
ASK WHERE { resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:Insulin_Aspart }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q22335157 Q5190658
P703
Q631147
USER
Is Cryptanthus 'Music' arginine N-succinyltransferase subunit beta    lpg1706 found ?
(Q22335157,P703,Q5190658)
action is_in
entity Q5190658
action find
entity Q22335157
relation P703
['Q22335157', 'P703', 'Q5190658']
ASK WHERE { resource:Q22335157 property:P703 resource:Q5190658 }
arginine N-succinyltransferase subunit beta    lpg1706 Cryptanthus 'Music'
action is_in
entity Cryptanthus 'Music'
action find
entity arginine N-succinyltransferase subunit beta    lpg1706
relation found in taxon
['arginine N-succinyltransferase subunit beta    lpg1706', 'found in taxon', "Cryptanthus 'Music'"]
ASK WHERE { resource:arginine_N-succinyltransferase_subunit_beta____lpg1706 property:found_in_taxon resource:Cryptanthus_'Music' }
[]
infraspecific name
SYSTEM
NO
(Q22335157,P703,Q5190658)
action is_in
entity Q5190658
action find
entity Q22335157
relation P703
[ANSWER]
['Q22335157', 'P703', 'Q5190658']
ASK WHERE { resource:Q22335157 property:P703 resource:Q5190658 }
No
action is_in
entity Cryptanthus 'Music'
action find
entity arginine N-succinyltransferase subunit beta    lpg1706
relation found in taxon
['arginine N-succinyltransferase subunit beta    lpg1706', 'found in taxon', "Cryptanthus 'Music'"]
ASK WHERE { resource:arginine_N-succinyltransferase_subunit_beta____lpg1706 property:found_in_taxon resource:Cryptanthus_'Music' }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21102919 Q3073142
P1542
Q2057971
USER
Is Pontiac fever caused by Legionella pneumophila subsp. pneumophila str. Philadelphia 1 ?
(Q21102919,P1542,Q3073142)
action is_in
entity Q3073142
action find
entity Q21102919
relation P1542
['Q21102919', 'P1542', 'Q3073142']
ASK WHERE { resource:Q21102919 property:P1542 resource:Q3073142 }
Legionella pneumophila subsp. pneumophila str. Philadelphia 1 Pontiac fever
action is_in
entity Pontiac fever
action find
entity Legionella pneumophila subsp. pneumophila str. Philadelphia 1
relation cause of
['Legionella pneumophila subsp. pneumophila str. Philadelphia 1', 'cause of', 'Pontiac fever']
ASK WHERE { resource:Legionella_pneumophila_subsp._pneumophila_str._Philadelphia_1 property:cause_of resource:Pontiac_fever }
[]
health problem
SYSTEM
YES
(Q21102919,P1542,Q3073142)
action is_in
entity Q3073142
action find
entity Q21102919
relation P1542
[ANSWER]
['Q21102919', 'P1542', 'Q3073142']
ASK WHERE { resource:Q21102919 property:P1542 resource:Q3073142 }
Yes
action is_in
entity Pontiac fever
action find
entity Legionella pneumophila subsp. pneumophila str. Philadelphia 1
relation cause of
['Legionella pneumophila subsp. pneumophila str. Philadelphia 1', 'cause of', 'Pontiac fever']
ASK WHERE { resource:Legionella_pneumophila_subsp._pneumophila_str._Philadelphia_1 property:cause_of resource:Pontiac_fever }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q21122997 Q1949517
P129
Q8386
USER
Which drugs do 5-hydroxytryptamine receptor 2A but not Melatonin receptor type 1B collaborate with ?
AND((Q1949517,P129,c(Q8386)), NOT((Q21122997,P129,c(Q8386))))
action filter_type
action difference
action find
entity Q1949517
relation P129
action find
entity Q21122997
relation P129
type Q8386
{'AND': [['Q1949517', 'P129', {'concept': 'Q8386'}], {'NOT': [['Q21122997', 'P129', {'concept': 'Q8386'}]]}]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q8386 . resource:Q1949517 property:P129 ?v . FILTER NOT EXISTS { resource:Q21122997 property:P129 ?v } }
Melatonin receptor type 1B 5-hydroxytryptamine receptor 2A
action filter_type
action difference
action find
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
action find
entity Melatonin receptor type 1B
relation physically interacts with
type drug
{'AND': [['5-hydroxytryptamine receptor 2A', 'physically interacts with', {'concept': 'drug'}], {'NOT': [['Melatonin receptor type 1B', 'physically interacts with', {'concept': 'drug'}]]}]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:drug . resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with ?v . FILTER NOT EXISTS { resource:Melatonin_receptor_type_1B property:physically_interacts_with ?v } }
[]
drug
Q418050 Q3008033 Q221361 Q23118 Q3563148 Q424477 Q413581 Q269111 Q412443 Q201872
SYSTEM
Some of them are sertindole, Cyamemazine, clozapine, LSD, vortioxetine, methylergonovine, bromocriptine, apomorphine, risperidone, Olanzapine
Q58376 Q1752915 Q424446 Q58375 Q423308 Q4927426 Q2608288 Q201872 Q205517 Q407972 Q144085 Q6821618 Q269111 Q423520 Q424442 Q416701 Q226905 Q3008033 Q3563148 Q421930 Q593166 Q44931 Q408300 Q7702355 Q418050 Q6824154 Q424477 Q419186 Q23118 Q58614 Q415118 Q412443 Q251347 Q416632 Q408535 Q411932 Q411188 Q411457 Q221361 Q418101 Q415752 Q340139 Q415996 Q413581
AND((Q1949517,P129,c(Q8386)), NOT((Q21122997,P129,c(Q8386))))
action filter_type
action difference
action find
entity Q1949517
relation P129
action find
entity Q21122997
relation P129
type Q8386
[ANSWERS] 5-hydroxytryptamine receptor 2A but not Melatonin receptor type 1B collaborate with
{'AND': [['Q1949517', 'P129', {'concept': 'Q8386'}], {'NOT': [['Q21122997', 'P129', {'concept': 'Q8386'}]]}]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q8386 . resource:Q1949517 property:P129 ?v . FILTER NOT EXISTS { resource:Q21122997 property:P129 ?v } }
fluphenazine trifluoperazine lisuride thioridazine cabergoline blonanserin thiothixene Olanzapine ziprasidone chlorpromazine pimozide mesoridazine apomorphine perphenazine methysergide mianserin zotepine Cyamemazine vortioxetine mirtazapine molindone sarpogrelate fluspirilene terguride sertindole methiothepin methylergonovine ergotamine LSD loxapine pipamperone risperidone haloperidol nefazodone quetiapine duloxetine aripiprazole trazodone clozapine pindolol pergolide lorcaserin flibanserin bromocriptine
Sertindole, Cyamemazine, clozapine, LSD, vortioxetine, methylergonovine, bromocriptine, apomorphine, risperidone and Olanzapine 5-hydroxytryptamine receptor 2A but not Melatonin receptor type 1B collaborate with
sertindole Cyamemazine clozapine LSD vortioxetine methylergonovine bromocriptine apomorphine risperidone Olanzapine
action filter_type
action difference
action find
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
action find
entity Melatonin receptor type 1B
relation physically interacts with
type drug
{'AND': [['5-hydroxytryptamine receptor 2A', 'physically interacts with', {'concept': 'drug'}], {'NOT': [['Melatonin receptor type 1B', 'physically interacts with', {'concept': 'drug'}]]}]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:drug . resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with ?v . FILTER NOT EXISTS { resource:Melatonin_receptor_type_1B property:physically_interacts_with ?v } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2176
Q8386 Q2057971
USER
Which health problems require atmost 50 drugs to be prescribed ?
(c(Q2057971),P2176,c(Q8386))
action atmost
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
value 50
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?l <= 50 ) . { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?l ) WHERE { ?x property:P2176 ?y . ?x rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q8386 } GROUP BY ?x } }
action atmost
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
value 50
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?l <= 50 ) . { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?l ) WHERE { ?x property:drug_used_for_treatment ?y . ?x rdf:type ontology:health_problem . ?y rdf:type ontology:drug } GROUP BY ?x } }
[]
drug health problem
Q12174 Q181257 Q8277
SYSTEM
obesity, prostate cancer, multiple sclerosis
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 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 Q1755568 Q1981276 Q178436 Q18556544 Q1623006 Q18557017 Q1369011 Q2450598 Q773118 Q165328 Q389735 Q18553212 Q3547899 Q486485 Q18975905 Q3765145 Q17119372 Q19000544 Q259626 Q18555944 Q736715 Q6807316 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 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 50
[ANSWERS] require atmost 50 drugs to be prescribed
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?l <= 50 ) . { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?l ) WHERE { ?x property:P2176 ?y . ?x rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q8386 } GROUP BY ?x } }
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 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 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 lung small cell carcinoma aspergillosis brain infarction chronic kidney disease Medullary carcinoma 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 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, prostate cancer and multiple sclerosis require atmost 50 drugs to be prescribed
obesity prostate cancer multiple sclerosis
action atmost
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
value 50
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?l <= 50 ) . { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?l ) WHERE { ?x property:drug_used_for_treatment ?y . ?x rdf:type ontology:health_problem . ?y rdf:type ontology:drug } GROUP BY ?x } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8277
P2175
Q8386
USER
Which drugs are used for the treatment of multiple sclerosis ?
(c(Q8386),P2175,Q8277)
action filter_type
action find_reverse
entity Q8277
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', 'Q8277']
SELECT DISTINCT ?q WHERE { ?q property:P2175 resource:Q8277 . ?q rdf:type ontology:Q8386 }
multiple sclerosis
action filter_type
action find_reverse
entity multiple sclerosis
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'multiple sclerosis']
SELECT DISTINCT ?q WHERE { ?q property:medical_condition_treated resource:multiple_sclerosis . ?q rdf:type ontology:drug }
[]
drug
Q412323 Q139347 Q408524
SYSTEM
Rituximab, Cholecalciferol, cyclophosphamide
Q2450337 Q73972 Q418123 Q421274 Q408524 Q420164 Q252251 Q413717 Q4567614 Q417222 Q239426 Q7444755 Q386119 Q412323 Q1851162 Q212272 Q3077133 Q22075846 Q18939 Q372539 Q176301 Q2697833 Q422112 Q414030 Q410352 Q139347
(c(Q8386),P2175,Q8277)
action filter_type
action find_reverse
entity Q8277
relation P2175
type Q8386
[ANSWERS] are used for the treatment of multiple sclerosis
[{'concept': 'Q8386'}, 'P2175', 'Q8277']
SELECT DISTINCT ?q WHERE { ?q property:P2175 resource:Q8277 . ?q rdf:type ontology:Q8386 }
Interferon beta-1a Hydroxocobalamin dimethyl fumarate dantrolene cyclophosphamide Alemtuzumab Cyanocobalamin Baclofen mycophenolate mofetil methylprednisolone mitoxantrone Secukinumab Natalizumab Rituximab Interferon beta-1b hydroxyurea teriflunomide Peginterferon beta-1a azathioprine fampridine oxcarbazepine Abatacept methylphenidate Cladribine gabapentin Cholecalciferol
Rituximab, Cholecalciferol and cyclophosphamide are used for the treatment of multiple sclerosis
Rituximab Cholecalciferol cyclophosphamide
action filter_type
action find_reverse
entity multiple sclerosis
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'multiple sclerosis']
SELECT DISTINCT ?q WHERE { ?q property:medical_condition_treated resource:multiple_sclerosis . ?q rdf:type ontology:drug }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q412323 Q139347 Q408524
P2176
Q2057971
USER
Which health problems require Rituximab, Cholecalciferol and cyclophosphamide in their treatment ?
(c(Q2057971),P2176,Q412323) (c(Q2057971),P2176,Q139347) (c(Q2057971),P2176,Q408524)
action union
action filter_type
action find_reverse
entity Q412323
relation P2176
type Q2057971
action filter_type
action find_reverse
entity Q139347
relation P2176
type Q2057971
action filter_type
action find_reverse
entity Q408524
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', 'Q412323'] [{'concept': 'Q2057971'}, 'P2176', 'Q139347'] [{'concept': 'Q2057971'}, 'P2176', 'Q408524']
SELECT DISTINCT ?a WHERE { { ?a property:P2176 resource:Q412323 . ?a rdf:type ontology:Q2057971 } UNION { ?a property:P2176 resource:Q139347 . ?a rdf:type ontology:Q2057971 } }
Rituximab Cholecalciferol cyclophosphamide
action union
action filter_type
action find_reverse
entity Rituximab
relation drug used for treatment
type health problem
action filter_type
action find_reverse
entity Cholecalciferol
relation drug used for treatment
type health problem
action filter_type
action find_reverse
entity cyclophosphamide
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'Rituximab'] [{'concept': 'health problem'}, 'drug used for treatment', 'Cholecalciferol'] [{'concept': 'health problem'}, 'drug used for treatment', 'cyclophosphamide']
SELECT DISTINCT ?a WHERE { { ?a property:drug_used_for_treatment resource:Rituximab . ?a rdf:type ontology:health_problem } UNION { ?a property:drug_used_for_treatment resource:Cholecalciferol . ?a rdf:type ontology:health_problem } }
[]
health problem
Q12174 Q187255 Q128581
SYSTEM
obesity, rheumatoid arthritis, breast cancer
Q1054718 Q29496 Q1713037 Q1161568 Q504790 Q638729 Q591256 Q124407 Q208414 Q8285 Q181257 Q209733 Q335555 Q11039483 Q8277 Q1477 Q5340515 Q187255 Q180614 Q4833719 Q6708277 Q911427 Q193894 Q2092064 Q1435223 Q1145668 Q1485 Q18556979 Q1072420 Q1088156 Q611458 Q736715 Q62736 Q4676432 Q2840 Q389735 Q1344835 Q18557172 Q18556932 Q18556020 Q18556697 Q18555315 Q181257 Q165328 Q18555066 Q185034 Q2661464 Q8277 Q128581 Q1477 Q10863074 Q154869 Q12174 Q19000661 Q1485 Q916280 Q949302 Q1088156 Q3041498 Q12192 Q1898141 Q751631 Q1161568 Q52844 Q467635 Q18555397 Q504790 Q18556020 Q324464 Q638729 Q729735 Q28814 Q172341 Q8285 Q1016605 Q18555222 Q8277 Q938205 Q128581 Q2089854 Q1891209 Q6708277 Q18556413 Q1485 Q1088156 Q264118
(c(Q2057971),P2176,Q412323) (c(Q2057971),P2176,Q139347) (c(Q2057971),P2176,Q408524)
action union
action filter_type
action find_reverse
entity Q412323
relation P2176
type Q2057971
action filter_type
action find_reverse
entity Q139347
relation P2176
type Q2057971
action filter_type
action find_reverse
entity Q408524
relation P2176
type Q2057971
E [ANSWERS] require Rituximab, Cholecalciferol and cyclophosphamide in their treatment
[{'concept': 'Q2057971'}, 'P2176', 'Q412323'] [{'concept': 'Q2057971'}, 'P2176', 'Q139347'] [{'concept': 'Q2057971'}, 'P2176', 'Q408524']
SELECT DISTINCT ?a WHERE { { ?a property:P2176 resource:Q412323 . ?a rdf:type ontology:Q2057971 } UNION { ?a property:P2176 resource:Q139347 . ?a rdf:type ontology:Q2057971 } }
kidney disease leukemia membranous glomerulonephritis Granulomatosis with polyangiits nephrotic syndrome autoimmune thrombocytopenic purpura MALT lymphoma type 1 diabetes mellitus lymphoma myasthenia gravis prostate cancer chronic fatigue syndrome Sjögren's syndrome IgG4-related disease multiple sclerosis ulcerative colitis systemic scleroderma rheumatoid arthritis melanoma B-cell lymphoma lymphoid leukemia Behcet's disease sarcoidosis hemophilia A focal segmental glomerulosclerosis hemolytic anemia systemic lupus erythematosus peripheral nervous system disease primary biliary cirrhosis chronic lymphocytic leukemia neuromyelitis optica chronic kidney disease osteoarthritis/osteodystrophy pustulosis of palm and sole influenza cardiovascular disease hyperparathyroidism follicular adenoma large intestine cancer lung benign neoplasm human immunodeficiency virus infectious disease skin benign neoplasm prostate cancer osteoporosis relapsing-remitting multiple sclerosis sickle cell anemia glucose intolerance multiple sclerosis breast cancer ulcerative colitis fatty liver disease hepatitis C obesity congestive heart failure systemic lupus erythematosus restless legs syndrome skin disease chronic lymphocytic leukemia eye disease pneumonia rhabdomyosarcoma pure red-cell aplasia Granulomatosis with polyangiits enthesopathy multiple myeloma Ewing sarcoma nephrotic syndrome lung benign neoplasm Testicular cancer autoimmune thrombocytopenic purpura chronic myeloid leukemia autoimmune hemolytic anemia ovarian cancer myasthenia gravis Burkitt lymphoma endometrial carcinoma multiple sclerosis neuroblastoma breast cancer hemosiderosis mycosis fungoides lymphoid leukemia familial retinoblastoma systemic lupus erythematosus chronic lymphocytic leukemia acute myeloid leukemia
E obesity, rheumatoid arthritis and breast cancer require Rituximab, Cholecalciferol and cyclophosphamide in their treatment
obesity rheumatoid arthritis breast cancer
action union
action filter_type
action find_reverse
entity Rituximab
relation drug used for treatment
type health problem
action filter_type
action find_reverse
entity Cholecalciferol
relation drug used for treatment
type health problem
action filter_type
action find_reverse
entity cyclophosphamide
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'Rituximab'] [{'concept': 'health problem'}, 'drug used for treatment', 'Cholecalciferol'] [{'concept': 'health problem'}, 'drug used for treatment', 'cyclophosphamide']
SELECT DISTINCT ?a WHERE { { ?a property:drug_used_for_treatment resource:Rituximab . ?a rdf:type ontology:health_problem } UNION { ?a property:drug_used_for_treatment resource:Cholecalciferol . ?a rdf:type ontology:health_problem } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q12174 Q187255 Q128581
P2175
Q8386
USER
Which drugs are used for treatment of obesity, rheumatoid arthritis and breast cancer ?
(c(Q8386),P2175,Q12174) (c(Q8386),P2175,Q187255) (c(Q8386),P2175,Q128581)
action union
action filter_type
action find_reverse
entity Q12174
relation P2175
type Q8386
action filter_type
action find_reverse
entity Q187255
relation P2175
type Q8386
action filter_type
action find_reverse
entity Q128581
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', 'Q12174'] [{'concept': 'Q8386'}, 'P2175', 'Q187255'] [{'concept': 'Q8386'}, 'P2175', 'Q128581']
SELECT DISTINCT ?h WHERE { { ?h rdf:type ontology:Q8386 . ?h property:P2175 resource:Q12174 } UNION { ?h property:P2175 resource:Q187255 . ?h rdf:type ontology:Q8386 } }
obesity rheumatoid arthritis breast cancer
action union
action filter_type
action find_reverse
entity obesity
relation medical condition treated
type drug
action filter_type
action find_reverse
entity rheumatoid arthritis
relation medical condition treated
type drug
action filter_type
action find_reverse
entity breast cancer
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'obesity'] [{'concept': 'drug'}, 'medical condition treated', 'rheumatoid arthritis'] [{'concept': 'drug'}, 'medical condition treated', 'breast cancer']
SELECT DISTINCT ?h WHERE { { ?h rdf:type ontology:drug . ?h property:medical_condition_treated resource:obesity } UNION { ?h property:medical_condition_treated resource:rheumatoid_arthritis . ?h rdf:type ontology:drug } }
[]
drug
Q670131 Q422438 Q421052
SYSTEM
simvastatin, chloroquine, Everolimus
Q221174 Q417762 Q424163 Q424151 Q255680 Q693482 Q420009 Q139347 Q419394 Q191924 Q418928 Q418157 Q1649219 Q2356505 Q408801 Q2526479 Q413147 Q3025599 Q409587 Q3322838 Q3329406 Q425154 Q2465218 Q1749609 Q421239 Q421230 Q417740 Q422438 Q421094 Q408676 Q347613 Q425207 Q244408 Q419374 Q367700 Q4072449 Q2555245 Q412909 Q420035 Q421369 Q415264 Q386119 Q963093 Q415411 Q409231 Q7699074 Q412323 Q3655009 Q419890 Q1996249 Q408801 Q11426176 Q424972 Q2602750 Q408283 Q186969 Q218507 Q422185 Q348260 Q421119 Q1215575 Q2858961 Q18939 Q248550 Q3992411 Q409192 Q2697833 Q203174 Q413879 Q7444755 Q422232 Q415343 Q415588 Q5508491 Q418560 Q415939 Q417740 Q422222 Q422806 Q2298283 Q423762 Q410663 Q670131 Q241150 Q6808975 Q239426 Q3950557 Q2178381 Q26963 Q418817 Q418819 Q216935 Q419940 Q420436 Q194974 Q412415 Q139347 Q408524 Q15269707 Q413299 Q412534 Q421768 Q417824 Q1996756 Q524995 Q422252 Q420532 Q905901 Q424049 Q421862 Q1998021 Q421052 Q240642 Q282629 Q180983 Q5462791 Q3985253 Q408801 Q1063862 Q412178 Q18216 Q422416 Q139195 Q412197 Q418192 Q1988832 Q238512 Q412963 Q408283 Q218507 Q11711607 Q423989 Q409587 Q420207 Q907160 Q419143 Q1215575 Q412616 Q1592932 Q18936 Q7083106 Q3993743 Q425122 Q422232
(c(Q8386),P2175,Q12174) (c(Q8386),P2175,Q187255) (c(Q8386),P2175,Q128581)
action union
action filter_type
action find_reverse
entity Q12174
relation P2175
type Q8386
action filter_type
action find_reverse
entity Q187255
relation P2175
type Q8386
action filter_type
action find_reverse
entity Q128581
relation P2175
type Q8386
[ANSWERS] are used for treatment of obesity, rheumatoid arthritis and breast cancer
[{'concept': 'Q8386'}, 'P2175', 'Q12174'] [{'concept': 'Q8386'}, 'P2175', 'Q187255'] [{'concept': 'Q8386'}, 'P2175', 'Q128581']
SELECT DISTINCT ?h WHERE { { ?h rdf:type ontology:Q8386 . ?h property:P2175 resource:Q12174 } UNION { ?h property:P2175 resource:Q187255 . ?h rdf:type ontology:Q8386 } }
topiramate Exenatide orlistat sibutramine mazindol roflumilast diazoxide Cholecalciferol sevoflurane Methamphetamine fenfluramine Phentermine Phendimetrazine diethylpropion celecoxib Liraglutide (+)-Norephedrine Dexfenfluramine naltrexone (+/-)-benzphetamine Phenmetrazine Tocilizumab etodolac oxaprozin D-penicillamine auranofin lovastatin chloroquine hydroxychloroquine piroxicam valdecoxib nabumetone diclofenac dipyridamole Cyclosporine Aurothioglucose fenoprofen Certolizumab pegol sulfasalazine maraviroc Infliximab Natalizumab sulindac Anakinra indomethacin temsirolimus Rituximab Canakinumab flurbiprofen Belimumab celecoxib prednisolone prednisone diflunisal Denosumab ibuprofen zoledronic acid enalapril Adalimumab captopril naproxen apremilast azathioprine leflunomide tolmetin Ketoprofen Abatacept thalidomide golimumab Secukinumab methotrexate Etanercept Carboplatin Fulvestrant ifosfamide chlorambucil lovastatin Digoxin bupivacaine melphalan Paclitaxel fluoxymesterone simvastatin aminoglutethimide megestrol acetate mitoxantrone Sargramostim Darbepoetin alfa progesterone etoposide exemestane lidocaine dasatinib docetaxel letrozole cisplatin Cholecalciferol cyclophosphamide palbociclib Bevacizumab carvedilol methyltestosterone gefitinib enzalutamide dexrazoxane dexamethasone Vinorelbine vorinostat loratadine ribavirin Pertuzumab Everolimus valproic acid Vinblastine cytarabine fluocinonide testolactone celecoxib idarubicin tamoxifen acetylsalicylic acid 17β-estradiol Calcitriol irinotecan bexarotene bicalutamide 5-fluorouracil cabazitaxel Denosumab zoledronic acid Ixabepilone diethylstilbestrol naltrexone capecitabine leuprolide anastrozole naproxen Trastuzumab Pegfilgrastim doxorubicin olaparib toremifene Epirubicin methotrexate
Simvastatin, chloroquine and Everolimus are used for treatment of obesity, rheumatoid arthritis and breast cancer
simvastatin chloroquine Everolimus
action union
action filter_type
action find_reverse
entity obesity
relation medical condition treated
type drug
action filter_type
action find_reverse
entity rheumatoid arthritis
relation medical condition treated
type drug
action filter_type
action find_reverse
entity breast cancer
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'obesity'] [{'concept': 'drug'}, 'medical condition treated', 'rheumatoid arthritis'] [{'concept': 'drug'}, 'medical condition treated', 'breast cancer']
SELECT DISTINCT ?h WHERE { { ?h rdf:type ontology:drug . ?h property:medical_condition_treated resource:obesity } UNION { ?h property:medical_condition_treated resource:rheumatoid_arthritis . ?h rdf:type ontology:drug } }
[]