Simple Question (Direct)
Simple Question
Q21134307
P703
Q16521
USER
Which taxon is Serpin B9 found in ?
(Q21134307,P703,c(Q16521))
action filter_type
action find
entity Q21134307
relation P703
type Q16521
['Q21134307', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?n WHERE { resource:Q21134307 property:P703 ?n . ?n rdf:type ontology:Q16521 }
Serpin B9
action filter_type
action find
entity Serpin B9
relation found in taxon
type taxon
['Serpin B9', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?n WHERE { resource:Serpin_B9 property:found_in_taxon ?n . ?n rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21134307,P703,c(Q16521))
action filter_type
action find
entity Q21134307
relation P703
type Q16521
Serpin B9 is found in [ANSWER]
['Q21134307', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?n WHERE { resource:Q21134307 property:P703 ?n . ?n rdf:type ontology:Q16521 }
Homo sapiens
Serpin B9 is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Serpin B9
relation found in taxon
type taxon
['Serpin B9', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?n WHERE { resource:Serpin_B9 property:found_in_taxon ?n . ?n rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15978631
P689
Q2057971
USER
What can afflict that taxon ?
(c(Q2057971),P689,Q15978631)
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
[{'concept': 'Q2057971'}, 'P689', 'Q15978631']
SELECT DISTINCT ?m WHERE { ?m property:P689 resource:Q15978631 . ?m 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 ?m WHERE { ?m property:afflicts resource:Homo_sapiens . ?m 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 that taxon
[{'concept': 'Q2057971'}, 'P689', 'Q15978631']
SELECT DISTINCT ?m WHERE { ?m property:P689 resource:Q15978631 . ?m rdf:type ontology:Q2057971 }
Aicardi syndrome
Aicardi syndrome can afflict that taxon
Aicardi syndrome
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens']
SELECT DISTINCT ?m WHERE { ?m property:afflicts resource:Homo_sapiens . ?m rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15978631
P427
Q3343211
USER
What is the taxonomic type of Homo sapiens ?
(Q15978631,P427,c(Q3343211))
action filter_type
action find
entity Q15978631
relation P427
type Q3343211
['Q15978631', 'P427', {'concept': 'Q3343211'}]
SELECT DISTINCT ?x WHERE { resource:Q15978631 property:P427 ?x . ?x rdf:type ontology:Q3343211 }
Homo sapiens
action filter_type
action find
entity Homo sapiens
relation taxonomic type
type zoological nomenclature
['Homo sapiens', 'taxonomic type', {'concept': 'zoological nomenclature'}]
SELECT DISTINCT ?x WHERE { resource:Homo_sapiens property:taxonomic_type ?x . ?x rdf:type ontology:zoological_nomenclature }
[]
zoological nomenclature
Q1043
SYSTEM
Carl Linnaeus
Q1043
(Q15978631,P427,c(Q3343211))
action filter_type
action find
entity Q15978631
relation P427
type Q3343211
The taxonomic type of Homo sapiens is named [ANSWER]
['Q15978631', 'P427', {'concept': 'Q3343211'}]
SELECT DISTINCT ?x WHERE { resource:Q15978631 property:P427 ?x . ?x rdf:type ontology:Q3343211 }
Carl Linnaeus
The taxonomic type of Homo sapiens is named Carl Linnaeus
Carl Linnaeus
action filter_type
action find
entity Homo sapiens
relation taxonomic type
type zoological nomenclature
['Homo sapiens', 'taxonomic type', {'concept': 'zoological nomenclature'}]
SELECT DISTINCT ?x WHERE { resource:Homo_sapiens property:taxonomic_type ?x . ?x rdf:type ontology:zoological_nomenclature }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1055079
Q3343211
USER
And what about Cereus hexagonus?
(Q1055079,P427,c(Q3343211))
action filter_type
action find
entity Q1055079
relation P427
type Q3343211
['Q1055079', 'P427', {'concept': 'Q3343211'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q3343211 . resource:Q1055079 property:P427 ?h }
Cereus hexagonus
action filter_type
action find
entity Cereus hexagonus
relation taxonomic type
type zoological nomenclature
['Cereus hexagonus', 'taxonomic type', {'concept': 'zoological nomenclature'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:zoological_nomenclature . resource:Cereus_hexagonus property:taxonomic_type ?h }
[]
zoological nomenclature
Q19359631
SYSTEM
Cereus sirinamensis - plate 8 in Trew 1733
Q19359631
(Q1055079,P427,c(Q3343211))
action filter_type
action find
entity Q1055079
relation P427
type Q3343211
[ANSWER]
['Q1055079', 'P427', {'concept': 'Q3343211'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q3343211 . resource:Q1055079 property:P427 ?h }
Cereus sirinamensis - plate 8 in Trew 1733
Cereus sirinamensis - plate 8 in Trew 1733
action filter_type
action find
entity Cereus hexagonus
relation taxonomic type
type zoological nomenclature
['Cereus hexagonus', 'taxonomic type', {'concept': 'zoological nomenclature'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:zoological_nomenclature . resource:Cereus_hexagonus property:taxonomic_type ?h }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18966502
P828
Q2057971 Q12136
USER
Which diseases do around the same number of health problems cause as Spirurida infectious disease ?
(c(Q12136),P828,c(Q2057971))
action approx
action find_tuple_counts
relation P828
type Q12136
type Q2057971
action count
action filter_type
action find
entity Q18966502
relation P828
type Q12136
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?r ) WHERE { ?a property:P828 ?n . ?a rdf:type ontology:Q12136 . ?n rdf:type ontology:Q2057971 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Q18966502 property:P828 ?t . ?t rdf:type ontology:Q12136 } } . FILTER ( ?r = ?y ) }
Spirurida infectious disease
action approx
action find_tuple_counts
relation has cause
type disease
type health problem
action count
action filter_type
action find
entity Spirurida infectious disease
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?r ) WHERE { ?a property:has_cause ?n . ?a rdf:type ontology:disease . ?n rdf:type ontology:health_problem } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Spirurida_infectious_disease property:has_cause ?t . ?t rdf:type ontology:disease } } . FILTER ( ?r = ?y ) }
[]
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 approx
action find_tuple_counts
relation P828
type Q12136
type Q2057971
action count
action filter_type
action find
entity Q18966502
relation P828
type Q12136
[ANSWERS] around the same number of health problems cause as Spirurida infectious disease
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?r ) WHERE { ?a property:P828 ?n . ?a rdf:type ontology:Q12136 . ?n rdf:type ontology:Q2057971 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Q18966502 property:P828 ?t . ?t rdf:type ontology:Q12136 } } . FILTER ( ?r = ?y ) }
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 around the same number of health problems cause as Spirurida infectious disease
lead poisoning Escherichia coli infectious disease carbon monoxide poisoning
action approx
action find_tuple_counts
relation has cause
type disease
type health problem
action count
action filter_type
action find
entity Spirurida infectious disease
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?r ) WHERE { ?a property:has_cause ?n . ?a rdf:type ontology:disease . ?n rdf:type ontology:health_problem } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { resource:Spirurida_infectious_disease property:has_cause ?t . ?t rdf:type ontology:disease } } . FILTER ( ?r = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q922971
P828
Q2057971 Q12136
USER
And what about Acanthamoeba keratitis?
(c(Q12136),P828,c(Q2057971))
action approx
action find_tuple_counts
relation P828
type Q12136
type Q2057971
action count
action filter_type
action find
entity Q922971
relation P828
type Q12136
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?a ) WHERE { ?k rdf:type ontology:Q12136 . ?s rdf:type ontology:Q2057971 . ?k property:P828 ?s } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q922971 property:P828 ?p . ?p rdf:type ontology:Q12136 } } . FILTER ( ?a = ?g ) }
Acanthamoeba keratitis
action approx
action find_tuple_counts
relation has cause
type disease
type health problem
action count
action filter_type
action find
entity Acanthamoeba keratitis
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?a ) WHERE { ?k rdf:type ontology:disease . ?s rdf:type ontology:health_problem . ?k property:has_cause ?s } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Acanthamoeba_keratitis property:has_cause ?p . ?p rdf:type ontology:disease } } . FILTER ( ?a = ?g ) }
[]
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 approx
action find_tuple_counts
relation P828
type Q12136
type Q2057971
action count
action filter_type
action find
entity Q922971
relation P828
type Q12136
[ANSWERS]
[{'concept': 'Q12136'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?a ) WHERE { ?k rdf:type ontology:Q12136 . ?s rdf:type ontology:Q2057971 . ?k property:P828 ?s } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q922971 property:P828 ?p . ?p rdf:type ontology:Q12136 } } . FILTER ( ?a = ?g ) }
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 carbon monoxide poisoning
action approx
action find_tuple_counts
relation has cause
type disease
type health problem
action count
action filter_type
action find
entity Acanthamoeba keratitis
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?a ) WHERE { ?k rdf:type ontology:disease . ?s rdf:type ontology:health_problem . ?k property:has_cause ?s } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Acanthamoeba_keratitis property:has_cause ?p . ?p rdf:type ontology:disease } } . FILTER ( ?a = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q21505506
P780
Q12136 Q1441305 Q2057971
USER
Which health problems are greater number of diseases and medical signs a symtom of than hypophosphatemic nephrolithiasis/osteoporosis 1 ?
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action greater
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q21505506
relation P780
type Q12136
type Q1441305
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q21505506 property:P780 ?m . { VALUES ( ?x ) { ( ontology:Q12136 ) ( ontology:Q1441305 ) } . ?m rdf:type ?x } } } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?u WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q12136 ) ( ontology:Q1441305 ) } } GROUP BY ?u } }
hypophosphatemic nephrolithiasis/osteoporosis 1
action greater
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
action count
action filter_multi_types
action find
entity hypophosphatemic nephrolithiasis/osteoporosis 1
relation symptoms
type disease
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:hypophosphatemic_nephrolithiasis/osteoporosis_1 property:symptoms ?m . { VALUES ( ?x ) { ( ontology:disease ) ( ontology:medical_sign ) } . ?m rdf:type ?x } } } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?u WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:disease ) ( ontology:medical_sign ) } } GROUP BY ?u } }
[]
disease medical sign health problem
Q131755 Q221668 Q212961
SYSTEM
bipolar disorder, acute cystitis, pancreatic cancer
Q2583514 Q154869 Q131755 Q836356 Q721073 Q623031 Q48143 Q2388598 Q6853 Q5432941 Q719656 Q39222 Q3508705 Q1198391 Q190564 Q156103 Q127724 Q209733 Q12152 Q5526844 Q8071861 Q1077603 Q174651 Q326648 Q30953 Q180266 Q212961 Q6668132 Q47912 Q264118 Q145790 Q221668 Q1981276 Q432396 Q332293 Q133087 Q7165022 Q335555 Q265936 Q29496 Q180664 Q664174 Q2840 Q18557404
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action greater
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q21505506
relation P780
type Q12136
type Q1441305
[ANSWERS] are greater number of diseases and medical signs a symtom of than hypophosphatemic nephrolithiasis/osteoporosis 1
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q21505506 property:P780 ?m . { VALUES ( ?x ) { ( ontology:Q12136 ) ( ontology:Q1441305 ) } . ?m rdf:type ?x } } } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?u WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q12136 ) ( ontology:Q1441305 ) } } GROUP BY ?u } }
Argentine hemorrhagic fever hepatitis C bipolar disorder croup delusional disorder liver cancer meningitis Ollier disease hepatitis B hyperlipoproteinemia type IV fascioliasis rabies Timothy syndrome intracranial aneurysm Huntington's disease gastroenteritis cataract chronic fatigue syndrome myocardial infarction Gastrojejunocolic fistula Zika fever malignant mesothelioma Bálint's syndrome Salmonellosis dengue fever scarlet fever pancreatic cancer Loin pain hematuria syndrome lung cancer acute myeloid leukemia iridocyclitis acute cystitis neuroendocrine tumor achromatopsia carpal tunnel syndrome gout pentalogy of Cantrell Sjögren's syndrome Kawasaki disease leukemia acute lymphocytic leukemia asbestosis influenza peroneal nerve paralysis
Bipolar disorder, acute cystitis and pancreatic cancer are greater number of diseases and medical signs a symtom of than hypophosphatemic nephrolithiasis/osteoporosis 1
bipolar disorder acute cystitis pancreatic cancer
action greater
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
action count
action filter_multi_types
action find
entity hypophosphatemic nephrolithiasis/osteoporosis 1
relation symptoms
type disease
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:hypophosphatemic_nephrolithiasis/osteoporosis_1 property:symptoms ?m . { VALUES ( ?x ) { ( ontology:disease ) ( ontology:medical_sign ) } . ?m rdf:type ?x } } } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?u WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:disease ) ( ontology:medical_sign ) } } GROUP BY ?u } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q18556319
P780
Q12136 Q1441305 Q2057971
USER
And how about sea-blue histiocyte syndrome?
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action greater
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q18556319
relation P780
type Q12136
type Q1441305
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?x ) WHERE { { ?s property:P780 ?d . ?s rdf:type ontology:Q2057971 . ?d rdf:type ontology:Q12136 } UNION { ?s property:P780 ?d . ?s rdf:type ontology:Q2057971 . ?d rdf:type ontology:Q1441305 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Q18556319 property:P780 ?o . { { ?o rdf:type ontology:Q12136 } UNION { ?o rdf:type ontology:Q1441305 } } } } . FILTER ( ?x > ?r ) }
sea-blue histiocyte syndrome
action greater
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
action count
action filter_multi_types
action find
entity sea-blue histiocyte syndrome
relation symptoms
type disease
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?x ) WHERE { { ?s property:symptoms ?d . ?s rdf:type ontology:health_problem . ?d rdf:type ontology:disease } UNION { ?s property:symptoms ?d . ?s rdf:type ontology:health_problem . ?d rdf:type ontology:medical_sign } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:sea-blue_histiocyte_syndrome property:symptoms ?o . { { ?o rdf:type ontology:disease } UNION { ?o rdf:type ontology:medical_sign } } } } . FILTER ( ?x > ?r ) }
[]
disease medical sign health problem
Q131755 Q221668 Q212961
SYSTEM
bipolar disorder, acute cystitis, pancreatic cancer
Q2583514 Q154869 Q131755 Q836356 Q721073 Q623031 Q48143 Q2388598 Q6853 Q5432941 Q719656 Q39222 Q3508705 Q1198391 Q190564 Q156103 Q127724 Q209733 Q12152 Q5526844 Q8071861 Q1077603 Q174651 Q326648 Q30953 Q180266 Q212961 Q6668132 Q47912 Q264118 Q145790 Q221668 Q1981276 Q432396 Q332293 Q133087 Q7165022 Q335555 Q265936 Q29496 Q180664 Q664174 Q2840 Q18557404
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action greater
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q18556319
relation P780
type Q12136
type Q1441305
[ANSWERS]
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?x ) WHERE { { ?s property:P780 ?d . ?s rdf:type ontology:Q2057971 . ?d rdf:type ontology:Q12136 } UNION { ?s property:P780 ?d . ?s rdf:type ontology:Q2057971 . ?d rdf:type ontology:Q1441305 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Q18556319 property:P780 ?o . { { ?o rdf:type ontology:Q12136 } UNION { ?o rdf:type ontology:Q1441305 } } } } . FILTER ( ?x > ?r ) }
Argentine hemorrhagic fever hepatitis C bipolar disorder croup delusional disorder liver cancer meningitis Ollier disease hepatitis B hyperlipoproteinemia type IV fascioliasis rabies Timothy syndrome intracranial aneurysm Huntington's disease gastroenteritis cataract chronic fatigue syndrome myocardial infarction Gastrojejunocolic fistula Zika fever malignant mesothelioma Bálint's syndrome Salmonellosis dengue fever scarlet fever pancreatic cancer Loin pain hematuria syndrome lung cancer acute myeloid leukemia iridocyclitis acute cystitis neuroendocrine tumor achromatopsia carpal tunnel syndrome gout pentalogy of Cantrell Sjögren's syndrome Kawasaki disease leukemia acute lymphocytic leukemia asbestosis influenza peroneal nerve paralysis
bipolar disorder acute cystitis pancreatic cancer
action greater
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
action count
action filter_multi_types
action find
entity sea-blue histiocyte syndrome
relation symptoms
type disease
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?x ) WHERE { { ?s property:symptoms ?d . ?s rdf:type ontology:health_problem . ?d rdf:type ontology:disease } UNION { ?s property:symptoms ?d . ?s rdf:type ontology:health_problem . ?d rdf:type ontology:medical_sign } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:sea-blue_histiocyte_syndrome property:symptoms ?o . { { ?o rdf:type ontology:disease } UNION { ?o rdf:type ontology:medical_sign } } } } . FILTER ( ?x > ?r ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q131755 Q221668 Q212961
P2176
Q8386
USER
Which drugs are prescribed for bipolar disorder, acute cystitis and pancreatic cancer ?
(Q131755,P2176,c(Q8386)) (Q221668,P2176,c(Q8386)) (Q212961,P2176,c(Q8386))
action union
action filter_type
action find
entity Q131755
relation P2176
type Q8386
action filter_type
action find
entity Q221668
relation P2176
type Q8386
action filter_type
action find
entity Q212961
relation P2176
type Q8386
['Q131755', 'P2176', {'concept': 'Q8386'}] ['Q221668', 'P2176', {'concept': 'Q8386'}] ['Q212961', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?d WHERE { { resource:Q131755 property:P2176 ?d . ?d rdf:type ontology:Q8386 } UNION { resource:Q221668 property:P2176 ?d . ?d rdf:type ontology:Q8386 } }
bipolar disorder acute cystitis pancreatic cancer
action union
action filter_type
action find
entity bipolar disorder
relation drug used for treatment
type drug
action filter_type
action find
entity acute cystitis
relation drug used for treatment
type drug
action filter_type
action find
entity pancreatic cancer
relation drug used for treatment
type drug
['bipolar disorder', 'drug used for treatment', {'concept': 'drug'}] ['acute cystitis', 'drug used for treatment', {'concept': 'drug'}] ['pancreatic cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?d WHERE { { resource:bipolar_disorder property:drug_used_for_treatment ?d . ?d rdf:type ontology:drug } UNION { resource:acute_cystitis property:drug_used_for_treatment ?d . ?d rdf:type ontology:drug } }
[]
drug
Q251347 Q670131 Q424940
SYSTEM
haloperidol, simvastatin, Moxifloxacin
Q907219 Q152763 Q18216 Q201872 Q410346 Q415744 Q670131 Q414873 Q410412 Q58614 Q251347 Q423292 Q412443 Q417689 Q408535 Q407988 Q411188 Q422112 Q221174 Q412486 Q221361 Q410352 Q240642 Q410273 Q1758380 Q1050019 Q1638852 Q2313471 Q348260 Q418725 Q2552927 Q183554 Q367700 Q1639588 Q1639616 Q203618 Q216935 Q3307752 Q20817140 Q2319020 Q422669 Q422482 Q411447 Q2601530 Q412223 Q2736402 Q808845 Q422665 Q7636169 Q422219 Q2878140 Q421713 Q163901 Q418546 Q423787 Q3976824 Q372598 Q417897 Q425152 Q281082 Q244150 Q411417 Q1082945 Q417968 Q424193 Q2365016 Q413728 Q5119441 Q1639595 Q415843 Q2325775 Q415739 Q201928 Q2602246 Q415167 Q424940 Q2555060 Q256602 Q421670 Q2601832 Q419940 Q3891664 Q20801757 Q412197 Q412178 Q4567614 Q420207 Q418560 Q257331 Q421052 Q238512 Q417775 Q905901 Q419935 Q413299 Q2459042 Q416451 Q7914515 Q13896859 Q420436 Q240642 Q7739 Q1187179 Q423762
(Q131755,P2176,c(Q8386)) (Q221668,P2176,c(Q8386)) (Q212961,P2176,c(Q8386))
action union
action filter_type
action find
entity Q131755
relation P2176
type Q8386
action filter_type
action find
entity Q221668
relation P2176
type Q8386
action filter_type
action find
entity Q212961
relation P2176
type Q8386
[ANSWERS] are prescribed for bipolar disorder, acute cystitis and pancreatic cancer
['Q131755', 'P2176', {'concept': 'Q8386'}] ['Q221668', 'P2176', {'concept': 'Q8386'}] ['Q212961', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?d WHERE { { resource:Q131755 property:P2176 ?d . ?d rdf:type ontology:Q8386 } UNION { resource:Q221668 property:P2176 ?d . ?d rdf:type ontology:Q8386 } }
tiagabine Lithium acetylsalicylic acid Olanzapine lamotrigine riluzole simvastatin Isradipine carbamazepine loxapine haloperidol paliperidone risperidone ramelteon quetiapine clonazepam aripiprazole methylphenidate topiramate allopurinol clozapine gabapentin valproic acid Eslicarbazepine acetate Tobramycin Carbenicillin Nafcillin Dicloxacillin Adalimumab Oxacillin Cefepime Fosfomycin Cyclosporine Cinoxacin enoxacin Lomefloxacin lidocaine Mezlocillin Colistimethate cefadroxil Nitrofurantoin gentamicin Ofloxacin Cefamandole Amphotericin B Demeclocycline Ceftazidime Trimethoprim Sulfacytine Cloxacillin Bacampicillin ceftriaxone Cefixime Aztreonam Piperacillin Sulfamethizole Sulfisoxazole Norfloxacin Imipenem Nalidixic Acid Ampicillin cephalexin Ceftizoxime Cefotaxime Levofloxacin Gatifloxacin Cefuroxime cyclacillin Gemifloxacin Sulfamethoxazole cefoperazone Cefazolin Amoxicillin Cefotetan Cefaclor Moxifloxacin Sulfadiazine Ciprofloxacin Meropenem Ticarcillin dasatinib regorafenib Secretin irinotecan tamoxifen mycophenolate mofetil capecitabine ifosfamide Streptozocin Everolimus 5-fluorouracil Panitumumab vorinostat Octreotide Bevacizumab Ipilimumab azacitidine vandetanib Pembrolizumab docetaxel valproic acid Arsenic trioxide Denileukin diftitox Paclitaxel
Haloperidol, simvastatin and Moxifloxacin are prescribed for bipolar disorder, acute cystitis and pancreatic cancer
haloperidol simvastatin Moxifloxacin
action union
action filter_type
action find
entity bipolar disorder
relation drug used for treatment
type drug
action filter_type
action find
entity acute cystitis
relation drug used for treatment
type drug
action filter_type
action find
entity pancreatic cancer
relation drug used for treatment
type drug
['bipolar disorder', 'drug used for treatment', {'concept': 'drug'}] ['acute cystitis', 'drug used for treatment', {'concept': 'drug'}] ['pancreatic cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?d WHERE { { resource:bipolar_disorder property:drug_used_for_treatment ?d . ?d rdf:type ontology:drug } UNION { resource:acute_cystitis property:drug_used_for_treatment ?d . ?d rdf:type ontology:drug } }
[]