Simple Question (Direct)
Simple Question
Q2977721
P27
Q15617994
USER
Which administrative territory is Claude Loursais an inhabitant of ?
(Q2977721,P27,c(Q15617994))
action filter_type
action find
entity Q2977721
relation P27
type Q15617994
['Q2977721', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q2977721 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Claude Loursais
action filter_type
action find
entity Claude Loursais
relation country of citizenship
type designation for an administrative territorial entity
['Claude Loursais', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Claude_Loursais property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2977721,P27,c(Q15617994))
action filter_type
action find
entity Q2977721
relation P27
type Q15617994
[ANSWER] is Claude Loursais an inhabitant of
['Q2977721', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q2977721 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
France
France is Claude Loursais an inhabitant of
France
action filter_type
action find
entity Claude Loursais
relation country of citizenship
type designation for an administrative territorial entity
['Claude Loursais', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Claude_Loursais property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2977721
P170
Q838948
USER
Which works were created by that person ?
(c(Q838948),P170,Q142)
action filter_type
action find_reverse
entity Q2977721
relation P170
type Q838948
[{'concept': 'Q838948'}, 'P170', 'Q142']
SELECT DISTINCT ?t WHERE { ?t property:P170 resource:Q2977721 . ?t rdf:type ontology:Q838948 }
Claude Loursais
action filter_type
action find_reverse
entity Claude Loursais
relation creator
type work of art
[{'concept': 'work of art'}, 'creator', 'France']
SELECT DISTINCT ?t WHERE { ?t property:creator resource:Claude_Loursais . ?t rdf:type ontology:work_of_art }
[]
work of art
Q3231555
SYSTEM
Les Cinq Dernières Minutes
Q3231555
(c(Q838948),P170,Q142)
action filter_type
action find_reverse
entity Q2977721
relation P170
type Q838948
[ANSWER] was created by that person
[{'concept': 'Q838948'}, 'P170', 'Q142']
SELECT DISTINCT ?t WHERE { ?t property:P170 resource:Q2977721 . ?t rdf:type ontology:Q838948 }
Les Cinq Dernières Minutes
Les Cinq Dernières Minutes was created by that person
Les Cinq Dernières Minutes
action filter_type
action find_reverse
entity Claude Loursais
relation creator
type work of art
[{'concept': 'work of art'}, 'creator', 'France']
SELECT DISTINCT ?t WHERE { ?t property:creator resource:Claude_Loursais . ?t rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P495
Q277759 Q951964
USER
How many book series or food products are France a country of origin of ?
(c(Q277759),P495,Q142) (c(Q951964),P495,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P495
type Q277759
action filter_type
action find_reverse
entity Q142
relation P495
type Q951964
[{'concept': 'Q277759'}, 'P495', 'Q142'] [{'concept': 'Q951964'}, 'P495', 'Q142']
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { ?n property:P495 resource:Q142 . ?n rdf:type ontology:Q277759 } UNION { ?n rdf:type ontology:Q951964 . ?n property:P495 resource:Q142 } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation country of origin
type book series
action filter_type
action find_reverse
entity France
relation country of origin
type food product
[{'concept': 'book series'}, 'country of origin', 'France'] [{'concept': 'food product'}, 'country of origin', 'France']
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { ?n property:country_of_origin resource:France . ?n rdf:type ontology:book_series } UNION { ?n rdf:type ontology:food_product . ?n property:country_of_origin resource:France } }
[]
book series food product
SYSTEM
13
Q3348806 Q3530640 Q3539202 Q2008180 Q845259 Q1111179 Q1027031 Q942860 Q32616 Q684593 Q822290 Q91926 Q1431020
(c(Q277759),P495,Q142) (c(Q951964),P495,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P495
type Q277759
action filter_type
action find_reverse
entity Q142
relation P495
type Q951964
[ANSWER]
[{'concept': 'Q277759'}, 'P495', 'Q142'] [{'concept': 'Q951964'}, 'P495', 'Q142']
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { ?n property:P495 resource:Q142 . ?n rdf:type ontology:Q277759 } UNION { ?n rdf:type ontology:Q951964 . ?n property:P495 resource:Q142 } }
Octave Tom-Tom and Nana Grisbi trilogy OSS 117 Iznogoud D'Artagnan Romances Calisson Son Altesse Sérénissime Silex and the City The Accursed Kings Gargantua and Pantagruel Barbarella Franco-Belgian comics
13
action count
action union
action filter_type
action find_reverse
entity France
relation country of origin
type book series
action filter_type
action find_reverse
entity France
relation country of origin
type food product
[{'concept': 'book series'}, 'country of origin', 'France'] [{'concept': 'food product'}, 'country of origin', 'France']
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { ?n property:country_of_origin resource:France . ?n rdf:type ontology:book_series } UNION { ?n rdf:type ontology:food_product . ?n property:country_of_origin resource:France } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2977721
P1196
Q1931388
USER
What situation did Claude Loursais die in ?
(Q2977721,P1196,c(Q1931388))
action filter_type
action find
entity Q2977721
relation P1196
type Q1931388
['Q2977721', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?k WHERE { resource:Q2977721 property:P1196 ?k . ?k rdf:type ontology:Q1931388 }
Claude Loursais
action filter_type
action find
entity Claude Loursais
relation manner of death
type cause of death
['Claude Loursais', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?k WHERE { resource:Claude_Loursais property:manner_of_death ?k . ?k rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q2977721,P1196,c(Q1931388))
action filter_type
action find
entity Q2977721
relation P1196
type Q1931388
Claude Loursais died of [ANSWER]
['Q2977721', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?k WHERE { resource:Q2977721 property:P1196 ?k . ?k rdf:type ontology:Q1931388 }
natural causes
Claude Loursais died of natural causes
natural causes
action filter_type
action find
entity Claude Loursais
relation manner of death
type cause of death
['Claude Loursais', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?k WHERE { resource:Claude_Loursais property:manner_of_death ?k . ?k rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2977721
P509
Q2057971
USER
How did Claude Loursais die ?
(Q2977721,P509,c(Q2057971))
action filter_type
action find
entity Q2977721
relation P509
type Q2057971
['Q2977721', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2057971 . resource:Q2977721 property:P509 ?f }
Claude Loursais
action filter_type
action find
entity Claude Loursais
relation cause of death
type health problem
['Claude Loursais', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:health_problem . resource:Claude_Loursais property:cause_of_death ?f }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q2977721,P509,c(Q2057971))
action filter_type
action find
entity Q2977721
relation P509
type Q2057971
Claude Loursais died of [ANSWER]
['Q2977721', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2057971 . resource:Q2977721 property:P509 ?f }
myocardial infarction
Claude Loursais died of myocardial infarction
myocardial infarction
action filter_type
action find
entity Claude Loursais
relation cause of death
type health problem
['Claude Loursais', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:health_problem . resource:Claude_Loursais property:cause_of_death ?f }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q124407 Q12152
P2176
Q8386
USER
Which drugs are used as a remedy for myocardial infarction and type 1 diabetes mellitus ?
AND((Q12152,P2176,c(Q8386)), (Q124407,P2176,c(Q8386)))
action filter_type
action intersection
action find
entity Q12152
relation P2176
action find
entity Q124407
relation P2176
type Q8386
{'AND': [['Q12152', 'P2176', {'concept': 'Q8386'}], ['Q124407', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?h WHERE { resource:Q12152 property:P2176 ?h . resource:Q124407 property:P2176 ?h . ?h rdf:type ontology:Q8386 }
type 1 diabetes mellitus myocardial infarction
action filter_type
action intersection
action find
entity myocardial infarction
relation drug used for treatment
action find
entity type 1 diabetes mellitus
relation drug used for treatment
type drug
{'AND': [['myocardial infarction', 'drug used for treatment', {'concept': 'drug'}], ['type 1 diabetes mellitus', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?h WHERE { resource:myocardial_infarction property:drug_used_for_treatment ?h . resource:type_1_diabetes_mellitus property:drug_used_for_treatment ?h . ?h rdf:type ontology:drug }
[]
drug
Q425154 Q415411 Q417762
SYSTEM
Tocilizumab, Anakinra, Exenatide
Q425154 Q415411 Q417762
AND((Q12152,P2176,c(Q8386)), (Q124407,P2176,c(Q8386)))
action filter_type
action intersection
action find
entity Q12152
relation P2176
action find
entity Q124407
relation P2176
type Q8386
[ANSWERS] are used as a remedy for myocardial infarction and type 1 diabetes mellitus
{'AND': [['Q12152', 'P2176', {'concept': 'Q8386'}], ['Q124407', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?h WHERE { resource:Q12152 property:P2176 ?h . resource:Q124407 property:P2176 ?h . ?h rdf:type ontology:Q8386 }
Tocilizumab Anakinra Exenatide
Tocilizumab, Anakinra and Exenatide are used as a remedy for myocardial infarction and type 1 diabetes mellitus
Tocilizumab Anakinra Exenatide
action filter_type
action intersection
action find
entity myocardial infarction
relation drug used for treatment
action find
entity type 1 diabetes mellitus
relation drug used for treatment
type drug
{'AND': [['myocardial infarction', 'drug used for treatment', {'concept': 'drug'}], ['type 1 diabetes mellitus', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?h WHERE { resource:myocardial_infarction property:drug_used_for_treatment ?h . resource:type_1_diabetes_mellitus property:drug_used_for_treatment ?h . ?h rdf:type ontology:drug }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q182155
P2176
Q8386 Q2057971
USER
Which health problems require approximately the same number of drugs as a remedy as herpes zoster ?
(c(Q2057971),P2176,c(Q8386))
action approx
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q182155
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?n ) WHERE { ?t rdf:type ontology:Q2057971 . ?h rdf:type ontology:Q8386 . ?t property:P2176 ?h } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Q182155 property:P2176 ?f . ?f rdf:type ontology:Q2057971 } } . FILTER ( ?n = ?z ) }
herpes zoster
action approx
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity herpes zoster
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?n ) WHERE { ?t rdf:type ontology:health_problem . ?h rdf:type ontology:drug . ?t property:drug_used_for_treatment ?h } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:herpes_zoster property:drug_used_for_treatment ?f . ?f rdf:type ontology:health_problem } } . FILTER ( ?n = ?z ) }
[]
drug health problem
Q206901 Q520127 Q2351083
SYSTEM
amyotrophic lateral sclerosis, periodontitis, disease of metabolism
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 Q725345 Q273510 Q826103 Q147778 Q638729 Q520127 Q2661464 Q1856914 Q4330029 Q646664 Q48143 Q1343674 Q3154357 Q748309 Q16499 Q830308 Q1125160 Q980709 Q1072420 Q1137767 Q2165266 Q1934052 Q746001 Q2325854 Q4667072 Q208166 Q190564 Q154882 Q2096745 Q662272 Q18554971 Q3435504 Q432462 Q876887 Q187842 Q201989 Q923020 Q184084 Q2012569 Q18975720 Q18555117 Q189956 Q612681 Q611458 Q1153419 Q883863 Q47790 Q2351083 Q11088 Q17165460 Q1446169 Q206901 Q18557440 Q18554909 Q1059765 Q32778 Q686574 Q18557172 Q4742183 Q954674 Q18554377 Q751631 Q3144934 Q18556002 Q448310 Q4358039 Q3508800 Q816798 Q4684750 Q2443552 Q18556675 Q7562539 Q18556954 Q1209150 Q2997615 Q188605 Q189580 Q6691991 Q18555094 Q18553993 Q1048084 Q808892 Q18554672 Q1435223 Q18554674 Q281928 Q2508462 Q1344812 Q18556705 Q207087 Q4366062 Q2032041 Q587420 Q7923229 Q12202 Q401402 Q103177 Q659033 Q49970 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 Q18556510 Q922411 Q2290446 Q209733 Q847057 Q221472 Q1693598 Q18553226 Q7476596 Q1527888 Q3055380 Q2300099 Q2057356 Q1713037 Q911427 Q11679861 Q18557988 Q616667 Q183392 Q18556052 Q574905 Q979168 Q18556128 Q769595 Q938107 Q18555233 Q614750 Q18556900 Q1658731 Q5380626 Q281490 Q6822340 Q1016605 Q187656 Q7900619 Q913856 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 Q18555043 Q6318950 Q1122485 Q1963588 Q6853 Q2339038 Q10832211 Q5384031 Q18555190 Q18557308 Q124292 Q31798 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 Q3765145 Q17119372 Q19000544 Q259626 Q18555944 Q736715 Q6807316 Q3513968 Q201180 Q18557550 Q683861 Q335555 Q265936 Q697117 Q476921 Q1641399 Q3360152 Q2964243 Q174589 Q18965511 Q5509169 Q6527832 Q1928978 Q154878 Q422225 Q18554412 Q18553329 Q1544989 Q1470140 Q271993 Q2046113 Q596474 Q2264130 Q18554021 Q1641483 Q1151507 Q18557946 Q707774 Q645363 Q68833 Q654485 Q917447 Q3678510 Q18555397 Q18557349 Q18975492 Q1146454 Q1266890 Q842428 Q18555095 Q1313510 Q18555096 Q1495661 Q1898104 Q18558101 Q388646 Q188151 Q4118581 Q178194 Q18554322 Q18558266 Q160653 Q611571 Q857667 Q846316 Q899726 Q4833719 Q657193 Q18558195 Q868137 Q131749 Q202837 Q2346396 Q2453464 Q18556331 Q1752571 Q7578540 Q1149046 Q52848 Q356713 Q2306782 Q18554216 Q18554607 Q666980 Q1433936 Q308978 Q570197 Q170990 Q552348 Q612108 Q16242752 Q390475 Q1365789 Q17083186 Q3508787 Q6673122 Q10863074 Q7136145 Q3985306 Q1053824 Q11039483 Q506659 Q353172 Q2726043 Q1479494 Q18555940 Q1479497 Q777087 Q18554512 Q156050 Q7581954 Q692536 Q3991731 Q3327495 Q22467774 Q18975047 Q1576205 Q38404 Q42982 Q114085 Q3043158 Q1054718 Q938983 Q2894827 Q177190 Q12156 Q1097957 Q925092 Q10859678 Q9390284 Q1628473 Q2397009 Q19000484 Q651680 Q4944687 Q906492 Q327298 Q2711291 Q3667186 Q18554884 Q12135 Q550455 Q708176 Q18558032 Q117121 Q174857 Q693519 Q369157 Q170518 Q959457 Q1076087 Q208726 Q121041 Q2403156 Q1144039 Q4119259 Q595010 Q506652 Q18553852 Q2000072 Q16483 Q2256736 Q540571 Q907921 Q594013 Q18556979 Q18556754 Q1362453 Q36956 Q1262161 Q18554653 Q1076481 Q7113244 Q576349 Q1344835 Q1266519 Q280027 Q18558243 Q2051919 Q202758 Q608085 Q18553680 Q972514 Q949694 Q945930 Q18556102 Q12125 Q1891209 Q18556106 Q749409 Q5508825 Q1346016 Q845779 Q2360849 Q298230 Q585285 Q1102300 Q16501 Q2070695 Q7170410 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 Q644318 Q180913 Q6946984 Q845698 Q5075435 Q424247 Q890200 Q826759 Q794026 Q18554349 Q12192 Q193216 Q1137321 Q5445 Q5326887 Q797668 Q373822 Q18553940 Q1004647 Q190805 Q246068 Q804521 Q1128440 Q966229 Q1501239 Q1526459 Q727028 Q1760461 Q1862972 Q3441028 Q156103 Q500816 Q3743620 Q926462 Q579527 Q319312 Q1144618 Q18556246 Q767485 Q7861692 Q5442760 Q1435822 Q1129007 Q1364270 Q18975031 Q82504 Q7193408 Q5282843 Q2912193 Q2092064 Q1542410 Q9294654 Q378681 Q4862390 Q124604 Q17147280 Q1758393 Q783644 Q767327 Q18558236 Q18557816 Q724714 Q18555143 Q18553762 Q460167 Q18555061 Q18555063 Q18555066 Q531019 Q9304843 Q2421435 Q4458080 Q1194557 Q4678337 Q582207 Q220193 Q861645 Q18557714 Q14942021 Q219102 Q112670 Q18555315 Q331283 Q165135 Q18558125 Q18556413 Q757838 Q129279 Q4941552 Q18554096 Q18556569 Q5325633 Q18967840 Q5062153 Q1483214 Q221441 Q7900616 Q424227 Q8282 Q4118166 Q2089854 Q28971
(c(Q2057971),P2176,c(Q8386))
action approx
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q182155
relation P2176
type Q2057971
[ANSWERS] require approximately the same number of drugs as a remedy as herpes zoster
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?n ) WHERE { ?t rdf:type ontology:Q2057971 . ?h rdf:type ontology:Q8386 . ?t property:P2176 ?h } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Q182155 property:P2176 ?f . ?f rdf:type ontology:Q2057971 } } . FILTER ( ?n = ?z ) }
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 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 microsporidiosis Thromboangiitis obliterans Riley-Day syndrome 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 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 Endometrial hyperplasia follicular adenoma amelanotic melanoma iron deficiency anemia diabetic polyneuropathy pure red-cell aplasia hemochromatosis central nervous system cancer seborrheic dermatitis neuronal ceroid lipofuscinosis 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 Barrett's esophagus Plasmodium falciparum malaria focal segmental glomerulosclerosis cerebral malaria social phobia mouth disease epididymitis myxoid leiomyosarcoma ectopic pregnancy Pneumococcal infection intermediate coronary syndrome Myotonia congenita vesiculobullous skin disease stroke nephritis severe acute respiratory syndrome biliary atresia hyperuricemia 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 salivary gland adenoid cystic carcinoma hypopituitarism idiopathic pulmonary fibrosis chronic fatigue syndrome retinitis pigmentosa fragile X syndrome nasopharynx carcinoma cutaneous lupus erythematosus genital herpes pancreatitis intestinal disease gastrointestinal system disease eosinophilic esophagitis membranous glomerulonephritis Behcet's disease hookworm infections subacute delirium temporal lobe epilepsy rickets nutrition disease Clostridium difficile colitis brain edema adrenal gland cancer meibomian cyst hypogonadism cervix carcinoma bronchiolitis obliterans spinal cancer Postoperative nausea and vomiting Entomophthoramycosis urinary incontinence .l. metabolic bone disease Burkitt lymphoma relapsing polychondritis bladder neck obstruction Friedreich's ataxia 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 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 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 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 Spinal disc herniation kidney failure hypoplastic left heart syndrome pachyonychia congenita hemorrhagic shock agoraphobia secondary progressive multiple sclerosis fungal meningitis lepromatous leprosy viral infectious disease toxoplasmosis 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 coronary thrombosis bursitis bone fracture malignant peripheral nerve sheath tumor inflammatory bowel disease bacterial meningitis Ewing sarcoma 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 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 spondyloarthropathy Aspergilloma hypochromic anemia morbid obesity pharyngoconjunctival fever Rubinstein-Taybi syndrome Hyperprolactinaemia decubitus ulcer proteinuria arthritis eclampsia 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 parasitic protozoa infectious disease chromoblastomycosis paroxysmal nocturnal hemoglobinuria uterine disease Porphyria cutanea tarda echinococcosis pulmonary sarcoidosis brucellosis squamous cell papilloma 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 corneal ulcer 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 inguinal hernia vernal conjunctivitis hypertrichosis pyelonephritis lymphoblastic leukemia spondylolysis toxic diffuse goiter abdominal aortic aneurysm fibromyalgia incontinentia pigmenti achromians Prader-Willi syndrome 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 osteogenesis imperfecta Functional gastrointestinal disorder pernicious anemia Fanconi's anemia strongyloidiasis esophagitis thrombocytopenia clonorchiasis hypothyroidisms macrocytic anemia persistent fetal circulation syndrome 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 vasculitis bulimia nervosa Mycobacterium avium complex disease blepharitis alopecia areata 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 bacterial vaginosis toxic shock syndrome myxedema insulinoma pyoderma gangrenosum bacterial infectious disease ovarian hyperstimulation syndrome pterygium Norum disease gastroenteritis polycystic ovary syndrome cannabis dependence pityriasis versicolor pulmonary valve stenosis premature ejaculation familial Mediterranean fever coronary restenosis respiratory failure tyrosinemia type III female reproductive system disease neutropenia Angioedema hypertrophic cardiomyopathy basal cell carcinoma endocarditis pigmentation disease Distal muscular dystrophy esophageal disease hemophilia A thrombocytosis alcoholic polyneuropathy peripheral artery disease brain ischemia portal hypertension Myoclonic epilepsy inherited metabolic disorder Lynch syndrome Sporotrichosis neonatal abstinence syndrome 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 pre-eclampsia thyroid crisis laryngitis lymph node tuberculosis Antiphospholipid syndrome premenstrual tension Gaucher's disease epilepsy with generalized tonic-clonic seizures Auto-brewery syndrome Cushing's syndrome Mastocytosis skin benign neoplasm leishmaniasis goiter intracranial hypertension 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
Amyotrophic lateral sclerosis, periodontitis and disease of metabolism require approximately the same number of drugs as a remedy as herpes zoster
amyotrophic lateral sclerosis periodontitis disease of metabolism
action approx
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity herpes zoster
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?n ) WHERE { ?t rdf:type ontology:health_problem . ?h rdf:type ontology:drug . ?t property:drug_used_for_treatment ?h } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:herpes_zoster property:drug_used_for_treatment ?f . ?f rdf:type ontology:health_problem } } . FILTER ( ?n = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7170410
P2176
Q8386 Q2057971
USER
And what about persistent fetal circulation syndrome?
(c(Q2057971),P2176,c(Q8386))
action approx
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q7170410
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?j ) WHERE { ?k rdf:type ontology:Q2057971 . ?h rdf:type ontology:Q8386 . ?k property:P2176 ?h } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ontology:Q2057971 . resource:Q7170410 property:P2176 ?w } } . FILTER ( ?j = ?v ) }
persistent fetal circulation syndrome
action approx
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity persistent fetal circulation syndrome
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?j ) WHERE { ?k rdf:type ontology:health_problem . ?h rdf:type ontology:drug . ?k property:drug_used_for_treatment ?h } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ontology:health_problem . resource:persistent_fetal_circulation_syndrome property:drug_used_for_treatment ?w } } . FILTER ( ?j = ?v ) }
[]
drug health problem
Q206901 Q520127 Q2351083
SYSTEM
amyotrophic lateral sclerosis, periodontitis, disease of metabolism
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 Q725345 Q273510 Q826103 Q147778 Q638729 Q520127 Q2661464 Q1856914 Q4330029 Q646664 Q48143 Q1343674 Q3154357 Q748309 Q16499 Q830308 Q1125160 Q980709 Q1072420 Q1137767 Q2165266 Q1934052 Q746001 Q2325854 Q4667072 Q208166 Q190564 Q154882 Q2096745 Q662272 Q18554971 Q3435504 Q432462 Q876887 Q187842 Q201989 Q923020 Q184084 Q2012569 Q18975720 Q18555117 Q189956 Q612681 Q611458 Q1153419 Q883863 Q47790 Q2351083 Q11088 Q17165460 Q1446169 Q206901 Q18557440 Q18554909 Q1059765 Q32778 Q686574 Q18557172 Q4742183 Q954674 Q18554377 Q751631 Q3144934 Q18556002 Q448310 Q4358039 Q3508800 Q816798 Q4684750 Q2443552 Q18556675 Q7562539 Q18556954 Q1209150 Q2997615 Q188605 Q189580 Q6691991 Q18555094 Q18553993 Q1048084 Q808892 Q18554672 Q1435223 Q18554674 Q281928 Q2508462 Q1344812 Q18556705 Q207087 Q4366062 Q2032041 Q587420 Q7923229 Q12202 Q401402 Q103177 Q659033 Q49970 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 Q18556510 Q922411 Q2290446 Q209733 Q847057 Q221472 Q1693598 Q18553226 Q7476596 Q1527888 Q3055380 Q2300099 Q2057356 Q1713037 Q911427 Q11679861 Q18557988 Q616667 Q183392 Q18556052 Q574905 Q979168 Q18556128 Q769595 Q938107 Q18555233 Q614750 Q18556900 Q1658731 Q5380626 Q281490 Q6822340 Q1016605 Q187656 Q7900619 Q913856 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 Q18555043 Q6318950 Q1122485 Q1963588 Q6853 Q2339038 Q10832211 Q5384031 Q18555190 Q18557308 Q124292 Q31798 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 Q3765145 Q17119372 Q19000544 Q259626 Q18555944 Q736715 Q6807316 Q3513968 Q201180 Q18557550 Q683861 Q335555 Q265936 Q697117 Q476921 Q1641399 Q3360152 Q2964243 Q174589 Q18965511 Q5509169 Q6527832 Q1928978 Q154878 Q422225 Q18554412 Q18553329 Q1544989 Q1470140 Q271993 Q2046113 Q596474 Q2264130 Q18554021 Q1641483 Q1151507 Q18557946 Q707774 Q645363 Q68833 Q654485 Q917447 Q3678510 Q18555397 Q18557349 Q18975492 Q1146454 Q1266890 Q842428 Q18555095 Q1313510 Q18555096 Q1495661 Q1898104 Q18558101 Q388646 Q188151 Q4118581 Q178194 Q18554322 Q18558266 Q160653 Q611571 Q857667 Q846316 Q899726 Q4833719 Q657193 Q18558195 Q868137 Q131749 Q202837 Q2346396 Q2453464 Q18556331 Q1752571 Q7578540 Q1149046 Q52848 Q356713 Q2306782 Q18554216 Q18554607 Q666980 Q1433936 Q308978 Q570197 Q170990 Q552348 Q612108 Q16242752 Q390475 Q1365789 Q17083186 Q3508787 Q6673122 Q10863074 Q7136145 Q3985306 Q1053824 Q11039483 Q506659 Q353172 Q2726043 Q1479494 Q18555940 Q1479497 Q777087 Q18554512 Q156050 Q7581954 Q692536 Q3991731 Q3327495 Q22467774 Q18975047 Q1576205 Q38404 Q42982 Q114085 Q3043158 Q1054718 Q938983 Q2894827 Q177190 Q12156 Q1097957 Q925092 Q10859678 Q9390284 Q1628473 Q2397009 Q19000484 Q651680 Q4944687 Q906492 Q327298 Q2711291 Q3667186 Q18554884 Q12135 Q550455 Q708176 Q18558032 Q117121 Q174857 Q693519 Q369157 Q170518 Q959457 Q1076087 Q208726 Q121041 Q2403156 Q1144039 Q4119259 Q595010 Q506652 Q18553852 Q2000072 Q16483 Q2256736 Q540571 Q907921 Q594013 Q18556979 Q18556754 Q1362453 Q36956 Q1262161 Q18554653 Q1076481 Q7113244 Q576349 Q1344835 Q1266519 Q280027 Q18558243 Q2051919 Q202758 Q608085 Q18553680 Q972514 Q949694 Q945930 Q18556102 Q12125 Q1891209 Q18556106 Q749409 Q5508825 Q1346016 Q845779 Q2360849 Q298230 Q585285 Q1102300 Q16501 Q2070695 Q7170410 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 Q644318 Q180913 Q6946984 Q845698 Q5075435 Q424247 Q890200 Q826759 Q794026 Q18554349 Q12192 Q193216 Q1137321 Q5445 Q5326887 Q797668 Q373822 Q18553940 Q1004647 Q190805 Q246068 Q804521 Q1128440 Q966229 Q1501239 Q1526459 Q727028 Q1760461 Q1862972 Q3441028 Q156103 Q500816 Q3743620 Q926462 Q579527 Q319312 Q1144618 Q18556246 Q767485 Q7861692 Q5442760 Q1435822 Q1129007 Q1364270 Q18975031 Q82504 Q7193408 Q5282843 Q2912193 Q2092064 Q1542410 Q9294654 Q378681 Q4862390 Q124604 Q17147280 Q1758393 Q783644 Q767327 Q18558236 Q18557816 Q724714 Q18555143 Q18553762 Q460167 Q18555061 Q18555063 Q18555066 Q531019 Q9304843 Q2421435 Q4458080 Q1194557 Q4678337 Q582207 Q220193 Q861645 Q18557714 Q14942021 Q219102 Q112670 Q18555315 Q331283 Q165135 Q18558125 Q18556413 Q757838 Q129279 Q4941552 Q18554096 Q18556569 Q5325633 Q18967840 Q5062153 Q1483214 Q221441 Q7900616 Q424227 Q8282 Q4118166 Q2089854 Q28971
(c(Q2057971),P2176,c(Q8386))
action approx
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q7170410
relation P2176
type Q2057971
[ANSWERS]
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?j ) WHERE { ?k rdf:type ontology:Q2057971 . ?h rdf:type ontology:Q8386 . ?k property:P2176 ?h } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ontology:Q2057971 . resource:Q7170410 property:P2176 ?w } } . FILTER ( ?j = ?v ) }
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 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 microsporidiosis Thromboangiitis obliterans Riley-Day syndrome 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 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 Endometrial hyperplasia follicular adenoma amelanotic melanoma iron deficiency anemia diabetic polyneuropathy pure red-cell aplasia hemochromatosis central nervous system cancer seborrheic dermatitis neuronal ceroid lipofuscinosis 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 Barrett's esophagus Plasmodium falciparum malaria focal segmental glomerulosclerosis cerebral malaria social phobia mouth disease epididymitis myxoid leiomyosarcoma ectopic pregnancy Pneumococcal infection intermediate coronary syndrome Myotonia congenita vesiculobullous skin disease stroke nephritis severe acute respiratory syndrome biliary atresia hyperuricemia 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 salivary gland adenoid cystic carcinoma hypopituitarism idiopathic pulmonary fibrosis chronic fatigue syndrome retinitis pigmentosa fragile X syndrome nasopharynx carcinoma cutaneous lupus erythematosus genital herpes pancreatitis intestinal disease gastrointestinal system disease eosinophilic esophagitis membranous glomerulonephritis Behcet's disease hookworm infections subacute delirium temporal lobe epilepsy rickets nutrition disease Clostridium difficile colitis brain edema adrenal gland cancer meibomian cyst hypogonadism cervix carcinoma bronchiolitis obliterans spinal cancer Postoperative nausea and vomiting Entomophthoramycosis urinary incontinence .l. metabolic bone disease Burkitt lymphoma relapsing polychondritis bladder neck obstruction Friedreich's ataxia 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 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 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 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 Spinal disc herniation kidney failure hypoplastic left heart syndrome pachyonychia congenita hemorrhagic shock agoraphobia secondary progressive multiple sclerosis fungal meningitis lepromatous leprosy viral infectious disease toxoplasmosis 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 coronary thrombosis bursitis bone fracture malignant peripheral nerve sheath tumor inflammatory bowel disease bacterial meningitis Ewing sarcoma 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 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 spondyloarthropathy Aspergilloma hypochromic anemia morbid obesity pharyngoconjunctival fever Rubinstein-Taybi syndrome Hyperprolactinaemia decubitus ulcer proteinuria arthritis eclampsia 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 parasitic protozoa infectious disease chromoblastomycosis paroxysmal nocturnal hemoglobinuria uterine disease Porphyria cutanea tarda echinococcosis pulmonary sarcoidosis brucellosis squamous cell papilloma 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 corneal ulcer 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 inguinal hernia vernal conjunctivitis hypertrichosis pyelonephritis lymphoblastic leukemia spondylolysis toxic diffuse goiter abdominal aortic aneurysm fibromyalgia incontinentia pigmenti achromians Prader-Willi syndrome 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 osteogenesis imperfecta Functional gastrointestinal disorder pernicious anemia Fanconi's anemia strongyloidiasis esophagitis thrombocytopenia clonorchiasis hypothyroidisms macrocytic anemia persistent fetal circulation syndrome 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 vasculitis bulimia nervosa Mycobacterium avium complex disease blepharitis alopecia areata 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 bacterial vaginosis toxic shock syndrome myxedema insulinoma pyoderma gangrenosum bacterial infectious disease ovarian hyperstimulation syndrome pterygium Norum disease gastroenteritis polycystic ovary syndrome cannabis dependence pityriasis versicolor pulmonary valve stenosis premature ejaculation familial Mediterranean fever coronary restenosis respiratory failure tyrosinemia type III female reproductive system disease neutropenia Angioedema hypertrophic cardiomyopathy basal cell carcinoma endocarditis pigmentation disease Distal muscular dystrophy esophageal disease hemophilia A thrombocytosis alcoholic polyneuropathy peripheral artery disease brain ischemia portal hypertension Myoclonic epilepsy inherited metabolic disorder Lynch syndrome Sporotrichosis neonatal abstinence syndrome 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 pre-eclampsia thyroid crisis laryngitis lymph node tuberculosis Antiphospholipid syndrome premenstrual tension Gaucher's disease epilepsy with generalized tonic-clonic seizures Auto-brewery syndrome Cushing's syndrome Mastocytosis skin benign neoplasm leishmaniasis goiter intracranial hypertension 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
amyotrophic lateral sclerosis periodontitis disease of metabolism
action approx
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity persistent fetal circulation syndrome
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?j ) WHERE { ?k rdf:type ontology:health_problem . ?h rdf:type ontology:drug . ?k property:drug_used_for_treatment ?h } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ontology:health_problem . resource:persistent_fetal_circulation_syndrome property:drug_used_for_treatment ?w } } . FILTER ( ?j = ?v ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P138
Q502895 Q56061 Q2057971
USER
How many health problems are named after greater number of people and administrative territories than that health problem ?
(c(Q2057971),P138,c(Q502895)|c(Q56061))
[{'concept': 'Q2057971'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?q ) { ( ?y ) ( ?x ) } . ?z property:P138 ?q } . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q56061 }
[{'concept': 'health problem'}, 'named after', [{'concept': 'common name'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?q ) { ( ?y ) ( ?x ) } . ?z property:named_after ?q } . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:common_name . ?x rdf:type ontology:administrative_territorial_entity }
[]
common name administrative territorial entity health problem
Comparative|Count over More/Less|Mult. entity type|Clarification
Q520127
SYSTEM
Did you mean periodontitis ?
(c(Q2057971),P138,c(Q502895)|c(Q56061))
[ANSWER]
[{'concept': 'Q2057971'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?q ) { ( ?y ) ( ?x ) } . ?z property:P138 ?q } . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q56061 }
Did you mean periodontitis ?
periodontitis
[{'concept': 'health problem'}, 'named after', [{'concept': 'common name'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?q ) { ( ?y ) ( ?x ) } . ?z property:named_after ?q } . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:common_name . ?x rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant amyotrophic lateral sclerosis. Could you tell me the answer for that?
(c(Q2057971),P138,c(Q502895)|c(Q56061))
Q206901
[{'concept': 'Q2057971'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q56061'}]]
[{'concept': 'health problem'}, 'named after', [{'concept': 'common name'}, {'concept': 'administrative territorial entity'}]]
[]
SYSTEM
17
Q610075 Q1066265 Q998273 Q16483 Q1436162 Q187542 Q2500124 Q205214 Q1419931 Q206901 Q303123 Q49989 Q1456403 Q822228 Q1479494 Q594013 Q250365
(c(Q2057971),P138,c(Q502895)|c(Q56061))
[ANSWER]
[{'concept': 'Q2057971'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P138 ?y } UNION { ?z property:P138 ?x } } . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q56061 }
Wolf-Hirschhorn syndrome Osgood-Schlatter's disease Smith–Lemli–Opitz syndrome toxic diffuse goiter Pantothenate kinase-associated neurodegeneration Li-Fraumeni syndrome Urbach–Wiethe disease Guillain–Barré syndrome Niemann–Pick disease amyotrophic lateral sclerosis Aarskog-Scott syndrome Creutzfeldt-Jakob disease Legg–Calvé–Perthes syndrome Bernard-Soulier syndrome paroxysmal nocturnal hemoglobinuria Prader-Willi syndrome facial hemiatrophy
17
[{'concept': 'health problem'}, 'named after', [{'concept': 'common name'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:named_after ?y } UNION { ?z property:named_after ?x } } . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:common_name . ?x rdf:type ontology:administrative_territorial_entity }
[]