Simple Question (Direct)
Simple Question
Q260128
P22
Q502895
USER
Which person was the father of María Cayetana de Silva, 13th Duchess of Alba ?
(Q260128,P22,c(Q502895))
action filter_type
action find
entity Q260128
relation P22
type Q502895
['Q260128', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q260128 property:P22 ?s . ?s rdf:type ontology:Q502895 }
María Cayetana de Silva, 13th Duchess of Alba
action filter_type
action find
entity María Cayetana de Silva, 13th Duchess of Alba
relation father
type common name
['María Cayetana de Silva, 13th Duchess of Alba', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:María_Cayetana_de_Silva,_13th_Duchess_of_Alba property:father ?s . ?s rdf:type ontology:common_name }
[]
common name
Q5868114
SYSTEM
Francisco de Paula de Silva y Álvarez de Toledo
Q5868114
(Q260128,P22,c(Q502895))
action filter_type
action find
entity Q260128
relation P22
type Q502895
De [ANSWER] was the father of María Cayetana de Silva, 13th Duchess of Alba
['Q260128', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q260128 property:P22 ?s . ?s rdf:type ontology:Q502895 }
Francisco de Paula de Silva y Álvarez de Toledo
De Francisco de Paula de Silva y Álvarez de Toledo was the father of María Cayetana de Silva, 13th Duchess of Alba
Francisco de Paula de Silva y Álvarez de Toledo
action filter_type
action find
entity María Cayetana de Silva, 13th Duchess of Alba
relation father
type common name
['María Cayetana de Silva, 13th Duchess of Alba', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:María_Cayetana_de_Silva,_13th_Duchess_of_Alba property:father ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q260128
P509
Q2057971
USER
What was the cause of death of María Cayetana de Silva, 13th Duchess of Alba ?
(Q260128,P509,c(Q2057971))
action filter_type
action find
entity Q260128
relation P509
type Q2057971
['Q260128', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2057971 . resource:Q260128 property:P509 ?z }
María Cayetana de Silva, 13th Duchess of Alba
action filter_type
action find
entity María Cayetana de Silva, 13th Duchess of Alba
relation cause of death
type health problem
['María Cayetana de Silva, 13th Duchess of Alba', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:health_problem . resource:María_Cayetana_de_Silva,_13th_Duchess_of_Alba property:cause_of_death ?z }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q260128,P509,c(Q2057971))
action filter_type
action find
entity Q260128
relation P509
type Q2057971
The cause of death of María Cayetana de Silva , 13th Duchess of Alba was of [ANSWER]
['Q260128', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2057971 . resource:Q260128 property:P509 ?z }
tuberculosis
The cause of death of María Cayetana de Silva , 13th Duchess of Alba was of tuberculosis
tuberculosis
action filter_type
action find
entity María Cayetana de Silva, 13th Duchess of Alba
relation cause of death
type health problem
['María Cayetana de Silva, 13th Duchess of Alba', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:health_problem . resource:María_Cayetana_de_Silva,_13th_Duchess_of_Alba property:cause_of_death ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7363585
Q2057971
USER
And also tell me about Ron Burton?
(Q7363585,P509,c(Q2057971))
action filter_type
action find
entity Q7363585
relation P509
type Q2057971
['Q7363585', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { resource:Q7363585 property:P509 ?s . ?s rdf:type ontology:Q2057971 }
Ron Burton
action filter_type
action find
entity Ron Burton
relation cause of death
type health problem
['Ron Burton', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { resource:Ron_Burton property:cause_of_death ?s . ?s rdf:type ontology:health_problem }
[]
health problem
Q18554919
SYSTEM
bone cancer
Q18554919
(Q7363585,P509,c(Q2057971))
action filter_type
action find
entity Q7363585
relation P509
type Q2057971
[ANSWER]
['Q7363585', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { resource:Q7363585 property:P509 ?s . ?s rdf:type ontology:Q2057971 }
bone cancer
bone cancer
action filter_type
action find
entity Ron Burton
relation cause of death
type health problem
['Ron Burton', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { resource:Ron_Burton property:cause_of_death ?s . ?s rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7363585
P1196
Q1931388
USER
What situation did that person die in ?
(Q18554919,P1196,c(Q1931388))
action filter_type
action find
entity Q7363585
relation P1196
type Q1931388
['Q18554919', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1931388 . resource:Q7363585 property:P1196 ?g }
Ron Burton
action filter_type
action find
entity Ron Burton
relation manner of death
type cause of death
['bone cancer', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:cause_of_death . resource:Ron_Burton property:manner_of_death ?g }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q18554919,P1196,c(Q1931388))
action filter_type
action find
entity Q7363585
relation P1196
type Q1931388
That person died in [ANSWER]
['Q18554919', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1931388 . resource:Q7363585 property:P1196 ?g }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Ron Burton
relation manner of death
type cause of death
['bone cancer', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:cause_of_death . resource:Ron_Burton property:manner_of_death ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q260128
P40
Q502895
USER
How many people have María Cayetana de Silva, 13th Duchess of Alba as a child ?
(c(Q502895),P40,Q260128)
action count
action filter_type
action find_reverse
entity Q260128
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q260128']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P40 resource:Q260128 . ?a rdf:type ontology:Q502895 }
María Cayetana de Silva, 13th Duchess of Alba
action count
action filter_type
action find_reverse
entity María Cayetana de Silva, 13th Duchess of Alba
relation child
type common name
[{'concept': 'common name'}, 'child', 'María Cayetana de Silva, 13th Duchess of Alba']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:child resource:María_Cayetana_de_Silva,_13th_Duchess_of_Alba . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q5997471 Q5868114
(c(Q502895),P40,Q260128)
action count
action filter_type
action find_reverse
entity Q260128
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q260128']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P40 resource:Q260128 . ?a rdf:type ontology:Q502895 }
Mariana de Silva-Bazán y Sarmiento Francisco de Paula de Silva y Álvarez de Toledo
2
action count
action filter_type
action find_reverse
entity María Cayetana de Silva, 13th Duchess of Alba
relation child
type common name
[{'concept': 'common name'}, 'child', 'María Cayetana de Silva, 13th Duchess of Alba']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:child resource:María_Cayetana_de_Silva,_13th_Duchess_of_Alba . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11599337
P21
Q290
USER
What is the sex of Prince Takeda Tsunetada ?
(Q11599337,P21,c(Q290))
action filter_type
action find
entity Q11599337
relation P21
type Q290
['Q11599337', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q11599337 property:P21 ?w }
Prince Takeda Tsunetada
action filter_type
action find
entity Prince Takeda Tsunetada
relation gender
type sex
['Prince Takeda Tsunetada', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Prince_Takeda_Tsunetada property:gender ?w }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11599337,P21,c(Q290))
action filter_type
action find
entity Q11599337
relation P21
type Q290
The sex of Prince Takeda Tsunetada is the [ANSWER]
['Q11599337', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q11599337 property:P21 ?w }
male
The sex of Prince Takeda Tsunetada is the male
male
action filter_type
action find
entity Prince Takeda Tsunetada
relation gender
type sex
['Prince Takeda Tsunetada', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Prince_Takeda_Tsunetada property:gender ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12204
P828
Q16521
USER
What is the cause of tuberculosis ?
(Q12204,P828,c(Q16521))
action filter_type
action find
entity Q12204
relation P828
type Q16521
['Q12204', 'P828', {'concept': 'Q16521'}]
SELECT DISTINCT ?g WHERE { resource:Q12204 property:P828 ?g . ?g rdf:type ontology:Q16521 }
tuberculosis
action filter_type
action find
entity tuberculosis
relation has cause
type taxon
['tuberculosis', 'has cause', {'concept': 'taxon'}]
SELECT DISTINCT ?g WHERE { resource:tuberculosis property:has_cause ?g . ?g rdf:type ontology:taxon }
[]
taxon
Q130971
SYSTEM
Mycobacterium tuberculosis
Q130971
(Q12204,P828,c(Q16521))
action filter_type
action find
entity Q12204
relation P828
type Q16521
The cause of tuberculosis is [ANSWER]
['Q12204', 'P828', {'concept': 'Q16521'}]
SELECT DISTINCT ?g WHERE { resource:Q12204 property:P828 ?g . ?g rdf:type ontology:Q16521 }
Mycobacterium tuberculosis
The cause of tuberculosis is Mycobacterium tuberculosis
Mycobacterium tuberculosis
action filter_type
action find
entity tuberculosis
relation has cause
type taxon
['tuberculosis', 'has cause', {'concept': 'taxon'}]
SELECT DISTINCT ?g WHERE { resource:tuberculosis property:has_cause ?g . ?g rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q130971
P1542
Q2057971
USER
What does that taxon result in ?
(Q130971,P1542,c(Q2057971))
action filter_type
action find
entity Q130971
relation P1542
type Q2057971
['Q130971', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { resource:Q130971 property:P1542 ?a . ?a rdf:type ontology:Q2057971 }
Mycobacterium tuberculosis
action filter_type
action find
entity Mycobacterium tuberculosis
relation cause of
type health problem
['Mycobacterium tuberculosis', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { resource:Mycobacterium_tuberculosis property:cause_of ?a . ?a rdf:type ontology:health_problem }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q130971,P1542,c(Q2057971))
action filter_type
action find
entity Q130971
relation P1542
type Q2057971
That taxon results in [ANSWER]
['Q130971', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { resource:Q130971 property:P1542 ?a . ?a rdf:type ontology:Q2057971 }
tuberculosis
That taxon results in tuberculosis
tuberculosis
action filter_type
action find
entity Mycobacterium tuberculosis
relation cause of
type health problem
['Mycobacterium tuberculosis', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { resource:Mycobacterium_tuberculosis property:cause_of ?a . ?a rdf:type ontology:health_problem }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21973551
Q2057971
USER
And also tell me about sulfur mustard exposure?
(Q21973551,P1542,c(Q2057971))
action filter_type
action find
entity Q21973551
relation P1542
type Q2057971
['Q21973551', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2057971 . resource:Q21973551 property:P1542 ?s }
sulfur mustard exposure
action filter_type
action find
entity sulfur mustard exposure
relation cause of
type health problem
['sulfur mustard exposure', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:health_problem . resource:sulfur_mustard_exposure property:cause_of ?s }
[]
health problem
Q29496 Q47912 Q585285
SYSTEM
leukemia, lung cancer, thrombocytopenia
Q5445 Q468433 Q279330 Q12135 Q47912 Q585285 Q173022 Q32446 Q29496 Q192102 Q864868 Q21109885
(Q21973551,P1542,c(Q2057971))
action filter_type
action find
entity Q21973551
relation P1542
type Q2057971
[ANSWERS]
['Q21973551', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2057971 . resource:Q21973551 property:P1542 ?s }
anemia anosmia bronchial disease mental disorder lung cancer thrombocytopenia bronchitis pulmonary fibrosis leukemia skin cancer bone marrow suppression chronic respiratory disease
leukemia lung cancer thrombocytopenia
action filter_type
action find
entity sulfur mustard exposure
relation cause of
type health problem
['sulfur mustard exposure', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:health_problem . resource:sulfur_mustard_exposure property:cause_of ?s }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q2057971 Q2057971
USER
Which health problems are caused by atmost 3 health problems ?
(c(Q2057971),P828,c(Q2057971))
action atmost
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
value 3
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?r ) WHERE { ?u property:P828 ?o . ?u rdf:type ontology:Q2057971 . ?o rdf:type ontology:Q2057971 } GROUP BY ?u } . FILTER ( ?r <= 3 ) }
action atmost
action find_tuple_counts
relation has cause
type health problem
type health problem
value 3
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?r ) WHERE { ?u property:has_cause ?o . ?u rdf:type ontology:health_problem . ?o rdf:type ontology:health_problem } GROUP BY ?u } . FILTER ( ?r <= 3 ) }
[]
health problem health problem
Q18556697 Q12214 Q19597369
SYSTEM
human immunodeficiency virus infectious disease, smallpox, Gram-negative bacterial infection
Q18553237 Q18553236 Q3591496 Q18553231 Q2042205 Q7157933 Q18553239 Q18553238 Q18556697 Q2447562 Q3091959 Q3776920 Q3381802 Q18553933 Q12656487 Q694552 Q2700304 Q2845432 Q316180 Q863725 Q147778 Q623031 Q1856914 Q646664 Q4958833 Q2140729 Q3541798 Q16006998 Q4867062 Q992139 Q327005 Q52856 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 Q5506384 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(Q2057971))
action atmost
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
value 3
[ANSWERS] are caused by atmost 3 health problems
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?r ) WHERE { ?u property:P828 ?o . ?u rdf:type ontology:Q2057971 . ?o rdf:type ontology:Q2057971 } GROUP BY ?u } . FILTER ( ?r <= 3 ) }
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 fruit allergy 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
Human immunodeficiency virus infectious disease, smallpox and Gram-negative bacterial infection are caused by atmost 3 health problems
human immunodeficiency virus infectious disease smallpox Gram-negative bacterial infection
action atmost
action find_tuple_counts
relation has cause
type health problem
type health problem
value 3
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?r ) WHERE { ?u property:has_cause ?o . ?u rdf:type ontology:health_problem . ?o rdf:type ontology:health_problem } GROUP BY ?u } . FILTER ( ?r <= 3 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q952736
P3091
Q502895 Q3745054 Q502895
USER
How many people use approximately the same number of people or horse breeds as steed as Nelson Pessoa ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q952736
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q952736 property:P3091 ?y . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q3745054 } } } } . FILTER ( ?z = ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?d WHERE { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } GROUP BY ?d } }
Nelson Pessoa
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Nelson Pessoa
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Nelson_Pessoa property:mount ?y . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:horse_breed } } } } . FILTER ( ?z = ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?d WHERE { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:common_name ) ( ontology:horse_breed ) } } GROUP BY ?d } }
[]
common name horse breed common name
SYSTEM
19
Q69084 Q358777 Q235022 Q3087038 Q14912896 Q3591240 Q3169911 Q952736 Q2287454 Q1617291 Q60968 Q1277320 Q6369922 Q1985582 Q1930899 Q175930 Q673136 Q62253 Q3308301
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q952736
relation P3091
type Q502895
type Q3745054
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q952736 property:P3091 ?y . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q3745054 } } } } . FILTER ( ?z = ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?d WHERE { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } GROUP BY ?d } }
Paul Schockemöhle Yves Saint-Martin Anky van Grunsven Freddy Head Bassem Hassan Mohammed Éric Levallois Jean-René Gougeon Nelson Pessoa Simon Delestre Pierre Durand, Jr. Ludger Beerbaum Roger-Yves Bost Karen O'Connor Nick Skelton Michel Robert Ian Millar Steve Guerdat Meredith Michaels-Beerbaum Michael Kinane
19
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Nelson Pessoa
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Nelson_Pessoa property:mount ?y . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:horse_breed } } } } . FILTER ( ?z = ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?d WHERE { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:common_name ) ( ontology:horse_breed ) } } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2162566
P3091
Q502895 Q3745054 Q502895
USER
And what about Ryan Moore?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q2162566
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?p WHERE { { ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q502895 . ?p property:P3091 ?o } UNION { ?p property:P3091 ?o . ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q3745054 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Q2162566 property:P3091 ?w . { { ?w rdf:type ontology:Q3745054 } UNION { ?w rdf:type ontology:Q502895 } } } } . FILTER ( ?s = ?z ) }
Ryan Moore
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Ryan Moore
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?p WHERE { { ?p rdf:type ontology:common_name . ?o rdf:type ontology:common_name . ?p property:mount ?o } UNION { ?p property:mount ?o . ?p rdf:type ontology:common_name . ?o rdf:type ontology:horse_breed } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Ryan_Moore property:mount ?w . { { ?w rdf:type ontology:horse_breed } UNION { ?w rdf:type ontology:common_name } } } } . FILTER ( ?s = ?z ) }
[]
common name horse breed common name
SYSTEM
53
Q71451 Q64650 Q186164 Q7934379 Q262338 Q2965770 Q1038847 Q20240956 Q364502 Q3081121 Q25906162 Q355148 Q3035045 Q3351282 Q678324 Q151754 Q997380 Q84536 Q3056396 Q207535 Q2941011 Q3565906 Q942215 Q3385955 Q249233 Q364920 Q2162566 Q3573625 Q450267 Q2577320 Q4351964 Q317846 Q3501998 Q840001 Q3167944 Q6409976 Q3299860 Q19630255 Q444585 Q34479 Q312391 Q1061259 Q2041036 Q2966249 Q1739026 Q1081174 Q16104944 Q5908769 Q967780 Q488277 Q1332346 Q3147326 Q454614
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q2162566
relation P3091
type Q502895
type Q3745054
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?p WHERE { { ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q502895 . ?p property:P3091 ?o } UNION { ?p property:P3091 ?o . ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q3745054 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Q2162566 property:P3091 ?w . { { ?w rdf:type ontology:Q3745054 } UNION { ?w rdf:type ontology:Q502895 } } } } . FILTER ( ?s = ?z ) }
Franke Sloothaak Ingrid Klimke Pippa Funnell Virginia Leng Nicole Uphoff Criquette Head-Maarek Carl Hester Arnaud Serre David O'Connor Kieren Fallon Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Olivier Peslier Jorma Kontio Anne, Princess Royal Yutaka Take Hugo Simon Eric Saint-Martin Roland Cash Asmussen Walter Swinburn Jean-Claude Van Geenberghe Pierre Levesque Kristina Sprehe Bruce Davidson Ryan Moore Yves Dreux Nadine Capellmann Wilhelm Melliger Björn Goop Lü Bu Stéphane Pasquier Christophe Soumillon Jean-Michel Bazire Kimberly Severson Matthieu Abrivard Léopold Verroken Ulla Salzgeber Hirohito Philippe Leclerc de Hauteclocque Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Gérald Mossé Michael Page Örjan Kihlström Franck Nivard Jan Tops Mark Todd Ian Stark Fritz Ligges
53
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Ryan Moore
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) ?p WHERE { { ?p rdf:type ontology:common_name . ?o rdf:type ontology:common_name . ?p property:mount ?o } UNION { ?p property:mount ?o . ?p rdf:type ontology:common_name . ?o rdf:type ontology:horse_breed } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Ryan_Moore property:mount ?w . { { ?w rdf:type ontology:horse_breed } UNION { ?w rdf:type ontology:common_name } } } } . FILTER ( ?s = ?z ) }
[]