Simple Question (Direct)
Simple Question
Q21168378
P681
Q15989253
USER
What is a component of valine--tRNA ligase    CT_302 ?
(Q21168378,P681,c(Q15989253))
action filter_type
action find
entity Q21168378
relation P681
type Q15989253
['Q21168378', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15989253 . resource:Q21168378 property:P681 ?e }
valine--tRNA ligase    CT_302
action filter_type
action find
entity valine--tRNA ligase    CT_302
relation cell component
type part
['valine--tRNA ligase    CT_302', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:part . resource:valine--tRNA_ligase____CT_302 property:cell_component ?e }
[]
part
Q79899
SYSTEM
cytoplasm
Q79899
(Q21168378,P681,c(Q15989253))
action filter_type
action find
entity Q21168378
relation P681
type Q15989253
A component of valine -- tRNA ligase CT_302 is the [ANSWER]
['Q21168378', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15989253 . resource:Q21168378 property:P681 ?e }
cytoplasm
A component of valine -- tRNA ligase CT_302 is the cytoplasm
cytoplasm
action filter_type
action find
entity valine--tRNA ligase    CT_302
relation cell component
type part
['valine--tRNA ligase    CT_302', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:part . resource:valine--tRNA_ligase____CT_302 property:cell_component ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21168378
P702
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(Q79899,P702,c(Q863908))
action filter_type
action find
entity Q21168378
relation P702
type Q863908
['Q79899', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?g WHERE { resource:Q21168378 property:P702 ?g . ?g rdf:type ontology:Q863908 }
valine--tRNA ligase    CT_302
action filter_type
action find
entity valine--tRNA ligase    CT_302
relation encoded by
type nucleic acid sequence
['cytoplasm', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?g WHERE { resource:valine--tRNA_ligase____CT_302 property:encoded_by ?g . ?g rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21150090
SYSTEM
valine--tRNA ligase    CT_302
Q21150090
(Q79899,P702,c(Q863908))
action filter_type
action find
entity Q21168378
relation P702
type Q863908
Valine--tRNA ligase CT 302 encodes that nutrient
['Q79899', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?g WHERE { resource:Q21168378 property:P702 ?g . ?g rdf:type ontology:Q863908 }
valine--tRNA ligase    CT_302
Valine--tRNA ligase CT 302 encodes that nutrient
valine--tRNA ligase    CT_302
action filter_type
action find
entity valine--tRNA ligase    CT_302
relation encoded by
type nucleic acid sequence
['cytoplasm', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?g WHERE { resource:valine--tRNA_ligase____CT_302 property:encoded_by ?g . ?g rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q21150090 Q21168378
P688
Q181394
USER
Is that nucleic acid sequence an encoding of valine--tRNA ligase    CT_302 ?
(Q21150090,P688,Q21168378)
action is_in
entity Q21168378
action find
entity Q21150090
relation P688
['Q21150090', 'P688', 'Q21168378']
ASK WHERE { resource:Q21150090 property:P688 resource:Q21168378 }
valine--tRNA ligase    CT_302 valine--tRNA ligase    CT_302
action is_in
entity valine--tRNA ligase    CT_302
action find
entity valine--tRNA ligase    CT_302
relation encodes
['valine--tRNA ligase    CT_302', 'encodes', 'valine--tRNA ligase    CT_302']
ASK WHERE { resource:valine--tRNA_ligase____CT_302 property:encodes resource:valine--tRNA_ligase____CT_302 }
[]
nutrient
SYSTEM
YES
(Q21150090,P688,Q21168378)
action is_in
entity Q21168378
action find
entity Q21150090
relation P688
[ANSWER]
['Q21150090', 'P688', 'Q21168378']
ASK WHERE { resource:Q21150090 property:P688 resource:Q21168378 }
Yes
action is_in
entity valine--tRNA ligase    CT_302
action find
entity valine--tRNA ligase    CT_302
relation encodes
['valine--tRNA ligase    CT_302', 'encodes', 'valine--tRNA ligase    CT_302']
ASK WHERE { resource:valine--tRNA_ligase____CT_302 property:encodes resource:valine--tRNA_ligase____CT_302 }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21150090
P703
Q16521
USER
Which taxon is that nucleic acid sequence found in ?
action filter_type
action find
entity Q21150090
relation P703
type Q16521
SELECT DISTINCT ?b WHERE { resource:Q21150090 property:P703 ?b . ?b rdf:type ontology:Q16521 }
valine--tRNA ligase    CT_302
action filter_type
action find
entity valine--tRNA ligase    CT_302
relation found in taxon
type taxon
SELECT DISTINCT ?b WHERE { resource:valine--tRNA_ligase____CT_302 property:found_in_taxon ?b . ?b rdf:type ontology:taxon }
[]
taxon
Q20800373
SYSTEM
Chlamydia trachomatis D/UW-3/CX
Q20800373
action filter_type
action find
entity Q21150090
relation P703
type Q16521
That nucleic acid sequence is found in [ANSWER]
SELECT DISTINCT ?b WHERE { resource:Q21150090 property:P703 ?b . ?b rdf:type ontology:Q16521 }
Chlamydia trachomatis D/UW-3/CX
That nucleic acid sequence is found in Chlamydia trachomatis D/UW-3/CX
Chlamydia trachomatis D/UW-3/CX
action filter_type
action find
entity valine--tRNA ligase    CT_302
relation found in taxon
type taxon
SELECT DISTINCT ?b WHERE { resource:valine--tRNA_ligase____CT_302 property:found_in_taxon ?b . ?b rdf:type ontology:taxon }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q20800373 Q23438121
P703
Q181394
USER
Does periplasmic AI-2 binding protein LuxP    VF_0707 specy belongs to the taxon that one ?
(Q23438121,P703,Q20800373)
action is_in
entity Q23438121
action find
entity Q20800373
relation P703
['Q23438121', 'P703', 'Q20800373']
ASK WHERE { resource:Q20800373 property:P703 resource:Q23438121 }
Chlamydia trachomatis D/UW-3/CX periplasmic AI-2 binding protein LuxP    VF_0707
action is_in
entity periplasmic AI-2 binding protein LuxP    VF_0707
action find
entity Chlamydia trachomatis D/UW-3/CX
relation found in taxon
['periplasmic AI-2 binding protein LuxP    VF_0707', 'found in taxon', 'Chlamydia trachomatis D/UW-3/CX']
ASK WHERE { resource:Chlamydia_trachomatis_D/UW-3/CX property:found_in_taxon resource:periplasmic_AI-2_binding_protein_LuxP____VF_0707 }
[]
nutrient
SYSTEM
NO
(Q23438121,P703,Q20800373)
action is_in
entity Q23438121
action find
entity Q20800373
relation P703
[ANSWER]
['Q23438121', 'P703', 'Q20800373']
ASK WHERE { resource:Q20800373 property:P703 resource:Q23438121 }
No
action is_in
entity periplasmic AI-2 binding protein LuxP    VF_0707
action find
entity Chlamydia trachomatis D/UW-3/CX
relation found in taxon
['periplasmic AI-2 binding protein LuxP    VF_0707', 'found in taxon', 'Chlamydia trachomatis D/UW-3/CX']
ASK WHERE { resource:Chlamydia_trachomatis_D/UW-3/CX property:found_in_taxon resource:periplasmic_AI-2_binding_protein_LuxP____VF_0707 }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21167908 Q20800373
P1542
Q2057971
USER
Which health problems are the effects of Chlamydia trachomatis D/UW-3/CX or barium chloride exposure ?
OR((Q20800373,P1542,c(Q2057971)), (Q21167908,P1542,c(Q2057971)))
action filter_type
action union
action find
entity Q20800373
relation P1542
action find
entity Q21167908
relation P1542
type Q2057971
{'OR': [['Q20800373', 'P1542', {'concept': 'Q2057971'}], ['Q21167908', 'P1542', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q20800373 property:P1542 ?m } UNION { resource:Q21167908 property:P1542 ?m } } . ?m rdf:type ontology:Q2057971 }
barium chloride exposure Chlamydia trachomatis D/UW-3/CX
action filter_type
action union
action find
entity Chlamydia trachomatis D/UW-3/CX
relation cause of
action find
entity barium chloride exposure
relation cause of
type health problem
{'OR': [['Chlamydia trachomatis D/UW-3/CX', 'cause of', {'concept': 'health problem'}], ['barium chloride exposure', 'cause of', {'concept': 'health problem'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Chlamydia_trachomatis_D/UW-3/CX property:cause_of ?m } UNION { resource:barium_chloride_exposure property:cause_of ?m } } . ?m rdf:type ontology:health_problem }
[]
health problem
Q794086 Q153356 Q692536 Q190805
SYSTEM
hypokalemia, chlamydia, myopathy, heart disease
Q794086 Q153356 Q692536 Q190805
OR((Q20800373,P1542,c(Q2057971)), (Q21167908,P1542,c(Q2057971)))
action filter_type
action union
action find
entity Q20800373
relation P1542
action find
entity Q21167908
relation P1542
type Q2057971
[ANSWERS] are the effects of Chlamydia trachomatis D/UW-3/CX or barium chloride exposure
{'OR': [['Q20800373', 'P1542', {'concept': 'Q2057971'}], ['Q21167908', 'P1542', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q20800373 property:P1542 ?m } UNION { resource:Q21167908 property:P1542 ?m } } . ?m rdf:type ontology:Q2057971 }
hypokalemia chlamydia myopathy heart disease
Hypokalemia, chlamydia, myopathy and heart disease are the effects of Chlamydia trachomatis D/UW-3/CX or barium chloride exposure
hypokalemia chlamydia myopathy heart disease
action filter_type
action union
action find
entity Chlamydia trachomatis D/UW-3/CX
relation cause of
action find
entity barium chloride exposure
relation cause of
type health problem
{'OR': [['Chlamydia trachomatis D/UW-3/CX', 'cause of', {'concept': 'health problem'}], ['barium chloride exposure', 'cause of', {'concept': 'health problem'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Chlamydia_trachomatis_D/UW-3/CX property:cause_of ?m } UNION { resource:barium_chloride_exposure property:cause_of ?m } } . ?m rdf:type ontology:health_problem }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P780
Q12136 Q1441305 Q2057971
USER
Which health problems are min number of diseases or medical signs a symtom of ?
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action argmin
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?h WHERE { VALUES ( ?g ) { ( ontology:Q12136 ) ( ontology:Q1441305 ) } . ?k rdf:type ?g } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?a WHERE { { ?a property:P780 ?l . ?l rdf:type ontology:Q12136 . ?a rdf:type ontology:Q2057971 } UNION { ?a property:P780 ?l . ?l rdf:type ontology:Q1441305 . ?a rdf:type ontology:Q2057971 } } GROUP BY ?a } . FILTER ( ?y = ?i ) }
action argmin
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?h WHERE { VALUES ( ?g ) { ( ontology:disease ) ( ontology:medical_sign ) } . ?k rdf:type ?g } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?a WHERE { { ?a property:symptoms ?l . ?l rdf:type ontology:disease . ?a rdf:type ontology:health_problem } UNION { ?a property:symptoms ?l . ?l rdf:type ontology:medical_sign . ?a rdf:type ontology:health_problem } } GROUP BY ?a } . FILTER ( ?y = ?i ) }
[]
disease medical sign health problem
Q191779 Q124604 Q378681
SYSTEM
Gilles de la Tourette syndrome, portal hypertension, peripheral artery disease
Q3281274 Q18589315 Q4813631 Q16889762 Q19000456 Q7080278 Q2070695 Q3508686 Q5319554 Q558077 Q7688951 Q3843800 Q585011 Q3508664 Q26492785 Q191779 Q18553762 Q192100 Q5064113 Q774483 Q17120992 Q1154422 Q10529545 Q205214 Q1515119 Q7243138 Q207133 Q12252367 Q18554801 Q632228 Q1432717 Q18556319 Q3298999 Q4421929 Q4352832 Q21505506 Q21505507 Q2836 Q460167 Q124604 Q799615 Q1518637 Q18557231 Q1648128 Q19000484 Q2845978 Q378681 Q27164422 Q281928 Q15401621 Q4676384 Q506433 Q959457 Q522163 Q21505526 Q9390463 Q1286320 Q1117652 Q3508585 Q1077139 Q4865826 Q5032577 Q17089792 Q1952467 Q129279 Q18555385 Q2106232 Q25345593 Q208562 Q1641153 Q14509067 Q26492775
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action argmin
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
[ANSWERS] are min number of diseases or medical signs a symtom of
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?h WHERE { VALUES ( ?g ) { ( ontology:Q12136 ) ( ontology:Q1441305 ) } . ?k rdf:type ?g } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?a WHERE { { ?a property:P780 ?l . ?l rdf:type ontology:Q12136 . ?a rdf:type ontology:Q2057971 } UNION { ?a property:P780 ?l . ?l rdf:type ontology:Q1441305 . ?a rdf:type ontology:Q2057971 } } GROUP BY ?a } . FILTER ( ?y = ?i ) }
Griscelli syndrome Cataract-microcornea syndrome dyskinetic cerebral palsy multiple pterygium syndrome syphilitic alopecia Oguchi disease macrocytic anemia Saethre–Chotzen syndrome dysplastic nevus syndrome Williams Syndrome Taussig–Bing syndrome chronic congestive splenomegaly Antley-Bixler syndrome Lasthenie de Ferjol syndrome hypertrichotic osteochondrodysplasia Cantu type Gilles de la Tourette syndrome migraine with aura lymphatic filariasis Cerebrospinal fluid leak Galactosemia Hyperglycerolemia leukocyte-adhesion deficiency syndrome hyperandrogenism Guillain–Barré syndrome Gerstmann syndrome Primary hypertrophic osteoathropathy Klinefelter's syndrome atherosclerosis multiple intestinal atresia Hajdu-Cheney syndrome Catatonic schizophrenia sea-blue histiocyte syndrome microcytic anemia Hippocampal sclerosis urofacial syndrome hypophosphatemic nephrolithiasis/osteoporosis 1 hypophosphatemic nephrolithiasis/osteoporosis 2 aphasia Meniere's disease portal hypertension osteitis fibrosa VIPoma hypersplenism geniculate herpes zoster arteriosclerosis obliterans stereotypic movement disorder peripheral artery disease X-linked cleft palate with or without ankyloglossia social phobia Trousseau sign of malignancy Acroosteolysis Trimethylaminuria inappropriate ADH syndrome Sydenham's chorea myopathy, lactic acidosis, and sideroblastic anemia temtamy preaxial brachydactyly syndrome Schwannomatosis Thygeson's superficial punctate keratopathy ablepharon macrostomia syndrome tic disorder Bart-Pumphrey syndrome Cannabinoid hyperemesis syndrome Psoriatic erythroderma hereditary multiple exostoses dysentery xanthomatosis Postanesthetic shivering Intermittent hydrarthrosis Marfan syndrome secondary hypertrophic osteoarthropathy exanthem poikiloderma with neutropenia
Gilles de la Tourette syndrome, portal hypertension and peripheral artery disease are min number of diseases or medical signs a symtom of
Gilles de la Tourette syndrome portal hypertension peripheral artery disease
action argmin
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) ?h WHERE { VALUES ( ?g ) { ( ontology:disease ) ( ontology:medical_sign ) } . ?k rdf:type ?g } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?a WHERE { { ?a property:symptoms ?l . ?l rdf:type ontology:disease . ?a rdf:type ontology:health_problem } UNION { ?a property:symptoms ?l . ?l rdf:type ontology:medical_sign . ?a rdf:type ontology:health_problem } } GROUP BY ?a } . FILTER ( ?y = ?i ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q2057971 Q191067 Q2342494
USER
Which health problems were exactly 1 articles or collectables mainly about ?
(c(Q191067)|c(Q2342494),P921,c(Q2057971))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q191067
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q2342494
value 1
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) ?p WHERE { { ?b property:P921 ?p . ?p rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P921 ?p . ?p rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q191067 } } GROUP BY ?p } . FILTER ( ?q = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type article
action find_reverse_tuple_counts
relation main subject
type health problem
type collectable
value 1
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) ?p WHERE { { ?b property:main_subject ?p . ?p rdf:type ontology:health_problem . ?b rdf:type ontology:collectable } UNION { ?b property:main_subject ?p . ?p rdf:type ontology:health_problem . ?b rdf:type ontology:article } } GROUP BY ?p } . FILTER ( ?q = 1 ) }
[]
health problem article collectable
Q41571 Q133823 Q12199
SYSTEM
epilepsy, migraine, acquired immunodeficiency syndrome
Q3339235 Q191779 Q1369020 Q41571 Q42844 Q182413 Q12199 Q133823 Q8282
(c(Q191067)|c(Q2342494),P921,c(Q2057971))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q191067
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q2342494
value 1
[ANSWERS] were exactly 1 articles or collectables mainly about
[[{'concept': 'Q191067'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) ?p WHERE { { ?b property:P921 ?p . ?p rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P921 ?p . ?p rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q191067 } } GROUP BY ?p } . FILTER ( ?q = 1 ) }
nervous system disease Gilles de la Tourette syndrome von Economo's disease epilepsy major depressive disorder substance dependence acquired immunodeficiency syndrome migraine Addison's disease
Epilepsy, migraine and acquired immunodeficiency syndrome were exactly 1 articles or collectables mainly about
epilepsy migraine acquired immunodeficiency syndrome
action equal
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type article
action find_reverse_tuple_counts
relation main subject
type health problem
type collectable
value 1
[[{'concept': 'article'}, {'concept': 'collectable'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) ?p WHERE { { ?b property:main_subject ?p . ?p rdf:type ontology:health_problem . ?b rdf:type ontology:collectable } UNION { ?b property:main_subject ?p . ?p rdf:type ontology:health_problem . ?b rdf:type ontology:article } } GROUP BY ?p } . FILTER ( ?q = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1542
Q2057971 Q10675206 Q2424752
USER
Which health problems are caused by around 1 ingredients and products ?
(c(Q10675206)|c(Q2424752),P1542,c(Q2057971))
action approx
action union
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q10675206
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q2424752
value 1
[[{'concept': 'Q10675206'}, {'concept': 'Q2424752'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?w WHERE { { ?b property:P1542 ?w . ?w rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q2424752 } UNION { ?w rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q10675206 . ?b property:P1542 ?w } } GROUP BY ?w } . FILTER ( ?g = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation cause of
type health problem
type ingredient
action find_reverse_tuple_counts
relation cause of
type health problem
type product
value 1
[[{'concept': 'ingredient'}, {'concept': 'product'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?w WHERE { { ?b property:cause_of ?w . ?w rdf:type ontology:health_problem . ?b rdf:type ontology:product } UNION { ?w rdf:type ontology:health_problem . ?b rdf:type ontology:ingredient . ?b property:cause_of ?w } } GROUP BY ?w } . FILTER ( ?g = 1 ) }
[]
health problem ingredient product
Q2373361 Q7157933 Q4413030
SYSTEM
nut allergy, peanut allergy, wheat allergy
Q7157933 Q2373361 Q4413030 Q576179 Q970203
(c(Q10675206)|c(Q2424752),P1542,c(Q2057971))
action approx
action union
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q10675206
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q2424752
value 1
[ANSWERS] are caused by around 1 ingredients and products
[[{'concept': 'Q10675206'}, {'concept': 'Q2424752'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?w WHERE { { ?b property:P1542 ?w . ?w rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q2424752 } UNION { ?w rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q10675206 . ?b property:P1542 ?w } } GROUP BY ?w } . FILTER ( ?g = 1 ) }
peanut allergy nut allergy wheat allergy egg allergy milk allergy
Nut allergy, peanut allergy and wheat allergy are caused by around 1 ingredients and products
nut allergy peanut allergy wheat allergy
action approx
action union
action find_reverse_tuple_counts
relation cause of
type health problem
type ingredient
action find_reverse_tuple_counts
relation cause of
type health problem
type product
value 1
[[{'concept': 'ingredient'}, {'concept': 'product'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?w WHERE { { ?b property:cause_of ?w . ?w rdf:type ontology:health_problem . ?b rdf:type ontology:product } UNION { ?w rdf:type ontology:health_problem . ?b rdf:type ontology:ingredient . ?b property:cause_of ?w } } GROUP BY ?w } . FILTER ( ?g = 1 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P828
Q223557 Q2057971
USER
How many health problems are caused by approximately the same number of physical objects as that health problem ?
(c(Q2057971),P828,c(Q223557))
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P828 ?y . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q223557 }
[{'concept': 'health problem'}, 'has cause', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:has_cause ?y . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:physical_object }
[]
physical object health problem
Comparative|Count over More/Less|Single entity type|Clarification
Q4413030
SYSTEM
Did you mean wheat allergy ?
(c(Q2057971),P828,c(Q223557))
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P828 ?y . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q223557 }
Did you mean wheat allergy ?
wheat allergy
[{'concept': 'health problem'}, 'has cause', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:has_cause ?y . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:physical_object }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2057971),P828,c(Q223557))
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q223557'}]
[{'concept': 'health problem'}, 'has cause', {'concept': 'physical object'}]
[]
SYSTEM
348
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 Q190564 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 Q21082526 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 Q200779 Q931323 Q353172 Q2090711 Q18558169 Q2741820 Q481392 Q1432397 Q3049302 Q129104 Q18554767 Q18555290 Q18553170 Q42982 Q842169 Q8071861 Q47912 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 Q34879 Q970203 Q682798 Q18928086 Q2840 Q18975229 Q949694 Q1339986 Q4736375 Q154865 Q5182155 Q16918398 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 Q18553742 Q298278 Q1128440 Q506616 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(Q223557))
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P828 ?y . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q223557 }
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 Huntington's disease 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 chromosomal duplication syndrome 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 genetic disease 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 lung cancer 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 Staphylococcal infection milk allergy bejel Tahyna virus encephalitis influenza Newcastle disease amebiasis encephalitozoonosis Alternariosis botulism Craniotabes chromosomal deletion syndrome 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 chromosomal disease esophageal varix toxic shock syndrome drowning 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
348
[{'concept': 'health problem'}, 'has cause', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:has_cause ?y . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:physical_object }
[]