Simple Question (Direct)
Simple Question
Q21172805
P703
Q16521
USER
Where is V-type ATP synthase subunit D    CTL0558 found ?
(Q21172805,P703,c(Q16521))
action filter_type
action find
entity Q21172805
relation P703
type Q16521
['Q21172805', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?x WHERE { resource:Q21172805 property:P703 ?x . ?x rdf:type ontology:Q16521 }
V-type ATP synthase subunit D    CTL0558
action filter_type
action find
entity V-type ATP synthase subunit D    CTL0558
relation found in taxon
type taxon
['V-type ATP synthase subunit D    CTL0558', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?x WHERE { resource:V-type_ATP_synthase_subunit_D____CTL0558 property:found_in_taxon ?x . ?x rdf:type ontology:taxon }
[]
taxon
Q20800254
SYSTEM
Chlamydia trachomatis 434/BU
Q20800254
(Q21172805,P703,c(Q16521))
action filter_type
action find
entity Q21172805
relation P703
type Q16521
V-type ATP synthase subunit D CTL0558 is found in [ANSWER]
['Q21172805', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?x WHERE { resource:Q21172805 property:P703 ?x . ?x rdf:type ontology:Q16521 }
Chlamydia trachomatis 434/BU
V-type ATP synthase subunit D CTL0558 is found in Chlamydia trachomatis 434/BU
Chlamydia trachomatis 434/BU
action filter_type
action find
entity V-type ATP synthase subunit D    CTL0558
relation found in taxon
type taxon
['V-type ATP synthase subunit D    CTL0558', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?x WHERE { resource:V-type_ATP_synthase_subunit_D____CTL0558 property:found_in_taxon ?x . ?x rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20800254
P1542
Q2057971
USER
Which health problems are caused by that taxon ?
(Q20800254,P1542,c(Q2057971))
action filter_type
action find
entity Q20800254
relation P1542
type Q2057971
['Q20800254', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2057971 . resource:Q20800254 property:P1542 ?y }
Chlamydia trachomatis 434/BU
action filter_type
action find
entity Chlamydia trachomatis 434/BU
relation cause of
type health problem
['Chlamydia trachomatis 434/BU', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:health_problem . resource:Chlamydia_trachomatis_434/BU property:cause_of ?y }
[]
health problem
Q694552 Q153356
SYSTEM
lymphogranuloma venereum, chlamydia
Q694552 Q153356
(Q20800254,P1542,c(Q2057971))
action filter_type
action find
entity Q20800254
relation P1542
type Q2057971
[ANSWERS] are caused by that taxon
['Q20800254', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2057971 . resource:Q20800254 property:P1542 ?y }
lymphogranuloma venereum chlamydia
Lymphogranuloma venereum and chlamydia are caused by that taxon
lymphogranuloma venereum chlamydia
action filter_type
action find
entity Chlamydia trachomatis 434/BU
relation cause of
type health problem
['Chlamydia trachomatis 434/BU', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:health_problem . resource:Chlamydia_trachomatis_434/BU property:cause_of ?y }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2622199 Q153356
P2176
Q8386
USER
Which drugs are prescribed for chlamydia and upper respiratory tract infection ?
AND((Q153356,P2176,c(Q8386)), (Q2622199,P2176,c(Q8386)))
action filter_type
action intersection
action find
entity Q153356
relation P2176
action find
entity Q2622199
relation P2176
type Q8386
{'AND': [['Q153356', 'P2176', {'concept': 'Q8386'}], ['Q2622199', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?b WHERE { resource:Q2622199 property:P2176 ?b . resource:Q153356 property:P2176 ?b . ?b rdf:type ontology:Q8386 }
upper respiratory tract infection chlamydia
action filter_type
action intersection
action find
entity chlamydia
relation drug used for treatment
action find
entity upper respiratory tract infection
relation drug used for treatment
type drug
{'AND': [['chlamydia', 'drug used for treatment', {'concept': 'drug'}], ['upper respiratory tract infection', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?b WHERE { resource:upper_respiratory_tract_infection property:drug_used_for_treatment ?b . resource:chlamydia property:drug_used_for_treatment ?b . ?b rdf:type ontology:drug }
[]
drug
Q411447 Q201928 Q118551 Q165399 Q976559 Q424193 Q544393
SYSTEM
Ofloxacin, Amoxicillin, Clarithromycin, Azithromycin, Sparfloxacin, Levofloxacin, Trovafloxacin
Q411447 Q201928 Q118551 Q165399 Q976559 Q424193 Q544393
AND((Q153356,P2176,c(Q8386)), (Q2622199,P2176,c(Q8386)))
action filter_type
action intersection
action find
entity Q153356
relation P2176
action find
entity Q2622199
relation P2176
type Q8386
[ANSWERS] are prescribed for chlamydia and upper respiratory tract infection
{'AND': [['Q153356', 'P2176', {'concept': 'Q8386'}], ['Q2622199', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?b WHERE { resource:Q2622199 property:P2176 ?b . resource:Q153356 property:P2176 ?b . ?b rdf:type ontology:Q8386 }
Ofloxacin Amoxicillin Clarithromycin Azithromycin Sparfloxacin Levofloxacin Trovafloxacin
Ofloxacin, Amoxicillin, Clarithromycin, Azithromycin, Sparfloxacin, Levofloxacin and Trovafloxacin are prescribed for chlamydia and upper respiratory tract infection
Ofloxacin Amoxicillin Clarithromycin Azithromycin Sparfloxacin Levofloxacin Trovafloxacin
action filter_type
action intersection
action find
entity chlamydia
relation drug used for treatment
action find
entity upper respiratory tract infection
relation drug used for treatment
type drug
{'AND': [['chlamydia', 'drug used for treatment', {'concept': 'drug'}], ['upper respiratory tract infection', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?b WHERE { resource:upper_respiratory_tract_infection property:drug_used_for_treatment ?b . resource:chlamydia property:drug_used_for_treatment ?b . ?b rdf:type ontology:drug }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q190875 Q424193
P2176
Q2057971
USER
Which health problems are cured by Levofloxacin or cortisol ?
OR((c(Q2057971),P2176,Q424193), (c(Q2057971),P2176,Q190875))
action filter_type
action union
action find_reverse
entity Q424193
relation P2176
action find_reverse
entity Q190875
relation P2176
type Q2057971
{'OR': [[{'concept': 'Q2057971'}, 'P2176', 'Q424193'], [{'concept': 'Q2057971'}, 'P2176', 'Q190875']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2057971 . { VALUES ( ?r ) { ( resource:Q424193 ) ( resource:Q190875 ) } . ?t property:P2176 ?r } }
cortisol Levofloxacin
action filter_type
action union
action find_reverse
entity Levofloxacin
relation drug used for treatment
action find_reverse
entity cortisol
relation drug used for treatment
type health problem
{'OR': [[{'concept': 'health problem'}, 'drug used for treatment', 'Levofloxacin'], [{'concept': 'health problem'}, 'drug used for treatment', 'cortisol']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:health_problem . { VALUES ( ?r ) { ( resource:Levofloxacin ) ( resource:cortisol ) } . ?t property:drug_used_for_treatment ?r } }
[]
health problem
Q18555301 Q18555307 Q18554971 Q221668 Q1128440 Q18555302 Q18555313 Q19597369 Q153356 Q3776920
SYSTEM
Some of them are facial dermatosis, leg dermatosis, maxillary sinusitis, acute cystitis, toxic shock syndrome, scalp dermatosis, hand dermatosis, Gram-negative bacterial infection, chlamydia, bacterial pneumonia
Q506652 Q41478 Q52844 Q18555313 Q1128440 Q1477 Q4676432 Q183344 Q19000661 Q19597369 Q3776920 Q35869 Q154882 Q5075435 Q3041498 Q153356 Q18554971 Q18555307 Q18555243 Q18555301 Q826759 Q18555302 Q221668 Q8282
OR((c(Q2057971),P2176,Q424193), (c(Q2057971),P2176,Q190875))
action filter_type
action union
action find_reverse
entity Q424193
relation P2176
action find_reverse
entity Q190875
relation P2176
type Q2057971
[ANSWERS] are cured by Levofloxacin or cortisol
{'OR': [[{'concept': 'Q2057971'}, 'P2176', 'Q424193'], [{'concept': 'Q2057971'}, 'P2176', 'Q190875']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2057971 . { VALUES ( ?r ) { ( resource:Q424193 ) ( resource:Q190875 ) } . ?t property:P2176 ?r } }
pyelonephritis hemorrhoid enthesopathy hand dermatosis toxic shock syndrome ulcerative colitis pustulosis of palm and sole sinusitis congestive heart failure Gram-negative bacterial infection bacterial pneumonia asthma Legionnaires' disease alopecia areata eye disease chlamydia maxillary sinusitis leg dermatosis pulmonary tuberculosis facial dermatosis status asthmaticus scalp dermatosis acute cystitis Addison's disease
Facial dermatosis, leg dermatosis, maxillary sinusitis, acute cystitis, toxic shock syndrome, scalp dermatosis, hand dermatosis, Gram-negative bacterial infection, chlamydia and bacterial pneumonia are cured by Levofloxacin or cortisol
facial dermatosis leg dermatosis maxillary sinusitis acute cystitis toxic shock syndrome scalp dermatosis hand dermatosis Gram-negative bacterial infection chlamydia bacterial pneumonia
action filter_type
action union
action find_reverse
entity Levofloxacin
relation drug used for treatment
action find_reverse
entity cortisol
relation drug used for treatment
type health problem
{'OR': [[{'concept': 'health problem'}, 'drug used for treatment', 'Levofloxacin'], [{'concept': 'health problem'}, 'drug used for treatment', 'cortisol']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:health_problem . { VALUES ( ?r ) { ( resource:Levofloxacin ) ( resource:cortisol ) } . ?t property:drug_used_for_treatment ?r } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5340515 Q18555307
P2176
Q8386
USER
Which drugs are used to cure leg dermatosis or systemic scleroderma ?
OR((Q18555307,P2176,c(Q8386)), (Q5340515,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q18555307
relation P2176
action find
entity Q5340515
relation P2176
type Q8386
{'OR': [['Q18555307', 'P2176', {'concept': 'Q8386'}], ['Q5340515', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q8386 . { { resource:Q18555307 property:P2176 ?b } UNION { resource:Q5340515 property:P2176 ?b } } }
systemic scleroderma leg dermatosis
action filter_type
action union
action find
entity leg dermatosis
relation drug used for treatment
action find
entity systemic scleroderma
relation drug used for treatment
type drug
{'OR': [['leg dermatosis', 'drug used for treatment', {'concept': 'drug'}], ['systemic scleroderma', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:drug . { { resource:leg_dermatosis property:drug_used_for_treatment ?b } UNION { resource:systemic_scleroderma property:drug_used_for_treatment ?b } } }
[]
drug
Q216935 Q579348 Q5134843 Q3495231 Q424156 Q20817139 Q190875 Q412323 Q385370 Q422438
SYSTEM
Some of them are lidocaine, PGE1, Clocortolone, treprostinil, tadalafil, Iloprost, cortisol, Rituximab, desoximetasone, chloroquine
Q419940 Q579348 Q422438 Q4376623 Q424156 Q5134843 Q216935 Q416132 Q3495231 Q413772 Q412323 Q5275451 Q4742041 Q425154 Q190875 Q1996249 Q20817139 Q385370 Q1074056 Q419769 Q423417 Q4713192 Q904011 Q5462632
OR((Q18555307,P2176,c(Q8386)), (Q5340515,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q18555307
relation P2176
action find
entity Q5340515
relation P2176
type Q8386
[ANSWERS] are used to cure leg dermatosis or systemic scleroderma
{'OR': [['Q18555307', 'P2176', {'concept': 'Q8386'}], ['Q5340515', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q8386 . { { resource:Q18555307 property:P2176 ?b } UNION { resource:Q5340515 property:P2176 ?b } } }
dasatinib PGE1 chloroquine prednicarbate tadalafil Clocortolone lidocaine betamethasone treprostinil Tolazoline Rituximab Diflorasone amcinonide Tocilizumab cortisol Belimumab Iloprost desoximetasone triamcinolone bosentan Imiquimod Alclometasone desonide fludroxycortide
Lidocaine, PGE1, Clocortolone, treprostinil, tadalafil, Iloprost, cortisol, Rituximab, desoximetasone and chloroquine are used to cure leg dermatosis or systemic scleroderma
lidocaine PGE1 Clocortolone treprostinil tadalafil Iloprost cortisol Rituximab desoximetasone chloroquine
action filter_type
action union
action find
entity leg dermatosis
relation drug used for treatment
action find
entity systemic scleroderma
relation drug used for treatment
type drug
{'OR': [['leg dermatosis', 'drug used for treatment', {'concept': 'drug'}], ['systemic scleroderma', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:drug . { { resource:leg_dermatosis property:drug_used_for_treatment ?b } UNION { resource:systemic_scleroderma property:drug_used_for_treatment ?b } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2176
Q8386 Q2057971
USER
Which health problems are cured by max number of drugs ?
(c(Q2057971),P2176,c(Q8386))
action argmax
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?v = ?i ) . { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?v ) WHERE { ?r property:P2176 ?d . ?r rdf:type ontology:Q2057971 . ?d rdf:type ontology:Q8386 } GROUP BY ?r } . { SELECT DISTINCT ( MAX ( ?b ) AS ?i ) { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?b ) WHERE { ?q property:P2176 ?x . ?q rdf:type ontology:Q2057971 . ?x rdf:type ontology:Q8386 } GROUP BY ?q } } }
action argmax
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?v = ?i ) . { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?v ) WHERE { ?r property:drug_used_for_treatment ?d . ?r rdf:type ontology:health_problem . ?d rdf:type ontology:drug } GROUP BY ?r } . { SELECT DISTINCT ( MAX ( ?b ) AS ?i ) { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?b ) WHERE { ?q property:drug_used_for_treatment ?x . ?q rdf:type ontology:health_problem . ?x rdf:type ontology:drug } GROUP BY ?q } } }
[]
drug health problem
Q41861
SYSTEM
hypertension
Q41861
(c(Q2057971),P2176,c(Q8386))
action argmax
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
[ANSWER] is cured by max number of drugs
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?v = ?i ) . { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?v ) WHERE { ?r property:P2176 ?d . ?r rdf:type ontology:Q2057971 . ?d rdf:type ontology:Q8386 } GROUP BY ?r } . { SELECT DISTINCT ( MAX ( ?b ) AS ?i ) { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?b ) WHERE { ?q property:P2176 ?x . ?q rdf:type ontology:Q2057971 . ?x rdf:type ontology:Q8386 } GROUP BY ?q } } }
hypertension
Hypertension is cured by max number of drugs
hypertension
action argmax
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?v = ?i ) . { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?v ) WHERE { ?r property:drug_used_for_treatment ?d . ?r rdf:type ontology:health_problem . ?d rdf:type ontology:drug } GROUP BY ?r } . { SELECT DISTINCT ( MAX ( ?b ) AS ?i ) { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?b ) WHERE { ?q property:drug_used_for_treatment ?x . ?q rdf:type ontology:health_problem . ?x rdf:type ontology:drug } GROUP BY ?q } } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q41861 Q407841
P2176
Q8386
USER
Is reserpine used as a remedy for hypertension ?
(Q41861,P2176,Q407841)
action is_in
entity Q407841
action find
entity Q41861
relation P2176
['Q41861', 'P2176', 'Q407841']
ASK WHERE { resource:Q41861 property:P2176 resource:Q407841 }
hypertension reserpine
action is_in
entity reserpine
action find
entity hypertension
relation drug used for treatment
['hypertension', 'drug used for treatment', 'reserpine']
ASK WHERE { resource:hypertension property:drug_used_for_treatment resource:reserpine }
[]
drug
SYSTEM
YES
(Q41861,P2176,Q407841)
action is_in
entity Q407841
action find
entity Q41861
relation P2176
[ANSWER]
['Q41861', 'P2176', 'Q407841']
ASK WHERE { resource:Q41861 property:P2176 resource:Q407841 }
Yes
action is_in
entity reserpine
action find
entity hypertension
relation drug used for treatment
['hypertension', 'drug used for treatment', 'reserpine']
ASK WHERE { resource:hypertension property:drug_used_for_treatment resource:reserpine }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q18553439
P828
Q2144359 Q2996394 Q2057971
USER
Which health problems are the result of having around the same number of environmental issues or biological processes as autosomal dominant disease ?
(c(Q2057971),P828,c(Q2144359)|c(Q2996394))
action approx
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2144359
action find_tuple_counts
relation P828
type Q2057971
type Q2996394
action count
action filter_multi_types
action find
entity Q18553439
relation P828
type Q2144359
type Q2996394
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2144359'}, {'concept': 'Q2996394'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?o ) WHERE { { ?e property:P828 ?n . ?e rdf:type ontology:Q2057971 . ?n rdf:type ontology:Q2996394 } UNION { ?e property:P828 ?n . ?e rdf:type ontology:Q2057971 . ?n rdf:type ontology:Q2144359 } } GROUP BY ?e } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q18553439 property:P828 ?d . { { ?d rdf:type ontology:Q2144359 } UNION { ?d rdf:type ontology:Q2996394 } } } } }
autosomal dominant disease
action approx
action union
action find_tuple_counts
relation has cause
type health problem
type environmental issue
action find_tuple_counts
relation has cause
type health problem
type biological process
action count
action filter_multi_types
action find
entity autosomal dominant disease
relation has cause
type environmental issue
type biological process
[{'concept': 'health problem'}, 'has cause', [{'concept': 'environmental issue'}, {'concept': 'biological process'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?o ) WHERE { { ?e property:has_cause ?n . ?e rdf:type ontology:health_problem . ?n rdf:type ontology:biological_process } UNION { ?e property:has_cause ?n . ?e rdf:type ontology:health_problem . ?n rdf:type ontology:environmental_issue } } GROUP BY ?e } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:autosomal_dominant_disease property:has_cause ?d . { { ?d rdf:type ontology:environmental_issue } UNION { ?d rdf:type ontology:biological_process } } } } }
[]
environmental issue biological process health problem
Q18556697 Q12214 Q19597369
SYSTEM
human immunodeficiency virus infectious disease, smallpox, Gram-negative bacterial infection
Q18553237 Q18553236 Q3591496 Q18553231 Q2042205 Q7157933 Q18553239 Q18553238 Q18556697 Q2447562 Q3091959 Q3776920 Q3381802 Q18553933 Q12656487 Q694552 Q2700304 Q2845432 Q316180 Q863725 Q147778 Q623031 Q1856914 Q646664 Q4958833 Q2140729 Q3541798 Q16006998 Q4867062 Q992139 Q327005 Q52856 Q154882 Q127724 Q18554757 Q19972185 Q201989 Q18555052 Q2373700 Q12156 Q47790 Q5038165 Q7235947 Q4803677 Q18553273 Q1097957 Q18553274 Q3153686 Q193216 Q30953 Q16831900 Q124604 Q1048101 Q202173 Q812671 Q1243869 Q9430213 Q1048084 Q21082521 Q3493588 Q18553583 Q18555979 Q18554672 Q41083 Q4366062 Q18553191 Q18553197 Q744387 Q18553198 Q12204 Q522163 Q103177 Q134859 Q18554401 Q18554400 Q4797639 Q2982674 Q23037742 Q1936838 Q1526645 Q681970 Q18555383 Q2170663 Q247096 Q1713499 Q804521 Q18554338 Q18553439 Q83319 Q160649 Q5274956 Q2373361 Q469490 Q16242812 Q18553229 Q614279 Q1693598 Q6523346 Q2076966 Q155098 Q4413030 Q941770 Q11679861 Q1210303 Q7902650 Q6159042 Q2059411 Q809561 Q1890194 Q5459411 Q727028 Q1016605 Q19597369 Q156103 Q7107617 Q12090 Q4280605 Q2397106 Q1048858 Q217519 Q3264425 Q709360 Q3270160 Q422268 Q18557427 Q684810 Q7205992 Q18324719 Q4723931 Q5380626 Q18975606 Q2339038 Q18395602 Q5384031 Q11627066 Q31798 Q2933021 Q5161045 Q5548621 Q18557940 Q18554367 Q17162726 Q842428 Q769815 Q16775468 Q18553869 Q21505495 Q3281393 Q895297 Q18554485 Q18553216 Q1409081 Q17119372 Q12214 Q12199 Q153356 Q912766 Q26492834 Q18123741 Q1724539 Q3392410 Q1928978 Q18554418 Q18554419 Q326638 Q154874 Q18553284 Q18553285 Q1223924 Q6663796 Q18554027 Q1978084 Q18554029 Q133780 Q4137692 Q6279182 Q1416773 Q2589418 Q3030745 Q658873 Q18558102 Q4118581 Q160653 Q243257 Q3074499 Q207367 Q574905 Q19000448 Q585011 Q18558193 Q393477 Q745865 Q6853 Q3089469 Q1350035 Q356713 Q18553251 Q18553252 Q4690047 Q18553889 Q18554606 Q39222 Q223591 Q3197774 Q18924547 Q576179 Q154869 Q18553952 Q18553953 Q18553951 Q931323 Q353172 Q2090711 Q18558169 Q2741820 Q481392 Q1432397 Q3049302 Q129104 Q18554767 Q18555290 Q18553170 Q42982 Q842169 Q8071861 Q14375936 Q1030785 Q18553286 Q26695958 Q153861 Q5334259 Q327298 Q9376235 Q1878776 Q5319350 Q17126040 Q18554258 Q7834208 Q5609501 Q379418 Q18558134 Q18557482 Q21507057 Q632522 Q1553609 Q4651856 Q4845643 Q1194496 Q567660 Q7850856 Q1066011 Q18554229 Q5031732 Q4690011 Q18553227 Q36956 Q1607983 Q4979461 Q18554659 Q5506384 Q34879 Q970203 Q682798 Q18928086 Q2840 Q18975229 Q949694 Q1339986 Q4736375 Q154865 Q5182155 Q1476027 Q18554425 Q1347065 Q3508771 Q738292 Q3540280 Q203133 Q837054 Q3367106 Q16935263 Q134649 Q19001174 Q719656 Q7900355 Q192102 Q244404 Q76973 Q2625993 Q18966317 Q3084532 Q11542703 Q3108587 Q963944 Q52859 Q18553245 Q18553243 Q18553240 Q18554261 Q167264 Q1264268 Q1760607 Q2603200 Q176741 Q443929 Q18556140 Q298278 Q1128440 Q326643 Q2068896 Q826522 Q21504985 Q705906 Q319315 Q3798547 Q68833 Q703961 Q639776 Q1290616 Q1750104 Q5196693 Q17071650 Q18554000 Q18554162 Q18555063 Q922927 Q101896 Q18554340 Q14870002 Q1034620 Q12125 Q6587253 Q14942021 Q6137239 Q18553440 Q18558124 Q18554306 Q7053975 Q19000421 Q221441 Q1367782 Q3902759
(c(Q2057971),P828,c(Q2144359)|c(Q2996394))
action approx
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2144359
action find_tuple_counts
relation P828
type Q2057971
type Q2996394
action count
action filter_multi_types
action find
entity Q18553439
relation P828
type Q2144359
type Q2996394
[ANSWERS] are the result of having around the same number of environmental issues or biological processes as autosomal dominant disease
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2144359'}, {'concept': 'Q2996394'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?o ) WHERE { { ?e property:P828 ?n . ?e rdf:type ontology:Q2057971 . ?n rdf:type ontology:Q2996394 } UNION { ?e property:P828 ?n . ?e rdf:type ontology:Q2057971 . ?n rdf:type ontology:Q2144359 } } GROUP BY ?e } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q18553439 property:P828 ?d . { { ?d rdf:type ontology:Q2144359 } UNION { ?d rdf:type ontology:Q2996394 } } } } }
mesocestoidiasis philophthalmiasis mercurial erythema lujo hemorrhagic fever Residual ovary syndrome peanut allergy baylisascariasis acanthocephaliasis human immunodeficiency virus infectious disease balantidiasis anisakiasis bacterial pneumonia Pthirus pubis infestation setariasis hymenolepiasis lymphogranuloma venereum Bolivian hemorrhagic fever ehrlichiosis Pseudorabies Bing–Neel syndrome liver cirrhosis liver cancer nocardiosis rickettsiosis Brazilian hemorrhagic fever fasciolopsiasis Tuberculosis of the adrenal glands borreliosis basidiobolomycosis human granulocytic anaplasmosis glanders Diabetic foot Legionnaires' disease cataract dipetalonemiasis Tubo-ovarian abscess Lyme disease malt worker's lung Clostridial necrotizing enteritis malaria tetanus Carcinoma ex-pleomorphic adenoma Powassan encephalitis asbestos-related disease aneruptive fever intermittent claudication sennetsu fever Toluene toxicity trachoma dengue fever intracranial hypotension portal hypertension rickettsialpox hordeolum bacillary angiomatosis Treponematosis borna disease opisthorchiasis glucocorticoid-induced osteoporosis spirochetal diseases withdrawal disorder duodenal obstruction Plasmodium falciparum malaria syphilis Pneumococcal infection Indian tick typhus Israeli tick typhus Rocky Mountain spotted fever Far Eastern spotted fever tuberculosis Sydenham's chorea severe acute respiratory syndrome pertussis screw worm infectious disease hypodermyiasis arthritis mutilans lead-induced colic chicken egg allergy Diseases of poverty Surra contagious pustular dermatitis haemonchiasis Acrodynia Paracoccidioidomycosis megaesophagus bacterial vaginosis trichostrongylosis autosomal dominant disease typhoid fever typhus dientamoebiasis nut allergy Periventricular leukomalacia Amalgam tattoo Whitewater Arroyo hemorrhagic fever louping ill nasopharynx carcinoma Lentigo maligna melanoma cytomegalia leptospirosis wheat allergy proctitis hookworm infections dicrocoeliasis Uterine incarceration Japanese spotted fever Black piedra bartonellosis nutritional deficiency disease Flinders Island spotted fever bacterial infectious disease Burkitt lymphoma Gram-negative bacterial infection gastroenteritis Osteolathyrism Cholera mansonelliasis tauopathy hantavirus hemorrhagic fever bubonic plague Loxoscelism Von Willebrand disease actinobacillosis actinomycosis pancreatic cholera berylliosis Pneumococcal pneumonia Chapare hemorrhagic fever Algaemia Entomophthoramycosis Fusobacterium infectious disease Neurogenic bladder Vitreous touch syndrome Epstein–Barr virus infection West Nile fever chancroid caffeine intoxication conidiobolomycosis geotrichosis postgastrectomy syndrome respiratory syncytial virus infectious disease soil-transmitted helminthiasis ascariasis food allergy elephantiasis legionellosis fetal valproate syndrome complication of radiotherapy boutonneuse fever diphtheritic peritonitis intestinal botulism fetal nicotine spectrum disorder Haemophilus meningitis smallpox acquired immunodeficiency syndrome chlamydia postcholecystectomy syndrome mosaic variegated aneuploidy syndrome 1 infectious disease Congenital rubella syndrome pleural tuberculosis viral infectious disease louse-borne relapsing fever tick-borne relapsing fever Rift Valley fever yellow fever O'nyong'nyong fever Barmah Forest virus disease Papillomatosis Lobomycosis allescheriosis nerve compression syndrome pseudomembranous conjunctivitis plague heterophyiasis epileptic seizure granuloma inguinale pasteurellosis distomatosis Radiation burn monieziasis necatoriasis listeriosis chikungunya Fluoride toxicity infectious mononucleosis Clostridium difficile colitis Actinobacillus infectious disease Antley-Bixler syndrome gonococcal endophthalmia trench fever trichomoniasis hepatitis B sequelae Erethism Aspergilloma wound botulism infant botulism African tick-bite fever supine hypotensive syndrome inclusion conjunctivitis rabies gastroesophageal reflux disease klebsiellosis Rocio virus encephalitis egg allergy hepatitis C Murray Valley encephalitis Western equine encephalitis Eastern equine encephalitis nephropathia epidemica parasitic protozoa infectious disease thelaziasis Venezuelan equine encephalitis Omsk hemorrhagic fever theileriasis Kyasanur forest disease human monocytic ehrlichiosis anthrax disease Brucella melitensis brucellosis ascaridiasis Astrakhan spotted fever type I hypersensitivity sparganosis Zika fever hyperinsulinism demodicosis Balkan hemorrhagic fever gonococcal infectious diseases tularemia parasitic ectoparasitic infectious disease shigellosis endolymphatic hydrops lymphocytic choriomeningitis dysbaric osteonecrosis Transfusion associated circulatory overload fascioloidiasis transfusion hemosiderosis Grinker myelinopathy keratomalacia exposure keratitis radiation cystitis salmonella sepsis bacteriuria Canine parvovirus AIDS-related lymphoma rhinosporidiosis scrub typhus St. Louis encephalitis pericardial tuberculosis cowpox kernicterus due to isoimmunization Candidal intertrigo African histoplasmosis Kunjin encephalitis leprosy erysipeloid Bruns ataxia Brucella canis brucellosis fruit allergy Staphylococcal infection milk allergy bejel Tahyna virus encephalitis influenza Newcastle disease amebiasis encephalitozoonosis Alternariosis botulism Craniotabes lymphangitis tinea unguium epiglottitis neuro-anemia syndrome Japanese encephalitis trombiculiasis sleeping sickness Adenovirus infection parvovirus infectious disease Serratia infection diphtheria milker's nodule fascioliasis Ureaplasma infection skin cancer electric shock yaws Latrodectism Mumps virus infectious disease endemic typhus metagonimiasis pigmentary glaucoma melioidosis Diabetic foot ulcer Alkhurma hemorrhagic fever parasitic Ichthyosporea infectious disease dioctophymiasis echinostomiasis Marburg hemorrhagic fever stannosis loiasis viral pneumonia mumps dirofilariasis ostertagiasis esophageal varix toxic shock syndrome hepatitis E drug allergy thyroid cancer lewisite shock paratyphoid fever Colorado tick fever Haverhill fever bone fracture prion disease cat-scratch disease epidemic typhus Carrion's disease Cutaneous diphtheria infection Calcium channel blocker toxicity Brucella suis brucellosis Bordetella parapertussis whooping cough West Nile encephalitis primary amebic meningoencephalitis gonorrhea trichostrongyloidiasis Hot tub folliculitis Capillariasis common cold Queensland tick typhus Auto-brewery syndrome Hantavirus pulmonary syndrome autosomal recessive disease allergic asthma endocrine exophthalmos Siberian tick typhus Rubella virus infectious disease pellagra Gluten related disorders white piedra
Human immunodeficiency virus infectious disease, smallpox and Gram-negative bacterial infection are the result of having around the same number of environmental issues or biological processes as autosomal dominant disease
human immunodeficiency virus infectious disease smallpox Gram-negative bacterial infection
action approx
action union
action find_tuple_counts
relation has cause
type health problem
type environmental issue
action find_tuple_counts
relation has cause
type health problem
type biological process
action count
action filter_multi_types
action find
entity autosomal dominant disease
relation has cause
type environmental issue
type biological process
[{'concept': 'health problem'}, 'has cause', [{'concept': 'environmental issue'}, {'concept': 'biological process'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?o ) WHERE { { ?e property:has_cause ?n . ?e rdf:type ontology:health_problem . ?n rdf:type ontology:biological_process } UNION { ?e property:has_cause ?n . ?e rdf:type ontology:health_problem . ?n rdf:type ontology:environmental_issue } } GROUP BY ?e } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:autosomal_dominant_disease property:has_cause ?d . { { ?d rdf:type ontology:environmental_issue } UNION { ?d rdf:type ontology:biological_process } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q18553238
P828
Q2144359 Q2996394 Q2057971
USER
And also tell me about acanthocephaliasis?
(c(Q2057971),P828,c(Q2144359)|c(Q2996394))
action approx
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2144359
action find_tuple_counts
relation P828
type Q2057971
type Q2996394
action count
action filter_multi_types
action find
entity Q18553238
relation P828
type Q2144359
type Q2996394
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2144359'}, {'concept': 'Q2996394'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?t ) WHERE { VALUES ( ?o ) { ( ontology:Q2996394 ) ( ontology:Q2144359 ) } . ?h rdf:type ?o } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2144359 ) ( ontology:Q2996394 ) } } . resource:Q18553238 property:P828 ?j } } . FILTER ( ?t = ?e ) }
acanthocephaliasis
action approx
action union
action find_tuple_counts
relation has cause
type health problem
type environmental issue
action find_tuple_counts
relation has cause
type health problem
type biological process
action count
action filter_multi_types
action find
entity acanthocephaliasis
relation has cause
type environmental issue
type biological process
[{'concept': 'health problem'}, 'has cause', [{'concept': 'environmental issue'}, {'concept': 'biological process'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?t ) WHERE { VALUES ( ?o ) { ( ontology:biological_process ) ( ontology:environmental_issue ) } . ?h rdf:type ?o } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:environmental_issue ) ( ontology:biological_process ) } } . resource:acanthocephaliasis property:has_cause ?j } } . FILTER ( ?t = ?e ) }
[]
environmental issue biological process health problem
Q18556697 Q12214 Q19597369
SYSTEM
human immunodeficiency virus infectious disease, smallpox, Gram-negative bacterial infection
Q18553237 Q18553236 Q3591496 Q18553231 Q2042205 Q7157933 Q18553239 Q18553238 Q18556697 Q2447562 Q3091959 Q3776920 Q3381802 Q18553933 Q12656487 Q694552 Q2700304 Q2845432 Q316180 Q863725 Q147778 Q623031 Q1856914 Q646664 Q4958833 Q2140729 Q3541798 Q16006998 Q4867062 Q992139 Q327005 Q52856 Q154882 Q127724 Q18554757 Q19972185 Q201989 Q18555052 Q2373700 Q12156 Q47790 Q5038165 Q7235947 Q4803677 Q18553273 Q1097957 Q18553274 Q3153686 Q193216 Q30953 Q16831900 Q124604 Q1048101 Q202173 Q812671 Q1243869 Q9430213 Q1048084 Q21082521 Q3493588 Q18553583 Q18555979 Q18554672 Q41083 Q4366062 Q18553191 Q18553197 Q744387 Q18553198 Q12204 Q522163 Q103177 Q134859 Q18554401 Q18554400 Q4797639 Q2982674 Q23037742 Q1936838 Q1526645 Q681970 Q18555383 Q2170663 Q247096 Q1713499 Q804521 Q18554338 Q18553439 Q83319 Q160649 Q5274956 Q2373361 Q469490 Q16242812 Q18553229 Q614279 Q1693598 Q6523346 Q2076966 Q155098 Q4413030 Q941770 Q11679861 Q1210303 Q7902650 Q6159042 Q2059411 Q809561 Q1890194 Q5459411 Q727028 Q1016605 Q19597369 Q156103 Q7107617 Q12090 Q4280605 Q2397106 Q1048858 Q217519 Q3264425 Q709360 Q3270160 Q422268 Q18557427 Q684810 Q7205992 Q18324719 Q4723931 Q5380626 Q18975606 Q2339038 Q18395602 Q5384031 Q11627066 Q31798 Q2933021 Q5161045 Q5548621 Q18557940 Q18554367 Q17162726 Q842428 Q769815 Q16775468 Q18553869 Q21505495 Q3281393 Q895297 Q18554485 Q18553216 Q1409081 Q17119372 Q12214 Q12199 Q153356 Q912766 Q26492834 Q18123741 Q1724539 Q3392410 Q1928978 Q18554418 Q18554419 Q326638 Q154874 Q18553284 Q18553285 Q1223924 Q6663796 Q18554027 Q1978084 Q18554029 Q133780 Q4137692 Q6279182 Q1416773 Q2589418 Q3030745 Q658873 Q18558102 Q4118581 Q160653 Q243257 Q3074499 Q207367 Q574905 Q19000448 Q585011 Q18558193 Q393477 Q745865 Q6853 Q3089469 Q1350035 Q356713 Q18553251 Q18553252 Q4690047 Q18553889 Q18554606 Q39222 Q223591 Q3197774 Q18924547 Q576179 Q154869 Q18553952 Q18553953 Q18553951 Q931323 Q353172 Q2090711 Q18558169 Q2741820 Q481392 Q1432397 Q3049302 Q129104 Q18554767 Q18555290 Q18553170 Q42982 Q842169 Q8071861 Q14375936 Q1030785 Q18553286 Q26695958 Q153861 Q5334259 Q327298 Q9376235 Q1878776 Q5319350 Q17126040 Q18554258 Q7834208 Q5609501 Q379418 Q18558134 Q18557482 Q21507057 Q632522 Q1553609 Q4651856 Q4845643 Q1194496 Q567660 Q7850856 Q1066011 Q18554229 Q5031732 Q4690011 Q18553227 Q36956 Q1607983 Q4979461 Q18554659 Q5506384 Q34879 Q970203 Q682798 Q18928086 Q2840 Q18975229 Q949694 Q1339986 Q4736375 Q154865 Q5182155 Q1476027 Q18554425 Q1347065 Q3508771 Q738292 Q3540280 Q203133 Q837054 Q3367106 Q16935263 Q134649 Q19001174 Q719656 Q7900355 Q192102 Q244404 Q76973 Q2625993 Q18966317 Q3084532 Q11542703 Q3108587 Q963944 Q52859 Q18553245 Q18553243 Q18553240 Q18554261 Q167264 Q1264268 Q1760607 Q2603200 Q176741 Q443929 Q18556140 Q298278 Q1128440 Q326643 Q2068896 Q826522 Q21504985 Q705906 Q319315 Q3798547 Q68833 Q703961 Q639776 Q1290616 Q1750104 Q5196693 Q17071650 Q18554000 Q18554162 Q18555063 Q922927 Q101896 Q18554340 Q14870002 Q1034620 Q12125 Q6587253 Q14942021 Q6137239 Q18553440 Q18558124 Q18554306 Q7053975 Q19000421 Q221441 Q1367782 Q3902759
(c(Q2057971),P828,c(Q2144359)|c(Q2996394))
action approx
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2144359
action find_tuple_counts
relation P828
type Q2057971
type Q2996394
action count
action filter_multi_types
action find
entity Q18553238
relation P828
type Q2144359
type Q2996394
[ANSWERS]
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2144359'}, {'concept': 'Q2996394'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?t ) WHERE { VALUES ( ?o ) { ( ontology:Q2996394 ) ( ontology:Q2144359 ) } . ?h rdf:type ?o } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2144359 ) ( ontology:Q2996394 ) } } . resource:Q18553238 property:P828 ?j } } . FILTER ( ?t = ?e ) }
mesocestoidiasis philophthalmiasis mercurial erythema lujo hemorrhagic fever Residual ovary syndrome peanut allergy baylisascariasis acanthocephaliasis human immunodeficiency virus infectious disease balantidiasis anisakiasis bacterial pneumonia Pthirus pubis infestation setariasis hymenolepiasis lymphogranuloma venereum Bolivian hemorrhagic fever ehrlichiosis Pseudorabies Bing–Neel syndrome liver cirrhosis liver cancer nocardiosis rickettsiosis Brazilian hemorrhagic fever fasciolopsiasis Tuberculosis of the adrenal glands borreliosis basidiobolomycosis human granulocytic anaplasmosis glanders Diabetic foot Legionnaires' disease cataract dipetalonemiasis Tubo-ovarian abscess Lyme disease malt worker's lung Clostridial necrotizing enteritis malaria tetanus Carcinoma ex-pleomorphic adenoma Powassan encephalitis asbestos-related disease aneruptive fever intermittent claudication sennetsu fever Toluene toxicity trachoma dengue fever intracranial hypotension portal hypertension rickettsialpox hordeolum bacillary angiomatosis Treponematosis borna disease opisthorchiasis glucocorticoid-induced osteoporosis spirochetal diseases withdrawal disorder duodenal obstruction Plasmodium falciparum malaria syphilis Pneumococcal infection Indian tick typhus Israeli tick typhus Rocky Mountain spotted fever Far Eastern spotted fever tuberculosis Sydenham's chorea severe acute respiratory syndrome pertussis screw worm infectious disease hypodermyiasis arthritis mutilans lead-induced colic chicken egg allergy Diseases of poverty Surra contagious pustular dermatitis haemonchiasis Acrodynia Paracoccidioidomycosis megaesophagus bacterial vaginosis trichostrongylosis autosomal dominant disease typhoid fever typhus dientamoebiasis nut allergy Periventricular leukomalacia Amalgam tattoo Whitewater Arroyo hemorrhagic fever louping ill nasopharynx carcinoma Lentigo maligna melanoma cytomegalia leptospirosis wheat allergy proctitis hookworm infections dicrocoeliasis Uterine incarceration Japanese spotted fever Black piedra bartonellosis nutritional deficiency disease Flinders Island spotted fever bacterial infectious disease Burkitt lymphoma Gram-negative bacterial infection gastroenteritis Osteolathyrism Cholera mansonelliasis tauopathy hantavirus hemorrhagic fever bubonic plague Loxoscelism Von Willebrand disease actinobacillosis actinomycosis pancreatic cholera berylliosis Pneumococcal pneumonia Chapare hemorrhagic fever Algaemia Entomophthoramycosis Fusobacterium infectious disease Neurogenic bladder Vitreous touch syndrome Epstein–Barr virus infection West Nile fever chancroid caffeine intoxication conidiobolomycosis geotrichosis postgastrectomy syndrome respiratory syncytial virus infectious disease soil-transmitted helminthiasis ascariasis food allergy elephantiasis legionellosis fetal valproate syndrome complication of radiotherapy boutonneuse fever diphtheritic peritonitis intestinal botulism fetal nicotine spectrum disorder Haemophilus meningitis smallpox acquired immunodeficiency syndrome chlamydia postcholecystectomy syndrome mosaic variegated aneuploidy syndrome 1 infectious disease Congenital rubella syndrome pleural tuberculosis viral infectious disease louse-borne relapsing fever tick-borne relapsing fever Rift Valley fever yellow fever O'nyong'nyong fever Barmah Forest virus disease Papillomatosis Lobomycosis allescheriosis nerve compression syndrome pseudomembranous conjunctivitis plague heterophyiasis epileptic seizure granuloma inguinale pasteurellosis distomatosis Radiation burn monieziasis necatoriasis listeriosis chikungunya Fluoride toxicity infectious mononucleosis Clostridium difficile colitis Actinobacillus infectious disease Antley-Bixler syndrome gonococcal endophthalmia trench fever trichomoniasis hepatitis B sequelae Erethism Aspergilloma wound botulism infant botulism African tick-bite fever supine hypotensive syndrome inclusion conjunctivitis rabies gastroesophageal reflux disease klebsiellosis Rocio virus encephalitis egg allergy hepatitis C Murray Valley encephalitis Western equine encephalitis Eastern equine encephalitis nephropathia epidemica parasitic protozoa infectious disease thelaziasis Venezuelan equine encephalitis Omsk hemorrhagic fever theileriasis Kyasanur forest disease human monocytic ehrlichiosis anthrax disease Brucella melitensis brucellosis ascaridiasis Astrakhan spotted fever type I hypersensitivity sparganosis Zika fever hyperinsulinism demodicosis Balkan hemorrhagic fever gonococcal infectious diseases tularemia parasitic ectoparasitic infectious disease shigellosis endolymphatic hydrops lymphocytic choriomeningitis dysbaric osteonecrosis Transfusion associated circulatory overload fascioloidiasis transfusion hemosiderosis Grinker myelinopathy keratomalacia exposure keratitis radiation cystitis salmonella sepsis bacteriuria Canine parvovirus AIDS-related lymphoma rhinosporidiosis scrub typhus St. Louis encephalitis pericardial tuberculosis cowpox kernicterus due to isoimmunization Candidal intertrigo African histoplasmosis Kunjin encephalitis leprosy erysipeloid Bruns ataxia Brucella canis brucellosis fruit allergy Staphylococcal infection milk allergy bejel Tahyna virus encephalitis influenza Newcastle disease amebiasis encephalitozoonosis Alternariosis botulism Craniotabes lymphangitis tinea unguium epiglottitis neuro-anemia syndrome Japanese encephalitis trombiculiasis sleeping sickness Adenovirus infection parvovirus infectious disease Serratia infection diphtheria milker's nodule fascioliasis Ureaplasma infection skin cancer electric shock yaws Latrodectism Mumps virus infectious disease endemic typhus metagonimiasis pigmentary glaucoma melioidosis Diabetic foot ulcer Alkhurma hemorrhagic fever parasitic Ichthyosporea infectious disease dioctophymiasis echinostomiasis Marburg hemorrhagic fever stannosis loiasis viral pneumonia mumps dirofilariasis ostertagiasis esophageal varix toxic shock syndrome hepatitis E drug allergy thyroid cancer lewisite shock paratyphoid fever Colorado tick fever Haverhill fever bone fracture prion disease cat-scratch disease epidemic typhus Carrion's disease Cutaneous diphtheria infection Calcium channel blocker toxicity Brucella suis brucellosis Bordetella parapertussis whooping cough West Nile encephalitis primary amebic meningoencephalitis gonorrhea trichostrongyloidiasis Hot tub folliculitis Capillariasis common cold Queensland tick typhus Auto-brewery syndrome Hantavirus pulmonary syndrome autosomal recessive disease allergic asthma endocrine exophthalmos Siberian tick typhus Rubella virus infectious disease pellagra Gluten related disorders white piedra
human immunodeficiency virus infectious disease smallpox Gram-negative bacterial infection
action approx
action union
action find_tuple_counts
relation has cause
type health problem
type environmental issue
action find_tuple_counts
relation has cause
type health problem
type biological process
action count
action filter_multi_types
action find
entity acanthocephaliasis
relation has cause
type environmental issue
type biological process
[{'concept': 'health problem'}, 'has cause', [{'concept': 'environmental issue'}, {'concept': 'biological process'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?h ) AS ?t ) WHERE { VALUES ( ?o ) { ( ontology:biological_process ) ( ontology:environmental_issue ) } . ?h rdf:type ?o } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:environmental_issue ) ( ontology:biological_process ) } } . resource:acanthocephaliasis property:has_cause ?j } } . FILTER ( ?t = ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12214
P1995
Q1047113
USER
Which special field is the medical specality concerned with smallpox ?
(Q12214,P1995,c(Q1047113))
action filter_type
action find
entity Q12214
relation P1995
type Q1047113
['Q12214', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?b WHERE { resource:Q12214 property:P1995 ?b . ?b rdf:type ontology:Q1047113 }
smallpox
action filter_type
action find
entity smallpox
relation medical specialty
type special field
['smallpox', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?b WHERE { resource:smallpox property:medical_specialty ?b . ?b rdf:type ontology:special_field }
[]
special field
Q788926
SYSTEM
Infectious disease
Q788926
(Q12214,P1995,c(Q1047113))
action filter_type
action find
entity Q12214
relation P1995
type Q1047113
[ANSWER] is the medical specality concerned with smallpox
['Q12214', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?b WHERE { resource:Q12214 property:P1995 ?b . ?b rdf:type ontology:Q1047113 }
Infectious disease
Infectious disease is the medical specality concerned with smallpox
Infectious disease
action filter_type
action find
entity smallpox
relation medical specialty
type special field
['smallpox', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?b WHERE { resource:smallpox property:medical_specialty ?b . ?b rdf:type ontology:special_field }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12214
P689
Q82799
USER
Which name is afflicted by smallpox ?
(Q12214,P689,c(Q82799))
action filter_type
action find
entity Q12214
relation P689
type Q82799
['Q12214', 'P689', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q12214 property:P689 ?e . ?e rdf:type ontology:Q82799 }
smallpox
action filter_type
action find
entity smallpox
relation afflicts
type name
['smallpox', 'afflicts', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:smallpox property:afflicts ?e . ?e rdf:type ontology:name }
[]
name
Q5
SYSTEM
human
Q5
(Q12214,P689,c(Q82799))
action filter_type
action find
entity Q12214
relation P689
type Q82799
[ANSWER] is afflicted by smallpox
['Q12214', 'P689', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q12214 property:P689 ?e . ?e rdf:type ontology:Q82799 }
human
Human is afflicted by smallpox
human
action filter_type
action find
entity smallpox
relation afflicts
type name
['smallpox', 'afflicts', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:smallpox property:afflicts ?e . ?e rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12214
P1050
Q502895
USER
Which people are afflicted by that health problem ?
(c(Q502895),P1050,Q5)
action filter_type
action find_reverse
entity Q12214
relation P1050
type Q502895
[{'concept': 'Q502895'}, 'P1050', 'Q5']
SELECT DISTINCT ?g WHERE { ?g property:P1050 resource:Q12214 . ?g rdf:type ontology:Q502895 }
smallpox
action filter_type
action find_reverse
entity smallpox
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'human']
SELECT DISTINCT ?g WHERE { ?g property:medical_condition resource:smallpox . ?g rdf:type ontology:common_name }
[]
common name
Q2661222 Q13049771 Q4180706
SYSTEM
Antoine Ó Raifteiri, Varvara Petrovna Turgeneva, Varvara Zhitova
Q2661222 Q13049771 Q4180706
(c(Q502895),P1050,Q5)
action filter_type
action find_reverse
entity Q12214
relation P1050
type Q502895
[ANSWERS] are afflicted by that health problem
[{'concept': 'Q502895'}, 'P1050', 'Q5']
SELECT DISTINCT ?g WHERE { ?g property:P1050 resource:Q12214 . ?g rdf:type ontology:Q502895 }
Antoine Ó Raifteiri Varvara Petrovna Turgeneva Varvara Zhitova
Antoine Ó Raifteiri, Varvara Petrovna Turgeneva and Varvara Zhitova are afflicted by that health problem
Antoine Ó Raifteiri Varvara Petrovna Turgeneva Varvara Zhitova
action filter_type
action find_reverse
entity smallpox
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'human']
SELECT DISTINCT ?g WHERE { ?g property:medical_condition resource:smallpox . ?g rdf:type ontology:common_name }
[]