Simple Question (Direct)
Simple Question
Q21110607
P703
Q16521
USER
Which taxon is Perilipin-3 found in ?
(Q21110607,P703,c(Q16521))
action filter_type
action find
entity Q21110607
relation P703
type Q16521
['Q21110607', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q16521 . resource:Q21110607 property:P703 ?v }
Perilipin-3
action filter_type
action find
entity Perilipin-3
relation found in taxon
type taxon
['Perilipin-3', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:taxon . resource:Perilipin-3 property:found_in_taxon ?v }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21110607,P703,c(Q16521))
action filter_type
action find
entity Q21110607
relation P703
type Q16521
Perilipin-3 is found in [ANSWER]
['Q21110607', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q16521 . resource:Q21110607 property:P703 ?v }
Homo sapiens
Perilipin-3 is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Perilipin-3
relation found in taxon
type taxon
['Perilipin-3', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:taxon . resource:Perilipin-3 property:found_in_taxon ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21110607
P688
Q863908
USER
What is the nucleic acid sequence that is encoded by Perilipin-3 ?
(c(Q863908),P688,Q21110607)
action filter_type
action find_reverse
entity Q21110607
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21110607']
SELECT DISTINCT ?g WHERE { ?g property:P688 resource:Q21110607 . ?g rdf:type ontology:Q863908 }
Perilipin-3
action filter_type
action find_reverse
entity Perilipin-3
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Perilipin-3']
SELECT DISTINCT ?g WHERE { ?g property:encodes resource:Perilipin-3 . ?g rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18035140
SYSTEM
PLIN3
Q18035140
(c(Q863908),P688,Q21110607)
action filter_type
action find_reverse
entity Q21110607
relation P688
type Q863908
The nucleic acid sequence that is encoded by Perilipin-3 is the [ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q21110607']
SELECT DISTINCT ?g WHERE { ?g property:P688 resource:Q21110607 . ?g rdf:type ontology:Q863908 }
PLIN3
The nucleic acid sequence that is encoded by Perilipin-3 is the PLIN3
PLIN3
action filter_type
action find_reverse
entity Perilipin-3
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Perilipin-3']
SELECT DISTINCT ?g WHERE { ?g property:encodes resource:Perilipin-3 . ?g rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18035140
P684
Q863908
USER
What is an otrhologus gene for that one ?
(Q18035140,P684,c(Q863908))
action filter_type
action find
entity Q18035140
relation P684
type Q863908
['Q18035140', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?g WHERE { resource:Q18035140 property:P684 ?g . ?g rdf:type ontology:Q863908 }
PLIN3
action filter_type
action find
entity PLIN3
relation ortholog
type nucleic acid sequence
['PLIN3', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?g WHERE { resource:PLIN3 property:ortholog ?g . ?g rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18262152
SYSTEM
Plin3
Q18262152
(Q18035140,P684,c(Q863908))
action filter_type
action find
entity Q18035140
relation P684
type Q863908
An otrhologus gene for that one is the [ANSWER]
['Q18035140', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?g WHERE { resource:Q18035140 property:P684 ?g . ?g rdf:type ontology:Q863908 }
Plin3
An otrhologus gene for that one is the Plin3
Plin3
action filter_type
action find
entity PLIN3
relation ortholog
type nucleic acid sequence
['PLIN3', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?g WHERE { resource:PLIN3 property:ortholog ?g . ?g rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18262152 Q23353995
P684
Q863908
USER
Is thiamine biosynthesis protein ThiC    aq_1204 an orthologous gene for that one ?
(Q18262152,P684,Q23353995)
action is_in
entity Q23353995
action find
entity Q18262152
relation P684
['Q18262152', 'P684', 'Q23353995']
ASK WHERE { resource:Q18262152 property:P684 resource:Q23353995 }
Plin3 thiamine biosynthesis protein ThiC    aq_1204
action is_in
entity thiamine biosynthesis protein ThiC    aq_1204
action find
entity Plin3
relation ortholog
['Plin3', 'ortholog', 'thiamine biosynthesis protein ThiC    aq_1204']
ASK WHERE { resource:Plin3 property:ortholog resource:thiamine_biosynthesis_protein_ThiC____aq_1204 }
[]
nucleic acid sequence
SYSTEM
NO
(Q18262152,P684,Q23353995)
action is_in
entity Q23353995
action find
entity Q18262152
relation P684
[ANSWER]
['Q18262152', 'P684', 'Q23353995']
ASK WHERE { resource:Q18262152 property:P684 resource:Q23353995 }
No
action is_in
entity thiamine biosynthesis protein ThiC    aq_1204
action find
entity Plin3
relation ortholog
['Plin3', 'ortholog', 'thiamine biosynthesis protein ThiC    aq_1204']
ASK WHERE { resource:Plin3 property:ortholog resource:thiamine_biosynthesis_protein_ThiC____aq_1204 }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q15978631 Q19359611
P427
Q3343211
USER
Is Rausch 572 the taxonomic type of Homo sapiens ?
(Q15978631,P427,Q19359611)
action is_in
entity Q19359611
action find
entity Q15978631
relation P427
['Q15978631', 'P427', 'Q19359611']
ASK WHERE { resource:Q15978631 property:P427 resource:Q19359611 }
Homo sapiens Rausch 572
action is_in
entity Rausch 572
action find
entity Homo sapiens
relation taxonomic type
['Homo sapiens', 'taxonomic type', 'Rausch 572']
ASK WHERE { resource:Homo_sapiens property:taxonomic_type resource:Rausch_572 }
[]
zoological nomenclature
SYSTEM
NO
(Q15978631,P427,Q19359611)
action is_in
entity Q19359611
action find
entity Q15978631
relation P427
[ANSWER]
['Q15978631', 'P427', 'Q19359611']
ASK WHERE { resource:Q15978631 property:P427 resource:Q19359611 }
No
action is_in
entity Rausch 572
action find
entity Homo sapiens
relation taxonomic type
['Homo sapiens', 'taxonomic type', 'Rausch 572']
ASK WHERE { resource:Homo_sapiens property:taxonomic_type resource:Rausch_572 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15978631
P689
Q2057971
USER
Which health problem can afflict Homo sapiens ?
(c(Q2057971),P689,Q15978631)
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
[{'concept': 'Q2057971'}, 'P689', 'Q15978631']
SELECT DISTINCT ?l WHERE { ?l property:P689 resource:Q15978631 . ?l rdf:type ontology:Q2057971 }
Homo sapiens
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens']
SELECT DISTINCT ?l WHERE { ?l property:afflicts resource:Homo_sapiens . ?l rdf:type ontology:health_problem }
[]
health problem
Q403463
SYSTEM
Aicardi syndrome
Q403463
(c(Q2057971),P689,Q15978631)
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
[ANSWER] can afflict Homo sapiens
[{'concept': 'Q2057971'}, 'P689', 'Q15978631']
SELECT DISTINCT ?l WHERE { ?l property:P689 resource:Q15978631 . ?l rdf:type ontology:Q2057971 }
Aicardi syndrome
Aicardi syndrome can afflict Homo sapiens
Aicardi syndrome
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens']
SELECT DISTINCT ?l WHERE { ?l property:afflicts resource:Homo_sapiens . ?l rdf:type ontology:health_problem }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q41083
P828
Q2057971 Q1190554 Q2057971
USER
How many health problems are the result of having greater number of health problems or events than syphilis ?
(c(Q2057971),P828,c(Q2057971)|c(Q1190554))
action count
action greater
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action find_tuple_counts
relation P828
type Q2057971
type Q1190554
action count
action filter_multi_types
action find
entity Q41083
relation P828
type Q2057971
type Q1190554
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2057971'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?x ) WHERE { VALUES ( ?b ) { ( ontology:Q2057971 ) ( ontology:Q1190554 ) } . ?j rdf:type ?b } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q41083 property:P828 ?f . { { ?f rdf:type ontology:Q2057971 } UNION { ?f rdf:type ontology:Q1190554 } } } } . FILTER ( ?x > ?l ) }
syphilis
action count
action greater
action union
action find_tuple_counts
relation has cause
type health problem
type health problem
action find_tuple_counts
relation has cause
type health problem
type event
action count
action filter_multi_types
action find
entity syphilis
relation has cause
type health problem
type event
[{'concept': 'health problem'}, 'has cause', [{'concept': 'health problem'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?x ) WHERE { VALUES ( ?b ) { ( ontology:health_problem ) ( ontology:event ) } . ?j rdf:type ?b } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:syphilis property:has_cause ?f . { { ?f rdf:type ontology:health_problem } UNION { ?f rdf:type ontology:event } } } } . FILTER ( ?x > ?l ) }
[]
health problem event health problem
SYSTEM
48
Q147778 Q623031 Q52856 Q127724 Q19972185 Q18555052 Q5038165 Q1097957 Q3153686 Q16831900 Q124604 Q4366062 Q4797639 Q1713499 Q16242812 Q1693598 Q1890194 Q1016605 Q18557427 Q7205992 Q2339038 Q18395602 Q2933021 Q16775468 Q1409081 Q1724539 Q6279182 Q658873 Q3074499 Q585011 Q3089469 Q47912 Q14375936 Q9376235 Q17126040 Q18558134 Q18557482 Q632522 Q4651856 Q7850856 Q18554229 Q5182155 Q3508771 Q3108587 Q298278 Q826522 Q18558124 Q18554306
(c(Q2057971),P828,c(Q2057971)|c(Q1190554))
action count
action greater
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action find_tuple_counts
relation P828
type Q2057971
type Q1190554
action count
action filter_multi_types
action find
entity Q41083
relation P828
type Q2057971
type Q1190554
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2057971'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?x ) WHERE { VALUES ( ?b ) { ( ontology:Q2057971 ) ( ontology:Q1190554 ) } . ?j rdf:type ?b } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q41083 property:P828 ?f . { { ?f rdf:type ontology:Q2057971 } UNION { ?f rdf:type ontology:Q1190554 } } } } . FILTER ( ?x > ?l ) }
liver cirrhosis liver cancer Diabetic foot cataract Tubo-ovarian abscess malt worker's lung Carcinoma ex-pleomorphic adenoma intermittent claudication Toluene toxicity intracranial hypotension portal hypertension Pneumococcal infection arthritis mutilans megaesophagus Amalgam tattoo nasopharynx carcinoma nutritional deficiency disease Burkitt lymphoma pancreatic cholera Pneumococcal pneumonia Neurogenic bladder Vitreous touch syndrome caffeine intoxication elephantiasis fetal nicotine spectrum disorder Congenital rubella syndrome epileptic seizure Radiation burn Fluoride toxicity Antley-Bixler syndrome sequelae lung cancer hyperinsulinism endolymphatic hydrops Transfusion associated circulatory overload exposure keratitis radiation cystitis bacteriuria AIDS-related lymphoma pericardial tuberculosis kernicterus due to isoimmunization Craniotabes neuro-anemia syndrome pigmentary glaucoma esophageal varix thyroid cancer allergic asthma endocrine exophthalmos
48
action count
action greater
action union
action find_tuple_counts
relation has cause
type health problem
type health problem
action find_tuple_counts
relation has cause
type health problem
type event
action count
action filter_multi_types
action find
entity syphilis
relation has cause
type health problem
type event
[{'concept': 'health problem'}, 'has cause', [{'concept': 'health problem'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?x ) WHERE { VALUES ( ?b ) { ( ontology:health_problem ) ( ontology:event ) } . ?j rdf:type ?b } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:syphilis property:has_cause ?f . { { ?f rdf:type ontology:health_problem } UNION { ?f rdf:type ontology:event } } } } . FILTER ( ?x > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q326638
P828
Q2057971 Q1190554 Q2057971
USER
And how about Rift Valley fever?
(c(Q2057971),P828,c(Q2057971)|c(Q1190554))
action count
action greater
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action find_tuple_counts
relation P828
type Q2057971
type Q1190554
action count
action filter_multi_types
action find
entity Q326638
relation P828
type Q2057971
type Q1190554
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2057971'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q326638 property:P828 ?o . { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2057971 ) ( ontology:Q1190554 ) } } } } . FILTER ( ?e > ?l ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?e ) WHERE { { ?m property:P828 ?k . ?m rdf:type ontology:Q2057971 . ?k rdf:type ontology:Q2057971 } UNION { ?m property:P828 ?k . ?k rdf:type ontology:Q1190554 . ?m rdf:type ontology:Q2057971 } } GROUP BY ?m } }
Rift Valley fever
action count
action greater
action union
action find_tuple_counts
relation has cause
type health problem
type health problem
action find_tuple_counts
relation has cause
type health problem
type event
action count
action filter_multi_types
action find
entity Rift Valley fever
relation has cause
type health problem
type event
[{'concept': 'health problem'}, 'has cause', [{'concept': 'health problem'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Rift_Valley_fever property:has_cause ?o . { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:health_problem ) ( ontology:event ) } } } } . FILTER ( ?e > ?l ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?e ) WHERE { { ?m property:has_cause ?k . ?m rdf:type ontology:health_problem . ?k rdf:type ontology:health_problem } UNION { ?m property:has_cause ?k . ?k rdf:type ontology:event . ?m rdf:type ontology:health_problem } } GROUP BY ?m } }
[]
health problem event health problem
SYSTEM
48
Q147778 Q623031 Q52856 Q127724 Q19972185 Q18555052 Q5038165 Q1097957 Q3153686 Q16831900 Q124604 Q4366062 Q4797639 Q1713499 Q16242812 Q1693598 Q1890194 Q1016605 Q18557427 Q7205992 Q2339038 Q18395602 Q2933021 Q16775468 Q1409081 Q1724539 Q6279182 Q658873 Q3074499 Q585011 Q3089469 Q47912 Q14375936 Q9376235 Q17126040 Q18558134 Q18557482 Q632522 Q4651856 Q7850856 Q18554229 Q5182155 Q3508771 Q3108587 Q298278 Q826522 Q18558124 Q18554306
(c(Q2057971),P828,c(Q2057971)|c(Q1190554))
action count
action greater
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action find_tuple_counts
relation P828
type Q2057971
type Q1190554
action count
action filter_multi_types
action find
entity Q326638
relation P828
type Q2057971
type Q1190554
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2057971'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q326638 property:P828 ?o . { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2057971 ) ( ontology:Q1190554 ) } } } } . FILTER ( ?e > ?l ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?e ) WHERE { { ?m property:P828 ?k . ?m rdf:type ontology:Q2057971 . ?k rdf:type ontology:Q2057971 } UNION { ?m property:P828 ?k . ?k rdf:type ontology:Q1190554 . ?m rdf:type ontology:Q2057971 } } GROUP BY ?m } }
liver cirrhosis liver cancer Diabetic foot cataract Tubo-ovarian abscess malt worker's lung Carcinoma ex-pleomorphic adenoma intermittent claudication Toluene toxicity intracranial hypotension portal hypertension Pneumococcal infection arthritis mutilans megaesophagus Amalgam tattoo nasopharynx carcinoma nutritional deficiency disease Burkitt lymphoma pancreatic cholera Pneumococcal pneumonia Neurogenic bladder Vitreous touch syndrome caffeine intoxication elephantiasis fetal nicotine spectrum disorder Congenital rubella syndrome epileptic seizure Radiation burn Fluoride toxicity Antley-Bixler syndrome sequelae lung cancer hyperinsulinism endolymphatic hydrops Transfusion associated circulatory overload exposure keratitis radiation cystitis bacteriuria AIDS-related lymphoma pericardial tuberculosis kernicterus due to isoimmunization Craniotabes neuro-anemia syndrome pigmentary glaucoma esophageal varix thyroid cancer allergic asthma endocrine exophthalmos
48
action count
action greater
action union
action find_tuple_counts
relation has cause
type health problem
type health problem
action find_tuple_counts
relation has cause
type health problem
type event
action count
action filter_multi_types
action find
entity Rift Valley fever
relation has cause
type health problem
type event
[{'concept': 'health problem'}, 'has cause', [{'concept': 'health problem'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Rift_Valley_fever property:has_cause ?o . { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:health_problem ) ( ontology:event ) } } } } . FILTER ( ?e > ?l ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?e ) WHERE { { ?m property:has_cause ?k . ?m rdf:type ontology:health_problem . ?k rdf:type ontology:health_problem } UNION { ?m property:has_cause ?k . ?k rdf:type ontology:event . ?m rdf:type ontology:health_problem } } GROUP BY ?m } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P828
Q2057971 Q12136
USER
Which diseases are caused by min number of health problems ?
(c(Q12136),P828,c(Q2057971))
action argmin
action find_tuple_counts
relation P828
type Q12136
type Q2057971
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?d ) WHERE { ?f property:P828 ?k . ?f rdf:type ontology:Q12136 . ?k rdf:type ontology:Q2057971 } GROUP BY ?f } . FILTER ( ?d = ?q ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?q ) { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?n ) WHERE { ?a property:P828 ?b . ?a rdf:type ontology:Q12136 . ?b rdf:type ontology:Q2057971 } GROUP BY ?a } } }
action argmin
action find_tuple_counts
relation has cause
type disease
type health problem
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?d ) WHERE { ?f property:has_cause ?k . ?f rdf:type ontology:disease . ?k rdf:type ontology:health_problem } GROUP BY ?f } . FILTER ( ?d = ?q ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?q ) { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?n ) WHERE { ?a property:has_cause ?b . ?a rdf:type ontology:disease . ?b rdf:type ontology:health_problem } GROUP BY ?a } } }
[]
health problem disease
Q110315 Q18975220 Q125367
SYSTEM
lead poisoning, Escherichia coli infectious disease, carbon monoxide poisoning
Q22236199 Q18928556 Q23900716 Q19850514 Q18928417 Q18928416 Q18928558 Q2572879 Q18975849 Q164818 Q2072680 Q7193348 Q18975495 Q3073143 Q272002 Q18966558 Q125367 Q18966502 Q18967083 Q922971 Q18928402 Q26989045 Q18967319 Q18928525 Q18966466 Q18966421 Q26805194 Q18922523 Q1818335 Q3498706 Q18924573 Q1275863 Q18928436 Q2270671 Q5593571 Q18928532 Q18966395 Q11862744 Q18975828 Q1824410 Q706825 Q5986402 Q18924544 Q18966405 Q1001920 Q1736897 Q18928624 Q23772742 Q6895745 Q18928587 Q2632404 Q6500058 Q3410750 Q19000697 Q5861610 Q5458307 Q137597 Q2394735 Q2932525 Q19000393 Q19000458 Q19000493 Q18967413 Q7933588 Q18928599 Q7430242 Q15964334 Q2006636 Q4835994 Q110315 Q3319277 Q94796 Q2031871 Q4059313 Q7421081 Q18975874 Q18967211 Q19000403 Q19000401 Q17123258 Q2389289 Q205972 Q10591185 Q7258523 Q18932779 Q18928560 Q18928346 Q16654806 Q157008 Q5348632 Q2936210 Q1033316 Q1455531 Q574005 Q7074450 Q3961638 Q3232749 Q882181 Q18968009 Q2859732 Q18928351 Q9352582 Q1807401 Q22350879 Q18975220 Q277254 Q444662 Q18928370 Q19000581
(c(Q12136),P828,c(Q2057971))
action argmin
action find_tuple_counts
relation P828
type Q12136
type Q2057971
[ANSWERS] are caused by min number of health problems
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?d ) WHERE { ?f property:P828 ?k . ?f rdf:type ontology:Q12136 . ?k rdf:type ontology:Q2057971 } GROUP BY ?f } . FILTER ( ?d = ?q ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?q ) { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?n ) WHERE { ?a property:P828 ?b . ?a rdf:type ontology:Q12136 . ?b rdf:type ontology:Q2057971 } GROUP BY ?a } } }
Alcohol-induced respiratory reactions Capnocytophaga canimorsus infectious disease occupational cardiovascular disease Olive Quick Decline Syndrome pulmonary capillariasis hepatic capillariasis Chryseobacterium indologenes infectious disease Paracetamol toxicity bovine anaplasmosis Q fever Nematode infection Pigeon pox Oxyurida infectious disease Mayaro virus disease food poisoning echovirus infectious disease carbon monoxide poisoning Spirurida infectious disease Wuchereria bancrofti filariasis Acanthamoeba keratitis Hepeviridae infectious disease neurotoxic disorder infectious myositis Burkholderia cepacia infectious disease Fissure of nipple associated with childbirth coxsackievirus infectious disease Sclerosing encapsulating peritonitis Streptomyces somaliensis infectious disease nosemosis Steppage gait hepatic Torque teno virus infectious disease seafood allergy Brugia timori filariasis Intestinal capillariasis Gram-negative folliculitis Gardnerella vaginalis vaginosis menopausal and postmenopausal disorder Tachycardia-induced cardiomyopathy visna cat flu foulbrood Ichthyoallyeinotoxism Mansonella streptocerca infectious disease Haemophilus influenzae infectious disease Hallucinogen persisting perception disorder (hppd) allergy to cats primary streptococcal infectious disease Bacteroides Infections Mold health issues Bacteroides fragilis peritonitis African swine fever laurel wilt Pulicosis simian acquired immunodeficiency syndrome Bwamba Fever Flea-borne spotted fever Ankylostomiasis anaplasmosis lancet liver fluke infection feline acquired immunodeficiency syndrome equine infectious anemia bovine ephemeral fever RNA virus infectious disease Trichodysplasia spinulosa Bordetella pertussis whooping cough scarabiasis paratyphoid  A waterborne disease BMPR2 lead poisoning Snow mold Marchiafava-Bignami disease Vibration white finger Acanthocheilonemiasis Sappinia amoebic encephalitis Henipavirus infectious disease Enoplea infectious disease Enterovirus infectious disease border disease fox mange occupational injury drunkenness Mycoplasma pneumonia Puerperal disorder Chlamydophila pneumoniae infectious disease Myroides odoratus necrotizing fasciitis Jamestown Canyon encephalitis Middle East respiratory syndrome Rinderpest Ehrlichiosis ewingii infection occupational cancer Ehrlichiosis endemic goiter Contagious bovine pleuropneumonia oat sensitivity nicotine withdrawal garlic allergy corn grey leaf spot Vibrio infectious disease arbovirosis inkoo encephalitis Fiddler's neck sodoku Spondweni fever Escherichia coli infectious disease Adams–Stokes syndrome Dipylidium caninum infectious disease Nipah virus encephalitis classical swine fever
Lead poisoning, Escherichia coli infectious disease and carbon monoxide poisoning are caused by min number of health problems
lead poisoning Escherichia coli infectious disease carbon monoxide poisoning
action argmin
action find_tuple_counts
relation has cause
type disease
type health problem
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?d ) WHERE { ?f property:has_cause ?k . ?f rdf:type ontology:disease . ?k rdf:type ontology:health_problem } GROUP BY ?f } . FILTER ( ?d = ?q ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?q ) { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?n ) WHERE { ?a property:has_cause ?b . ?a rdf:type ontology:disease . ?b rdf:type ontology:health_problem } GROUP BY ?a } } }
[]