Simple Question (Direct)
Simple Question
Q3026996
P119
Q41176
USER
Which building is the tomb of Didier Destal ?
(Q3026996,P119,c(Q41176))
action filter_type
action find
entity Q3026996
relation P119
type Q41176
['Q3026996', 'P119', {'concept': 'Q41176'}]
SELECT DISTINCT ?y WHERE { resource:Q3026996 property:P119 ?y . ?y rdf:type ontology:Q41176 }
Didier Destal
action filter_type
action find
entity Didier Destal
relation place of burial
type building
['Didier Destal', 'place of burial', {'concept': 'building'}]
SELECT DISTINCT ?y WHERE { resource:Didier_Destal property:place_of_burial ?y . ?y rdf:type ontology:building }
[]
building
Q3006253
SYSTEM
Crématorium-columbarium du Père-Lachaise
Q3006253
(Q3026996,P119,c(Q41176))
action filter_type
action find
entity Q3026996
relation P119
type Q41176
[ANSWER] is the tomb of Didier Destal
['Q3026996', 'P119', {'concept': 'Q41176'}]
SELECT DISTINCT ?y WHERE { resource:Q3026996 property:P119 ?y . ?y rdf:type ontology:Q41176 }
Crématorium-columbarium du Père-Lachaise
Crématorium-columbarium du Père-Lachaise is the tomb of Didier Destal
Crématorium-columbarium du Père-Lachaise
action filter_type
action find
entity Didier Destal
relation place of burial
type building
['Didier Destal', 'place of burial', {'concept': 'building'}]
SELECT DISTINCT ?y WHERE { resource:Didier_Destal property:place_of_burial ?y . ?y rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3026996
P509
Q2057971
USER
What was the cause of death of that person ?
(Q3006253,P509,c(Q2057971))
action filter_type
action find
entity Q3026996
relation P509
type Q2057971
['Q3006253', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?j WHERE { resource:Q3026996 property:P509 ?j . ?j rdf:type ontology:Q2057971 }
Didier Destal
action filter_type
action find
entity Didier Destal
relation cause of death
type health problem
['Crématorium-columbarium du Père-Lachaise', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?j WHERE { resource:Didier_Destal property:cause_of_death ?j . ?j rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q3006253,P509,c(Q2057971))
action filter_type
action find
entity Q3026996
relation P509
type Q2057971
The cause of death of that person was a [ANSWER]
['Q3006253', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?j WHERE { resource:Q3026996 property:P509 ?j . ?j rdf:type ontology:Q2057971 }
myocardial infarction
The cause of death of that person was a myocardial infarction
myocardial infarction
action filter_type
action find
entity Didier Destal
relation cause of death
type health problem
['Crématorium-columbarium du Père-Lachaise', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?j WHERE { resource:Didier_Destal property:cause_of_death ?j . ?j rdf:type ontology:health_problem }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q12152 Q5383794 Q417169
P2176
Q8386
USER
Does that health problem requires Epoetin alfa and Urokinase to be prescribed ?
(Q12152,P2176,Q5383794) (Q12152,P2176,Q417169)
action is_in
entity Q12152
action intersection
action find_reverse
entity Q5383794
relation P2176
action find_reverse
entity Q417169
relation P2176
['Q12152', 'P2176', 'Q5383794'] ['Q12152', 'P2176', 'Q417169']
ASK WHERE { resource:Q12152 property:P2176 resource:Q5383794 . resource:Q12152 property:P2176 resource:Q417169 }
myocardial infarction Epoetin alfa Urokinase
action is_in
entity myocardial infarction
action intersection
action find_reverse
entity Epoetin alfa
relation drug used for treatment
action find_reverse
entity Urokinase
relation drug used for treatment
['myocardial infarction', 'drug used for treatment', 'Epoetin alfa'] ['myocardial infarction', 'drug used for treatment', 'Urokinase']
ASK WHERE { resource:myocardial_infarction property:drug_used_for_treatment resource:Epoetin_alfa . resource:myocardial_infarction property:drug_used_for_treatment resource:Urokinase }
[]
drug
SYSTEM
YES
(Q12152,P2176,Q5383794) (Q12152,P2176,Q417169)
action is_in
entity Q12152
action intersection
action find_reverse
entity Q5383794
relation P2176
action find_reverse
entity Q417169
relation P2176
[ANSWER]
['Q12152', 'P2176', 'Q5383794'] ['Q12152', 'P2176', 'Q417169']
ASK WHERE { resource:Q12152 property:P2176 resource:Q5383794 . resource:Q12152 property:P2176 resource:Q417169 }
Yes
action is_in
entity myocardial infarction
action intersection
action find_reverse
entity Epoetin alfa
relation drug used for treatment
action find_reverse
entity Urokinase
relation drug used for treatment
['myocardial infarction', 'drug used for treatment', 'Epoetin alfa'] ['myocardial infarction', 'drug used for treatment', 'Urokinase']
ASK WHERE { resource:myocardial_infarction property:drug_used_for_treatment resource:Epoetin_alfa . resource:myocardial_infarction property:drug_used_for_treatment resource:Urokinase }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q367700 Q417169
P2176
Q2057971
USER
Which health problems require Urokinase but not Cyclosporine to be prescribed ?
AND((c(Q2057971),P2176,Q417169), NOT((c(Q2057971),P2176,Q367700)))
action filter_type
action difference
action find_reverse
entity Q417169
relation P2176
action find_reverse
entity Q367700
relation P2176
type Q2057971
{'AND': [[{'concept': 'Q2057971'}, 'P2176', 'Q417169'], {'NOT': [[{'concept': 'Q2057971'}, 'P2176', 'Q367700']]}]}
SELECT DISTINCT ?z WHERE { ?z property:P2176 resource:Q417169 . FILTER NOT EXISTS { ?z property:P2176 resource:Q367700 } . ?z rdf:type ontology:Q2057971 }
Cyclosporine Urokinase
action filter_type
action difference
action find_reverse
entity Urokinase
relation drug used for treatment
action find_reverse
entity Cyclosporine
relation drug used for treatment
type health problem
{'AND': [[{'concept': 'health problem'}, 'drug used for treatment', 'Urokinase'], {'NOT': [[{'concept': 'health problem'}, 'drug used for treatment', 'Cyclosporine']]}]}
SELECT DISTINCT ?z WHERE { ?z property:drug_used_for_treatment resource:Urokinase . FILTER NOT EXISTS { ?z property:drug_used_for_treatment resource:Cyclosporine } . ?z rdf:type ontology:health_problem }
[]
health problem
Q707774 Q220570
SYSTEM
coronary thrombosis, pulmonary embolism
Q707774 Q220570
AND((c(Q2057971),P2176,Q417169), NOT((c(Q2057971),P2176,Q367700)))
action filter_type
action difference
action find_reverse
entity Q417169
relation P2176
action find_reverse
entity Q367700
relation P2176
type Q2057971
[ANSWERS] require Urokinase but not Cyclosporine to be prescribed
{'AND': [[{'concept': 'Q2057971'}, 'P2176', 'Q417169'], {'NOT': [[{'concept': 'Q2057971'}, 'P2176', 'Q367700']]}]}
SELECT DISTINCT ?z WHERE { ?z property:P2176 resource:Q417169 . FILTER NOT EXISTS { ?z property:P2176 resource:Q367700 } . ?z rdf:type ontology:Q2057971 }
coronary thrombosis pulmonary embolism
Coronary thrombosis and pulmonary embolism require Urokinase but not Cyclosporine to be prescribed
coronary thrombosis pulmonary embolism
action filter_type
action difference
action find_reverse
entity Urokinase
relation drug used for treatment
action find_reverse
entity Cyclosporine
relation drug used for treatment
type health problem
{'AND': [[{'concept': 'health problem'}, 'drug used for treatment', 'Urokinase'], {'NOT': [[{'concept': 'health problem'}, 'drug used for treatment', 'Cyclosporine']]}]}
SELECT DISTINCT ?z WHERE { ?z property:drug_used_for_treatment resource:Urokinase . FILTER NOT EXISTS { ?z property:drug_used_for_treatment resource:Cyclosporine } . ?z rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11081 Q12152
P2293
Q863908
USER
Which nucleic acid sequences have hereditary association with myocardial infarction or Alzheimer's disease ?
OR((Q12152,P2293,c(Q863908)), (Q11081,P2293,c(Q863908)))
action filter_type
action union
action find
entity Q12152
relation P2293
action find
entity Q11081
relation P2293
type Q863908
{'OR': [['Q12152', 'P2293', {'concept': 'Q863908'}], ['Q11081', 'P2293', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q863908 . { VALUES ( ?b ) { ( resource:Q12152 ) ( resource:Q11081 ) } . ?b property:P2293 ?d } }
Alzheimer's disease myocardial infarction
action filter_type
action union
action find
entity myocardial infarction
relation genetic association
action find
entity Alzheimer's disease
relation genetic association
type nucleic acid sequence
{'OR': [['myocardial infarction', 'genetic association', {'concept': 'nucleic acid sequence'}], ["Alzheimer's disease", 'genetic association', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:nucleic_acid_sequence . { VALUES ( ?b ) { ( resource:myocardial_infarction ) ( resource:Alzheimer's_disease ) } . ?b property:genetic_association ?d } }
[]
nucleic acid sequence
Q18041957 Q7392091 Q18027947 Q18055234 Q18036639 Q18033531 Q18041516 Q18027694 Q18034725 Q18052848
SYSTEM
Some of them are LIMS2, SORL1, INPP5D, LUZP2, PCNX1, CACNA1G, ZCWPW1, IGH, ELMO1, BMPER
Q18033279 Q18037003 Q17858733 Q18034002 Q18037479 Q18035316 Q18046267 Q18043072 Q18052848 Q18042514 Q18039650 Q18035395 Q18039883 Q17855637 Q17913823 Q18045682 Q18038784 Q2745322 Q18056131 Q18052271 Q18033761 Q18053521 Q18051063 Q18037897 Q17825605 Q18034601 Q18034725 Q18043155 Q18037783 Q18046433 Q14890468 Q18046244 Q18053558 Q18041790 Q18047843 Q18036702 Q17927283 Q18050688 Q18036665 Q5009814 Q18029240 Q18041957 Q18049453 Q18041263 Q14914401 Q18045297 Q18027947 Q18052870 Q18035581 Q18035998 Q18040973 Q18041516 Q18041288 Q414043 Q18046351 Q18047620 Q14864935 Q14904550 Q7392091 Q18025177 Q18042029 Q18052537 Q18036639 Q18053055 Q20787111 Q18036632 Q18033497 Q14864533 Q18055569 Q17815635 Q18055234 Q18042877 Q18030967 Q18044426 Q18034330 Q18027694 Q18032340 Q18055896 Q18062755 Q18029171 Q14907382 Q18037015 Q14819361 Q18033531 Q18036616 Q18046296 Q18035011 Q18032804 Q17911558 Q18032924
OR((Q12152,P2293,c(Q863908)), (Q11081,P2293,c(Q863908)))
action filter_type
action union
action find
entity Q12152
relation P2293
action find
entity Q11081
relation P2293
type Q863908
[ANSWERS] have hereditary association with myocardial infarction or Alzheimer's disease
{'OR': [['Q12152', 'P2293', {'concept': 'Q863908'}], ['Q11081', 'P2293', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q863908 . { VALUES ( ?b ) { ( resource:Q12152 ) ( resource:Q11081 ) } . ?b property:P2293 ?d } }
CRADD PRRC2C MS4A3 TRIP4 CD2AP ABCA7 SAP30L PLEKHG1 BMPER FMN2 PARVB TOMM40 CDON CAMK4 DMXL1 CSMD1 PCDH11X STK11 MIA3 NKAIN2 MPZL1 PHACTR1 MPP7 CNTNAP2 BIN1 ST18 ELMO1 ARHGAP20 MTHFD1L CCDC134 APOE PPP1R3B ATXN7L1 STK32B SPPL2A HECW1 PTK2B NDUFAF6 MYO16 CD33 MOBP LIMS2 ANO4 DCHS2 GAB2 EXOC4 INPP5D GLIS3 CELF1 FERMT2 TREM2 ZCWPW1 BCAS3 RELN CLMN MEGF10 CLU APOC1 SORL1 GABRG3 WDR12 ZNF320 PCNX1 PLPP4 LOC390956 DIP2C SQSTM1 CR1 TGM6 AP2A2 LUZP2 CASS4 NECTIN2 VAT1L SLC4A8 IGH VSNL1 POLN SLC8A1-AS1 AFF1 NCS1 PLCL2 CYCS CACNA1G SLC4A1AP ANKRD55 GPC6 PICALM CTNNA2 STK24
LIMS2, SORL1, INPP5D, LUZP2, PCNX1, CACNA1G, ZCWPW1, IGH, ELMO1 and BMPER have hereditary association with myocardial infarction or Alzheimer's disease
LIMS2 SORL1 INPP5D LUZP2 PCNX1 CACNA1G ZCWPW1 IGH ELMO1 BMPER
action filter_type
action union
action find
entity myocardial infarction
relation genetic association
action find
entity Alzheimer's disease
relation genetic association
type nucleic acid sequence
{'OR': [['myocardial infarction', 'genetic association', {'concept': 'nucleic acid sequence'}], ["Alzheimer's disease", 'genetic association', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:nucleic_acid_sequence . { VALUES ( ?b ) { ( resource:myocardial_infarction ) ( resource:Alzheimer's_disease ) } . ?b property:genetic_association ?d } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3041498 Q707774
P2176
Q8386
USER
Which drugs are used to cure coronary thrombosis or eye disease ?
OR((Q707774,P2176,c(Q8386)), (Q3041498,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q707774
relation P2176
action find
entity Q3041498
relation P2176
type Q8386
{'OR': [['Q707774', 'P2176', {'concept': 'Q8386'}], ['Q3041498', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q707774 property:P2176 ?d } UNION { resource:Q3041498 property:P2176 ?d } } . ?d rdf:type ontology:Q8386 }
eye disease coronary thrombosis
action filter_type
action union
action find
entity coronary thrombosis
relation drug used for treatment
action find
entity eye disease
relation drug used for treatment
type drug
{'OR': [['coronary thrombosis', 'drug used for treatment', {'concept': 'drug'}], ['eye disease', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?d WHERE { { { resource:coronary_thrombosis property:drug_used_for_treatment ?d } UNION { resource:eye_disease property:drug_used_for_treatment ?d } } . ?d rdf:type ontology:drug }
[]
drug
Q413299 Q904011 Q139347 Q409231 Q924467 Q408676 Q4712900 Q2858961 Q2697833 Q1074056
SYSTEM
Some of them are Bevacizumab, desonide, Cholecalciferol, indomethacin, fluocinolone acetonide, piroxicam, alcaftadine, apremilast, Abatacept, triamcinolone
Q416132 Q2212643 Q418702 Q367700 Q244408 Q139347 Q684379 Q409231 Q4567614 Q420553 Q422232 Q424972 Q2858961 Q348260 Q422252 Q2697833 Q411648 Q408676 Q417169 Q924467 Q425154 Q11426176 Q1644947 Q190875 Q4712900 Q4116192 Q419890 Q413299 Q607349 Q1074056 Q6807292 Q670131 Q736113 Q904011
OR((Q707774,P2176,c(Q8386)), (Q3041498,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q707774
relation P2176
action find
entity Q3041498
relation P2176
type Q8386
[ANSWERS] are used to cure coronary thrombosis or eye disease
{'OR': [['Q707774', 'P2176', {'concept': 'Q8386'}], ['Q3041498', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q707774 property:P2176 ?d } UNION { resource:Q3041498 property:P2176 ?d } } . ?d rdf:type ontology:Q8386 }
betamethasone Ocriplasmin Basiliximab Cyclosporine diclofenac Cholecalciferol nepafenac indomethacin mycophenolate mofetil mycophenolic acid methotrexate prednisone apremilast Adalimumab dexamethasone Abatacept tacrolimus piroxicam Urokinase fluocinolone acetonide Tocilizumab prednisolone Tenecteplase cortisol alcaftadine Oxyphenbutazone flurbiprofen Bevacizumab fluorometholone triamcinolone medrysone simvastatin difluprednate desonide
Bevacizumab, desonide, Cholecalciferol, indomethacin, fluocinolone acetonide, piroxicam, alcaftadine, apremilast, Abatacept and triamcinolone are used to cure coronary thrombosis or eye disease
Bevacizumab desonide Cholecalciferol indomethacin fluocinolone acetonide piroxicam alcaftadine apremilast Abatacept triamcinolone
action filter_type
action union
action find
entity coronary thrombosis
relation drug used for treatment
action find
entity eye disease
relation drug used for treatment
type drug
{'OR': [['coronary thrombosis', 'drug used for treatment', {'concept': 'drug'}], ['eye disease', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?d WHERE { { { resource:coronary_thrombosis property:drug_used_for_treatment ?d } UNION { resource:eye_disease property:drug_used_for_treatment ?d } } . ?d rdf:type ontology:drug }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18966930
P2176
Q2057971
USER
Are visual cortex disorder due to vascular disorder treated with those drugs ?
(Q18966930,P2176,Q413299) (Q18966930,P2176,Q904011) (Q18966930,P2176,Q139347) (Q18966930,P2176,Q409231) (Q18966930,P2176,Q924467) (Q18966930,P2176,Q408676) (Q18966930,P2176,Q4712900) (Q18966930,P2176,Q2858961) (Q18966930,P2176,Q2697833) (Q18966930,P2176,Q1074056)
action is_in
entity prev_answer
action find
entity Q18966930
relation P2176
['Q18966930', 'P2176', 'Q413299'] ['Q18966930', 'P2176', 'Q904011'] ['Q18966930', 'P2176', 'Q139347'] ['Q18966930', 'P2176', 'Q409231'] ['Q18966930', 'P2176', 'Q924467'] ['Q18966930', 'P2176', 'Q408676'] ['Q18966930', 'P2176', 'Q4712900'] ['Q18966930', 'P2176', 'Q2858961'] ['Q18966930', 'P2176', 'Q2697833'] ['Q18966930', 'P2176', 'Q1074056']
ASK WHERE { VALUES ( ?k ) { ( resource:Q416132 ) ( resource:Q2212643 ) ( resource:Q418702 ) } . resource:Q18966930 property:P2176 ?k }
visual cortex disorder due to vascular disorder
action is_in
entity prev_answer
action find
entity visual cortex disorder due to vascular disorder
relation drug used for treatment
['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'Bevacizumab'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'desonide'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'Cholecalciferol'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'indomethacin'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'fluocinolone acetonide'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'piroxicam'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'alcaftadine'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'apremilast'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'Abatacept'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'triamcinolone']
ASK WHERE { VALUES ( ?k ) { ( resource:betamethasone ) ( resource:Ocriplasmin ) ( resource:Basiliximab ) } . resource:visual_cortex_disorder_due_to_vascular_disorder property:drug_used_for_treatment ?k }
[]
health problem
SYSTEM
NO
(Q18966930,P2176,Q413299) (Q18966930,P2176,Q904011) (Q18966930,P2176,Q139347) (Q18966930,P2176,Q409231) (Q18966930,P2176,Q924467) (Q18966930,P2176,Q408676) (Q18966930,P2176,Q4712900) (Q18966930,P2176,Q2858961) (Q18966930,P2176,Q2697833) (Q18966930,P2176,Q1074056)
action is_in
entity prev_answer
action find
entity Q18966930
relation P2176
[ANSWER]
['Q18966930', 'P2176', 'Q413299'] ['Q18966930', 'P2176', 'Q904011'] ['Q18966930', 'P2176', 'Q139347'] ['Q18966930', 'P2176', 'Q409231'] ['Q18966930', 'P2176', 'Q924467'] ['Q18966930', 'P2176', 'Q408676'] ['Q18966930', 'P2176', 'Q4712900'] ['Q18966930', 'P2176', 'Q2858961'] ['Q18966930', 'P2176', 'Q2697833'] ['Q18966930', 'P2176', 'Q1074056']
ASK WHERE { VALUES ( ?k ) { ( resource:Q416132 ) ( resource:Q2212643 ) ( resource:Q418702 ) } . resource:Q18966930 property:P2176 ?k }
No
action is_in
entity prev_answer
action find
entity visual cortex disorder due to vascular disorder
relation drug used for treatment
['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'Bevacizumab'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'desonide'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'Cholecalciferol'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'indomethacin'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'fluocinolone acetonide'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'piroxicam'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'alcaftadine'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'apremilast'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'Abatacept'] ['visual cortex disorder due to vascular disorder', 'drug used for treatment', 'triamcinolone']
ASK WHERE { VALUES ( ?k ) { ( resource:betamethasone ) ( resource:Ocriplasmin ) ( resource:Basiliximab ) } . resource:visual_cortex_disorder_due_to_vascular_disorder property:drug_used_for_treatment ?k }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2858961 Q62736 Q18554293
P2175
Q2057971
USER
Is apremilast used for treatment of osteoarthritis/osteodystrophy and stromal corneal pigmentation ?
(Q2858961,P2175,Q62736) (Q2858961,P2175,Q18554293)
action is_in
entity Q2858961
action intersection
action find_reverse
entity Q62736
relation P2175
action find_reverse
entity Q18554293
relation P2175
['Q2858961', 'P2175', 'Q62736'] ['Q2858961', 'P2175', 'Q18554293']
ASK WHERE { resource:Q2858961 property:P2175 resource:Q62736 . resource:Q2858961 property:P2175 resource:Q18554293 }
apremilast osteoarthritis/osteodystrophy stromal corneal pigmentation
action is_in
entity apremilast
action intersection
action find_reverse
entity osteoarthritis/osteodystrophy
relation medical condition treated
action find_reverse
entity stromal corneal pigmentation
relation medical condition treated
['apremilast', 'medical condition treated', 'osteoarthritis/osteodystrophy'] ['apremilast', 'medical condition treated', 'stromal corneal pigmentation']
ASK WHERE { resource:apremilast property:medical_condition_treated resource:osteoarthritis/osteodystrophy . resource:apremilast property:medical_condition_treated resource:stromal_corneal_pigmentation }
[]
health problem
SYSTEM
YES and NO respectively
(Q2858961,P2175,Q62736) (Q2858961,P2175,Q18554293)
action is_in
entity Q2858961
action intersection
action find_reverse
entity Q62736
relation P2175
action find_reverse
entity Q18554293
relation P2175
[ANSWER]
['Q2858961', 'P2175', 'Q62736'] ['Q2858961', 'P2175', 'Q18554293']
ASK WHERE { resource:Q2858961 property:P2175 resource:Q62736 . resource:Q2858961 property:P2175 resource:Q18554293 }
YES and NO respectively
action is_in
entity apremilast
action intersection
action find_reverse
entity osteoarthritis/osteodystrophy
relation medical condition treated
action find_reverse
entity stromal corneal pigmentation
relation medical condition treated
['apremilast', 'medical condition treated', 'osteoarthritis/osteodystrophy'] ['apremilast', 'medical condition treated', 'stromal corneal pigmentation']
ASK WHERE { resource:apremilast property:medical_condition_treated resource:osteoarthritis/osteodystrophy . resource:apremilast property:medical_condition_treated resource:stromal_corneal_pigmentation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q409231
P2176
Q1441305 Q2057971
USER
How many medical signs or health problems are treated with indomethacin ?
(c(Q1441305),P2176,Q409231) (c(Q2057971),P2176,Q409231)
action count
action union
action filter_type
action find_reverse
entity Q409231
relation P2176
type Q1441305
action filter_type
action find_reverse
entity Q409231
relation P2176
type Q2057971
[{'concept': 'Q1441305'}, 'P2176', 'Q409231'] [{'concept': 'Q2057971'}, 'P2176', 'Q409231']
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1441305 ) ( ontology:Q2057971 ) } }
indomethacin
action count
action union
action filter_type
action find_reverse
entity indomethacin
relation drug used for treatment
type medical sign
action filter_type
action find_reverse
entity indomethacin
relation drug used for treatment
type health problem
[{'concept': 'medical sign'}, 'drug used for treatment', 'indomethacin'] [{'concept': 'health problem'}, 'drug used for treatment', 'indomethacin']
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:medical_sign ) ( ontology:health_problem ) } }
[]
medical sign health problem
SYSTEM
14
Q3041498 Q2072063 Q52844 Q62736 Q52849 Q187255 Q683498 Q389735 Q1527888 Q645363 Q3441028 Q2300099 Q133087 Q101991
(c(Q1441305),P2176,Q409231) (c(Q2057971),P2176,Q409231)
action count
action union
action filter_type
action find_reverse
entity Q409231
relation P2176
type Q1441305
action filter_type
action find_reverse
entity Q409231
relation P2176
type Q2057971
[ANSWER]
[{'concept': 'Q1441305'}, 'P2176', 'Q409231'] [{'concept': 'Q2057971'}, 'P2176', 'Q409231']
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1441305 ) ( ontology:Q2057971 ) } }
eye disease patent ductus arteriosus enthesopathy osteoarthritis/osteodystrophy ankylosing spondylitis rheumatoid arthritis joint pain cardiovascular disease pancreatitis bursitis Norum disease gastrointestinal system disease gout inflammation
14
action count
action union
action filter_type
action find_reverse
entity indomethacin
relation drug used for treatment
type medical sign
action filter_type
action find_reverse
entity indomethacin
relation drug used for treatment
type health problem
[{'concept': 'medical sign'}, 'drug used for treatment', 'indomethacin'] [{'concept': 'health problem'}, 'drug used for treatment', 'indomethacin']
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:medical_sign ) ( ontology:health_problem ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q339975
P921
Q8386 Q732577 Q386724
USER
Which drugs were the main subjects of less number of publications and works 's work than Sodium Nitrite ?
(c(Q732577)|c(Q386724),P921,c(Q8386))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action find_reverse_tuple_counts
relation P921
type Q8386
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q339975
relation P921
type Q732577
type Q386724
[[{'concept': 'Q732577'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?h ) WHERE { { ?k property:P921 ?c . ?c rdf:type ontology:Q8386 . ?k rdf:type ontology:Q732577 } UNION { ?k property:P921 ?c . ?c rdf:type ontology:Q8386 . ?k rdf:type ontology:Q386724 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { VALUES ( ?f ) { ( ontology:Q732577 ) ( ontology:Q386724 ) } . ?q rdf:type ?f } . ?q property:P921 resource:Q339975 } } . FILTER ( ?h < ?j ) }
Sodium Nitrite
action less
action union
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action find_reverse_tuple_counts
relation main subject
type drug
type work
action count
action filter_multi_types
action find_reverse
entity Sodium Nitrite
relation main subject
type publication
type work
[[{'concept': 'publication'}, {'concept': 'work'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?h ) WHERE { { ?k property:main_subject ?c . ?c rdf:type ontology:drug . ?k rdf:type ontology:publication } UNION { ?k property:main_subject ?c . ?c rdf:type ontology:drug . ?k rdf:type ontology:work } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { VALUES ( ?f ) { ( ontology:publication ) ( ontology:work ) } . ?q rdf:type ?f } . ?q property:main_subject resource:Sodium_Nitrite } } . FILTER ( ?h < ?j ) }
[]
drug publication work
Q39798 Q407972 Q213511
SYSTEM
Insulin, chlorpromazine, Erythromycin
Q377270 Q422416 Q410083 Q20816880 Q192717 Q243547 Q1147309 Q409262 Q3273062 Q412194 Q5134338 Q411441 Q418351 Q413486 Q898739 Q816759 Q60168 Q212272 Q1752915 Q422252 Q3108899 Q424976 Q414796 Q413188 Q193166 Q620730 Q281082 Q388801 Q134658 Q18939 Q170545 Q424145 Q421183 Q408471 Q413690 Q258450 Q685119 Q190067 Q554881 Q80863 Q174723 Q199678 Q425362 Q26963 Q412143 Q326224 Q192471 Q76560 Q2467555 Q423364 Q421781 Q1215575 Q127060 Q407972 Q193045 Q190875 Q423930 Q412208 Q60235 Q411461 Q121874 Q244150 Q3800087 Q413968 Q415869 Q273169 Q180912 Q421910 Q282629 Q410352 Q213511 Q192464 Q416821 Q23118 Q29417 Q200774 Q416905 Q419642 Q132621 Q221520 Q414547 Q375613 Q423169 Q407617 Q413504 Q134808 Q81225 Q412221 Q416507 Q179996 Q416503 Q846227 Q285911 Q412299 Q423762 Q411635 Q41576 Q181003 Q421119 Q410441 Q411885 Q407781 Q179731 Q5103230 Q415939 Q46452 Q422745 Q518114 Q186127 Q190012 Q19484 Q5319614 Q186969 Q409231 Q420673 Q2701912 Q422669 Q408977 Q300989 Q412496 Q407172 Q423357 Q419995 Q423423 Q186521 Q415588 Q407308 Q422215 Q407541 Q3322838 Q287029 Q418157 Q418011 Q219626 Q425296 Q348922 Q900898 Q186242 Q2768526 Q318369 Q423746 Q485277 Q181619 Q411237 Q419175 Q62947 Q203174 Q183290 Q425289 Q904308 Q409632 Q420360 Q2603363 Q169569 Q407535 Q410358 Q2341200 Q821641 Q1318776 Q408427 Q773449 Q2502747 Q409492 Q208451 Q19856779 Q408032 Q415850 Q182040 Q385347 Q410595 Q2354337 Q251698 Q419401 Q418817 Q416516 Q57055 Q422112 Q178566 Q415571 Q425502 Q39798 Q408570 Q20817216 Q407841 Q418523 Q410829 Q423814 Q192423 Q582356 Q423890 Q26272 Q411456 Q186474 Q198504 Q22124685 Q327362 Q418656 Q2298283 Q410374 Q420436 Q410061
(c(Q732577)|c(Q386724),P921,c(Q8386))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action find_reverse_tuple_counts
relation P921
type Q8386
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q339975
relation P921
type Q732577
type Q386724
[ANSWERS] were the main subjects of less number of publications and works 's work than Sodium Nitrite
[[{'concept': 'Q732577'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?h ) WHERE { { ?k property:P921 ?c . ?c rdf:type ontology:Q8386 . ?k rdf:type ontology:Q732577 } UNION { ?k property:P921 ?c . ?c rdf:type ontology:Q8386 . ?k rdf:type ontology:Q386724 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { VALUES ( ?f ) { ( ontology:Q732577 ) ( ontology:Q386724 ) } . ?q rdf:type ?f } . ?q property:P921 resource:Q339975 } } . FILTER ( ?h < ?j ) }
dihydrocodeine 17β-estradiol Polyethylene glycol L-Lysine Streptomycin Ketamine Cyclandelate Meticillin MM1 buspirone Clioquinol hydrocodone meprobamate diphenhydramine Laudanum Beta blocker diamorphine hydroxyurea trifluoperazine dexamethasone glipizide Vitamin A temazepam methacholine Choline Glycine Nalidixic Acid furosemide nicotinic acid azathioprine L-Phenylalanine Praziquantel Hexobarbital Paroxetine acetazolamide penicillin G methoxamine Δ9-tetrahydrocannabinol Ethylmorphine Adenosine triphosphate codeine Vitamin C Hexachlorophene progesterone triazolam Colchicine Menadione antidepressant Furazolidone propranolol Cupric Chloride naproxen Folic Acid chlorpromazine Tetracycline cortisol hydrochlorothiazide lisinopril caffeine pilocarpine Potassium Iodide Ampicillin pyrilamine Dimercaprol carmustine capsaicin melatonin phenylephrine Vinblastine gabapentin Erythromycin Levoleucovorin Menotropins LSD all-trans-retinoic acid Follitropin beta carisoprodol Trypan blue (-)-adrenaline triamterene Sodium salicylate RK-0202 Isoniazid sertraline azelaic acid vaccine morphine clonidine thiotepa methadone Aminophenazone antiviral drug ouabain oxazepam Paclitaxel Permethrin cocaine L-Tryptophan captopril modafinil Chromic chloride dextromethorphan Sodium bicarbonate Chlorphentermine chlorambucil opiumerty Benzocaine Oxybenzone Dactinomycin adenosine metformin Dz13 ibuprofen indomethacin guanethidine clofibrate Nitrofurantoin vincristine levodopa quinidine Chorionic gonadotropin eugenol amiloride Sulfanilamide L-Threonine Carboplatin theophylline Phenoxymethylpenicillin fentanyl (+/-)-benzphetamine Isotretinoin Phentermine mechlorethamine (-)-ephedrine prazosin busulfan probenecid (-)-noradrenaline monobenzone Adenosine monophosphate Pyridoxine L-Histidine L-Glutamine 4-hydroxyproline Phenacetin flunitrazepam thalidomide L-Serine chlorthalidone Mestranol pentobarbital phentolamine chlorothiazide Metronidazole oxycodone salbutamol Clodronate metyrapone testosterone Sulfathiazole T4 Sofosbuvir cimetidine calcium chloride mitomycin C Edetic Acid Amobarbital Aspartame thioguanine physostigmine Phosphatidyl serine Amifostine Carbachol etoposide enoxaparin paracetamol methylphenidate chlordiazepoxide Bleomycin Nitrofural Insulin Methoxsalen testosterone propionate reserpine niclosamide Heptabarbital dimercaptosuccinic acid Nicotinamide Interferon gamma-1b digitoxin Atropine methocarbamol L-Cysteine zidovudine L-Methionine triiodothyronine procarbazine melphalan Papaverine docetaxel amiodarone
Insulin, chlorpromazine and Erythromycin were the main subjects of less number of publications and works 's work than Sodium Nitrite
Insulin chlorpromazine Erythromycin
action less
action union
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action find_reverse_tuple_counts
relation main subject
type drug
type work
action count
action filter_multi_types
action find_reverse
entity Sodium Nitrite
relation main subject
type publication
type work
[[{'concept': 'publication'}, {'concept': 'work'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?h ) WHERE { { ?k property:main_subject ?c . ?c rdf:type ontology:drug . ?k rdf:type ontology:publication } UNION { ?k property:main_subject ?c . ?c rdf:type ontology:drug . ?k rdf:type ontology:work } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { VALUES ( ?f ) { ( ontology:publication ) ( ontology:work ) } . ?q rdf:type ?f } . ?q property:main_subject resource:Sodium_Nitrite } } . FILTER ( ?h < ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q221520
P921
Q8386 Q732577 Q386724
USER
And how about triamterene?
(c(Q732577)|c(Q386724),P921,c(Q8386))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action find_reverse_tuple_counts
relation P921
type Q8386
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q221520
relation P921
type Q732577
type Q386724
[[{'concept': 'Q732577'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?m ) WHERE { { ?e rdf:type ontology:Q8386 . ?v rdf:type ontology:Q732577 . ?v property:P921 ?e } UNION { ?v property:P921 ?e . ?e rdf:type ontology:Q8386 . ?v rdf:type ontology:Q386724 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P921 resource:Q221520 . { { ?t rdf:type ontology:Q732577 } UNION { ?t rdf:type ontology:Q386724 } } } } . FILTER ( ?m < ?c ) }
triamterene
action less
action union
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action find_reverse_tuple_counts
relation main subject
type drug
type work
action count
action filter_multi_types
action find_reverse
entity triamterene
relation main subject
type publication
type work
[[{'concept': 'publication'}, {'concept': 'work'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?m ) WHERE { { ?e rdf:type ontology:drug . ?v rdf:type ontology:publication . ?v property:main_subject ?e } UNION { ?v property:main_subject ?e . ?e rdf:type ontology:drug . ?v rdf:type ontology:work } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:main_subject resource:triamterene . { { ?t rdf:type ontology:publication } UNION { ?t rdf:type ontology:work } } } } . FILTER ( ?m < ?c ) }
[]
drug publication work
Q39798 Q213511 Q41576
SYSTEM
Insulin, Erythromycin, cocaine
Q377270 Q422416 Q20816880 Q192717 Q243547 Q1147309 Q409262 Q3273062 Q413486 Q898739 Q816759 Q60168 Q1752915 Q413188 Q193166 Q620730 Q281082 Q18939 Q424145 Q408471 Q413690 Q685119 Q190067 Q554881 Q199678 Q326224 Q192471 Q76560 Q2467555 Q193045 Q121874 Q244150 Q3800087 Q413968 Q273169 Q282629 Q213511 Q192464 Q416821 Q23118 Q414547 Q407617 Q134808 Q412221 Q416503 Q846227 Q285911 Q41576 Q410441 Q407781 Q46452 Q518114 Q190012 Q19484 Q5319614 Q186969 Q409231 Q2701912 Q408977 Q300989 Q407172 Q423357 Q186521 Q407308 Q3322838 Q418157 Q219626 Q425296 Q186242 Q2768526 Q318369 Q423746 Q485277 Q181619 Q411237 Q183290 Q409632 Q2603363 Q169569 Q410358 Q2341200 Q821641 Q408427 Q2502747 Q409492 Q208451 Q410595 Q2354337 Q251698 Q418817 Q57055 Q422112 Q415571 Q39798 Q423814 Q192423 Q582356 Q186474 Q198504 Q22124685 Q327362 Q418656 Q420436 Q410061
(c(Q732577)|c(Q386724),P921,c(Q8386))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q8386
type Q732577
action find_reverse_tuple_counts
relation P921
type Q8386
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q221520
relation P921
type Q732577
type Q386724
[ANSWERS]
[[{'concept': 'Q732577'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q8386'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?m ) WHERE { { ?e rdf:type ontology:Q8386 . ?v rdf:type ontology:Q732577 . ?v property:P921 ?e } UNION { ?v property:P921 ?e . ?e rdf:type ontology:Q8386 . ?v rdf:type ontology:Q386724 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P921 resource:Q221520 . { { ?t rdf:type ontology:Q732577 } UNION { ?t rdf:type ontology:Q386724 } } } } . FILTER ( ?m < ?c ) }
dihydrocodeine 17β-estradiol L-Lysine Streptomycin Ketamine Cyclandelate Meticillin MM1 diphenhydramine Laudanum Beta blocker diamorphine trifluoperazine methacholine Choline Glycine Nalidixic Acid azathioprine Praziquantel Paroxetine acetazolamide methoxamine Δ9-tetrahydrocannabinol Ethylmorphine Vitamin C Colchicine Menadione antidepressant Furazolidone Tetracycline Potassium Iodide Ampicillin pyrilamine Dimercaprol capsaicin Vinblastine Erythromycin Levoleucovorin Menotropins LSD Sodium salicylate sertraline vaccine clonidine Aminophenazone antiviral drug ouabain cocaine modafinil dextromethorphan opiumerty Oxybenzone adenosine metformin Dz13 ibuprofen indomethacin clofibrate vincristine levodopa Chorionic gonadotropin eugenol L-Threonine theophylline (+/-)-benzphetamine Phentermine (-)-ephedrine prazosin (-)-noradrenaline monobenzone Adenosine monophosphate Pyridoxine L-Histidine L-Glutamine 4-hydroxyproline L-Serine pentobarbital chlorothiazide Metronidazole salbutamol Clodronate metyrapone Sulfathiazole Sofosbuvir cimetidine calcium chloride physostigmine Phosphatidyl serine Amifostine etoposide paracetamol methylphenidate Bleomycin Insulin dimercaptosuccinic acid Nicotinamide Interferon gamma-1b L-Cysteine zidovudine L-Methionine triiodothyronine procarbazine docetaxel amiodarone
Insulin Erythromycin cocaine
action less
action union
action find_reverse_tuple_counts
relation main subject
type drug
type publication
action find_reverse_tuple_counts
relation main subject
type drug
type work
action count
action filter_multi_types
action find_reverse
entity triamterene
relation main subject
type publication
type work
[[{'concept': 'publication'}, {'concept': 'work'}], 'main subject', {'concept': 'drug'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?m ) WHERE { { ?e rdf:type ontology:drug . ?v rdf:type ontology:publication . ?v property:main_subject ?e } UNION { ?v property:main_subject ?e . ?e rdf:type ontology:drug . ?v rdf:type ontology:work } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:main_subject resource:triamterene . { { ?t rdf:type ontology:publication } UNION { ?t rdf:type ontology:work } } } } . FILTER ( ?m < ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1479497
P2176
Q8386 Q2057971
USER
Which health problems require less number of drugs to be prescribed than Porphyria cutanea tarda ?
(c(Q2057971),P2176,c(Q8386))
action less
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q1479497
relation P2176
type Q8386
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { resource:Q1479497 property:P2176 ?b . ?b rdf:type ontology:Q8386 } } . FILTER ( ?o < ?t ) . { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?o ) WHERE { ?y rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q8386 . ?y property:P2176 ?z } GROUP BY ?y } }
Porphyria cutanea tarda
action less
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity Porphyria cutanea tarda
relation drug used for treatment
type drug
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { resource:Porphyria_cutanea_tarda property:drug_used_for_treatment ?b . ?b rdf:type ontology:drug } } . FILTER ( ?o < ?t ) . { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?o ) WHERE { ?y rdf:type ontology:health_problem . ?z rdf:type ontology:drug . ?y property:drug_used_for_treatment ?z } GROUP BY ?y } }
[]
drug health problem
Q2351083 Q221472 Q207087
SYSTEM
disease of metabolism, fragile X syndrome, ectopic pregnancy
Q21154326 Q18557091 Q184084 Q612681 Q2351083 Q954674 Q207087 Q3144201 Q1573307 Q221472 Q899726 Q2306782 Q972514 Q5062153
(c(Q2057971),P2176,c(Q8386))
action less
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q1479497
relation P2176
type Q8386
[ANSWERS] require less number of drugs to be prescribed than Porphyria cutanea tarda
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { resource:Q1479497 property:P2176 ?b . ?b rdf:type ontology:Q8386 } } . FILTER ( ?o < ?t ) . { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?o ) WHERE { ?y rdf:type ontology:Q2057971 . ?z rdf:type ontology:Q8386 . ?y property:P2176 ?z } GROUP BY ?y } }
ariboflavinosis microglandular adenosis beriberi anuria disease of metabolism iron deficiency anemia ectopic pregnancy Excessive daytime sleepiness Wernicke encephalopathy fragile X syndrome Spinocerebellar ataxia hypochromic anemia optic neuritis central sleep apnea
Disease of metabolism, fragile X syndrome and ectopic pregnancy require less number of drugs to be prescribed than Porphyria cutanea tarda
disease of metabolism fragile X syndrome ectopic pregnancy
action less
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity Porphyria cutanea tarda
relation drug used for treatment
type drug
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { resource:Porphyria_cutanea_tarda property:drug_used_for_treatment ?b . ?b rdf:type ontology:drug } } . FILTER ( ?o < ?t ) . { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?o ) WHERE { ?y rdf:type ontology:health_problem . ?z rdf:type ontology:drug . ?y property:drug_used_for_treatment ?z } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q11085
P2176
Q8386 Q2057971
USER
And what about Parkinson's disease?
(c(Q2057971),P2176,c(Q8386))
action less
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q11085
relation P2176
type Q8386
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?k ) WHERE { ?z property:P2176 ?f . ?z rdf:type ontology:Q2057971 . ?f rdf:type ontology:Q8386 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q11085 property:P2176 ?a . ?a rdf:type ontology:Q8386 } } . FILTER ( ?k < ?p ) }
Parkinson's disease
action less
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity Parkinson's disease
relation drug used for treatment
type drug
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?k ) WHERE { ?z property:drug_used_for_treatment ?f . ?z rdf:type ontology:health_problem . ?f rdf:type ontology:drug } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Parkinson's_disease property:drug_used_for_treatment ?a . ?a rdf:type ontology:drug } } . FILTER ( ?k < ?p ) }
[]
drug health problem
Q12174 Q206901 Q181923
SYSTEM
obesity, amyotrophic lateral sclerosis, attention deficit hyperactivity disorder
Q334655 Q18553785 Q6473911 Q881855 Q1066061 Q1516211 Q188638 Q593958 Q18554545 Q941770 Q615645 Q283656 Q916280 Q5334259 Q998273 Q1640860 Q676191 Q326071 Q12656487 Q470427 Q21154326 Q6742925 Q495146 Q18555986 Q18555243 Q18557091 Q18556131 Q2085267 Q725345 Q273510 Q826103 Q147778 Q638729 Q520127 Q2661464 Q1856914 Q4330029 Q646664 Q48143 Q1343674 Q3154357 Q748309 Q16499 Q830308 Q1125160 Q980709 Q1072420 Q1137767 Q2165266 Q18968110 Q1934052 Q746001 Q2325854 Q185034 Q9294051 Q184559 Q4667072 Q208166 Q190564 Q154882 Q2096745 Q662272 Q18554971 Q3435504 Q432462 Q876887 Q187842 Q201989 Q923020 Q184084 Q2012569 Q18975720 Q18555117 Q18554191 Q189956 Q612681 Q611458 Q1153419 Q883863 Q47790 Q2351083 Q11088 Q17165460 Q1446169 Q206901 Q18557440 Q18554909 Q1059765 Q32778 Q41478 Q686574 Q18557172 Q4742183 Q954674 Q18554377 Q751631 Q3144934 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 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 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 Q18971509 Q1658731 Q5380626 Q281490 Q5609817 Q6822340 Q1016605 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 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 Q18553212 Q3547899 Q18975905 Q3765145 Q17119372 Q19000544 Q259626 Q18555944 Q736715 Q6807316 Q3513968 Q201180 Q18557550 Q683861 Q335555 Q265936 Q12199 Q697117 Q18555301 Q476921 Q1641399 Q3360152 Q2964243 Q18975788 Q174589 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 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 Q18554216 Q18554607 Q666980 Q1433936 Q308978 Q223591 Q729735 Q570197 Q170990 Q552348 Q631361 Q612108 Q16242752 Q390475 Q1365789 Q17083186 Q3508787 Q6673122 Q10863074 Q7136145 Q3985306 Q1053824 Q11039483 Q506659 Q18555222 Q353172 Q2726043 Q18556933 Q1479494 Q18555940 Q1479497 Q159701 Q777087 Q18554512 Q156050 Q7581954 Q7535406 Q692536 Q3991731 Q3327495 Q22467774 Q18975047 Q1576205 Q38404 Q42982 Q114085 Q3043158 Q1054718 Q938983 Q2894827 Q177190 Q12156 Q1097957 Q925092 Q10859678 Q9390284 Q18557827 Q1628473 Q33525 Q2397009 Q19000484 Q651680 Q4944687 Q906492 Q327298 Q2711291 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 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 Q1346016 Q845779 Q2360849 Q298230 Q154869 Q585285 Q1102300 Q16501 Q2070695 Q7170410 Q7331102 Q1145668 Q489997 Q7632070 Q18555032 Q18555037 Q129104 Q578994 Q220551 Q464067 Q1209744 Q203133 Q167178 Q911386 Q3296793 Q939261 Q16935263 Q18558279 Q2840 Q18558272 Q776881 Q18556397 Q18554727 Q7204592 Q1328833 Q19000473 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 Q18556413 Q757838 Q129279 Q4941552 Q18554096 Q18556569 Q5325633 Q18967840 Q5062153 Q1483214 Q221441 Q7900616 Q424227 Q8282 Q4118166 Q2089854 Q28971
(c(Q2057971),P2176,c(Q8386))
action less
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q11085
relation P2176
type Q8386
[ANSWERS]
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?k ) WHERE { ?z property:P2176 ?f . ?z rdf:type ontology:Q2057971 . ?f rdf:type ontology:Q8386 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q11085 property:P2176 ?a . ?a rdf:type ontology:Q8386 } } . FILTER ( ?k < ?p ) }
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 vaginitis 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 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 fibroma 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 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 periodontal disease bronchiectasis hemorrhoid Endometrial hyperplasia follicular adenoma amelanotic melanoma iron deficiency anemia diabetic polyneuropathy pure red-cell aplasia hemochromatosis 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 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 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 focal epilepsy Postoperative nausea and vomiting Entomophthoramycosis urinary incontinence .l. Athlete's foot metabolic bone disease Burkitt lymphoma 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 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 cutaneous mycosis leg ulcers 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 facial dermatosis kidney failure hypoplastic left heart syndrome pachyonychia congenita hemorrhagic shock spindle cell sarcoma agoraphobia 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 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 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 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 paroxysmal nocturnal hemoglobinuria uterine disease Porphyria cutanea tarda glaucoma echinococcosis pulmonary sarcoidosis brucellosis squamous cell papilloma skin infection myopathy thyrotoxicosis Oral candidiasis premature menopause hematologic cancer carotid artery occlusion autism type I hypersensitivity rhinitis mevalonic aciduria kidney disease osteomyelitis childhood absence epilepsy 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 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 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 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 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 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 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 amyotrophic lateral sclerosis attention deficit hyperactivity disorder
action less
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity Parkinson's disease
relation drug used for treatment
type drug
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?k ) WHERE { ?z property:drug_used_for_treatment ?f . ?z rdf:type ontology:health_problem . ?f rdf:type ontology:drug } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Parkinson's_disease property:drug_used_for_treatment ?a . ?a rdf:type ontology:drug } } . FILTER ( ?k < ?p ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q206901
P138
Q502895
USER
Which people are that health problem named after ?
(Q206901,P138,c(Q502895))
action filter_type
action find
entity Q206901
relation P138
type Q502895
['Q206901', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q206901 property:P138 ?m . ?m rdf:type ontology:Q502895 }
amyotrophic lateral sclerosis
action filter_type
action find
entity amyotrophic lateral sclerosis
relation named after
type common name
['amyotrophic lateral sclerosis', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:amyotrophic_lateral_sclerosis property:named_after ?m . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q181923
SYSTEM
Did you mean attention deficit hyperactivity disorder ?
Q12174 Q206901 Q181923
(Q12174,P138,c(Q502895)) (Q206901,P138,c(Q502895)) (Q181923,P138,c(Q502895))
[ANSWER]
['Q12174', 'P138', {'concept': 'Q502895'}] ['Q206901', 'P138', {'concept': 'Q502895'}] ['Q181923', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q206901 property:P138 ?m . ?m rdf:type ontology:Q502895 }
obesity amyotrophic lateral sclerosis attention deficit hyperactivity disorder
Did you mean attention deficit hyperactivity disorder ?
attention deficit hyperactivity disorder
['obesity', 'named after', {'concept': 'common name'}] ['amyotrophic lateral sclerosis', 'named after', {'concept': 'common name'}] ['attention deficit hyperactivity disorder', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:amyotrophic_lateral_sclerosis property:named_after ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant amyotrophic lateral sclerosis. Could you tell me the answer for that?
(Q206901,P138,c(Q502895))
Q206901
['Q206901', 'P138', {'concept': 'Q502895'}]
['amyotrophic lateral sclerosis', 'named after', {'concept': 'common name'}]
[]
Q357444 Q20710
SYSTEM
Lou Gehrig, Jean-Martin Charcot
Q357444 Q20710
(Q206901,P138,c(Q502895))
action filter_type
action find
entity Q206901
relation P138
type Q502895
That health problem are named after [ANSWERS]
['Q206901', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q206901 property:P138 ?m . ?m rdf:type ontology:Q502895 }
Lou Gehrig Jean-Martin Charcot
That health problem are named after Lou Gehrig and Jean-Martin Charcot
Lou Gehrig Jean-Martin Charcot
action filter_type
action find
entity amyotrophic lateral sclerosis
relation named after
type common name
['amyotrophic lateral sclerosis', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:amyotrophic_lateral_sclerosis property:named_after ?m . ?m rdf:type ontology:common_name }
[]