Simple Question (Direct)
Simple Question
Q246903
P1196
Q1931388
USER
What situation did Enéas Carneiro die in ?
(Q246903,P1196,c(Q1931388))
action filter_type
action find
entity Q246903
relation P1196
type Q1931388
['Q246903', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?a WHERE { resource:Q246903 property:P1196 ?a . ?a rdf:type ontology:Q1931388 }
Enéas Carneiro
action filter_type
action find
entity Enéas Carneiro
relation manner of death
type cause of death
['Enéas Carneiro', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?a WHERE { resource:Enéas_Carneiro property:manner_of_death ?a . ?a rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q246903,P1196,c(Q1931388))
action filter_type
action find
entity Q246903
relation P1196
type Q1931388
Enéas Carneiro died of [ANSWER]
['Q246903', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?a WHERE { resource:Q246903 property:P1196 ?a . ?a rdf:type ontology:Q1931388 }
natural causes
Enéas Carneiro died of natural causes
natural causes
action filter_type
action find
entity Enéas Carneiro
relation manner of death
type cause of death
['Enéas Carneiro', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?a WHERE { resource:Enéas_Carneiro property:manner_of_death ?a . ?a rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q246903
P488
Q7210356
USER
Which political organization does Enéas Carneiro serve as a chairman for ?
(c(Q7210356),P488,Q246903)
action filter_type
action find_reverse
entity Q246903
relation P488
type Q7210356
[{'concept': 'Q7210356'}, 'P488', 'Q246903']
SELECT DISTINCT ?y WHERE { ?y property:P488 resource:Q246903 . ?y rdf:type ontology:Q7210356 }
Enéas Carneiro
action filter_type
action find_reverse
entity Enéas Carneiro
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Enéas Carneiro']
SELECT DISTINCT ?y WHERE { ?y property:chairperson resource:Enéas_Carneiro . ?y rdf:type ontology:political_organization }
[]
political organization
Q1636064
SYSTEM
Party of the Reconstruction of the National Order
Q1636064
(c(Q7210356),P488,Q246903)
action filter_type
action find_reverse
entity Q246903
relation P488
type Q7210356
Enéas Carneiro serves as a chairman for the [ANSWER]
[{'concept': 'Q7210356'}, 'P488', 'Q246903']
SELECT DISTINCT ?y WHERE { ?y property:P488 resource:Q246903 . ?y rdf:type ontology:Q7210356 }
Party of the Reconstruction of the National Order
Enéas Carneiro serves as a chairman for the Party of the Reconstruction of the National Order
Party of the Reconstruction of the National Order
action filter_type
action find_reverse
entity Enéas Carneiro
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Enéas Carneiro']
SELECT DISTINCT ?y WHERE { ?y property:chairperson resource:Enéas_Carneiro . ?y rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q246903
P509
Q2057971
USER
Which health problem was the cause of death of Enéas Carneiro ?
(Q246903,P509,c(Q2057971))
action filter_type
action find
entity Q246903
relation P509
type Q2057971
['Q246903', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { resource:Q246903 property:P509 ?r . ?r rdf:type ontology:Q2057971 }
Enéas Carneiro
action filter_type
action find
entity Enéas Carneiro
relation cause of death
type health problem
['Enéas Carneiro', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { resource:Enéas_Carneiro property:cause_of_death ?r . ?r rdf:type ontology:health_problem }
[]
health problem
Q29496
SYSTEM
leukemia
Q29496
(Q246903,P509,c(Q2057971))
action filter_type
action find
entity Q246903
relation P509
type Q2057971
[ANSWER] was the cause of death of Enéas Carneiro
['Q246903', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { resource:Q246903 property:P509 ?r . ?r rdf:type ontology:Q2057971 }
leukemia
Leukemia was the cause of death of Enéas Carneiro
leukemia
action filter_type
action find
entity Enéas Carneiro
relation cause of death
type health problem
['Enéas Carneiro', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { resource:Enéas_Carneiro property:cause_of_death ?r . ?r rdf:type ontology:health_problem }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q29496 Q185916
P2176
Q8386
USER
Is fludarabine phosphate used to cure that health problem ?
(Q29496,P2176,Q185916)
action is_in
entity Q185916
action find
entity Q29496
relation P2176
['Q29496', 'P2176', 'Q185916']
ASK WHERE { resource:Q29496 property:P2176 resource:Q185916 }
leukemia fludarabine phosphate
action is_in
entity fludarabine phosphate
action find
entity leukemia
relation drug used for treatment
['leukemia', 'drug used for treatment', 'fludarabine phosphate']
ASK WHERE { resource:leukemia property:drug_used_for_treatment resource:fludarabine_phosphate }
[]
drug
SYSTEM
YES
(Q29496,P2176,Q185916)
action is_in
entity Q185916
action find
entity Q29496
relation P2176
[ANSWER]
['Q29496', 'P2176', 'Q185916']
ASK WHERE { resource:Q29496 property:P2176 resource:Q185916 }
Yes
action is_in
entity fludarabine phosphate
action find
entity leukemia
relation drug used for treatment
['leukemia', 'drug used for treatment', 'fludarabine phosphate']
ASK WHERE { resource:leukemia property:drug_used_for_treatment resource:fludarabine_phosphate }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P780
Q2057971 Q12136 Q2057971
USER
How many health problems are symptoms of exactly 1 diseases and health problems ?
(c(Q12136)|c(Q2057971),P780,c(Q2057971))
action count
action equal
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
value 1
[[{'concept': 'Q12136'}, {'concept': 'Q2057971'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?g ) { ( ontology:Q12136 ) ( ontology:Q2057971 ) } . ?t rdf:type ?g } GROUP BY ?n } . FILTER ( ?f = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
value 1
[[{'concept': 'disease'}, {'concept': 'health problem'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?g ) { ( ontology:disease ) ( ontology:health_problem ) } . ?t rdf:type ?g } GROUP BY ?n } . FILTER ( ?f = 1 ) }
[]
health problem disease health problem
SYSTEM
67
Q334655 Q5572555 Q6279182 Q10874 Q166019 Q854573 Q1435822 Q1123139 Q1114480 Q16775468 Q156103 Q17142318 Q2088392 Q2074059 Q21513416 Q2988775 Q938107 Q838139 Q219223 Q207855 Q1384176 Q852376 Q12167 Q13452408 Q18553790 Q3108583 Q5375429 Q794026 Q4597494 Q189956 Q4676384 Q939364 Q229256 Q896643 Q18557427 Q5289085 Q2610084 Q1054718 Q2339038 Q361648 Q2836 Q189470 Q671776 Q1356194 Q369148 Q7562539 Q16831900 Q2844600 Q339221 Q751641 Q9376235 Q1334541 Q16874615 Q15401621 Q576349 Q322370 Q496812 Q595010 Q41861 Q18966290 Q79928 Q4118166 Q1269320 Q224513 Q2046811 Q557552 Q81867
(c(Q12136)|c(Q2057971),P780,c(Q2057971))
action count
action equal
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
value 1
[ANSWER]
[[{'concept': 'Q12136'}, {'concept': 'Q2057971'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?g ) { ( ontology:Q12136 ) ( ontology:Q2057971 ) } . ?t rdf:type ?g } GROUP BY ?n } . FILTER ( ?f = 1 ) }
amenorrhea glycerol kinase deficiency epileptic seizure blindness bleeding acute pancreatitis neutropenia Ketosis finger agnosia elephantiasis gastroenteritis pterygium migratory thrombophlebitis Oculomotor apraxia hemorrhagic diarrhea heart conduction disease hypogonadism ventricular septal defect lactose intolerance amblyopia exostosis seizure malnutrition neuropathy dry eye syndrome anterior segment mesenchymal dysgenesis Enchondromatosis Azoospermia intestinal atresia aphthous stomatitis Acroosteolysis congenital heart disease dermatitis brachydactyly pancreatic cholera dolichostenomelia sideroblastic anemia kidney disease Neurogenic bladder Double outlet right ventricle aphasia Fistula mutism Ectopia cordis neurilemmoma facial paralysis intracranial hypotension muscular atrophy Gynecomastia recurrent hypersomnia endolymphatic hydrops pleural effusion Supravalvar aortic stenosis Trousseau sign of malignancy brain disease ablepharon leukopenia hypertrichosis hypertension delayed separation of umbilical cord acne Polyostotic fibrous dysplasia Dysplastic nevus Precocious puberty simultanagnosia ankyloglossia albino
67
action count
action equal
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
value 1
[[{'concept': 'disease'}, {'concept': 'health problem'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?g ) { ( ontology:disease ) ( ontology:health_problem ) } . ?t rdf:type ?g } GROUP BY ?n } . FILTER ( ?f = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3589134
P828
Q2057971 Q3839081
USER
How many disasters are caused by around the same number of health problems as measles epidemic France 2008 ?
(c(Q3839081),P828,c(Q2057971))
action count
action approx
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
action count
action filter_type
action find
entity Q3589134
relation P828
type Q3839081
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?v ) WHERE { ?l property:P828 ?a . ?a rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q3839081 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Q3589134 property:P828 ?w . ?w rdf:type ontology:Q3839081 } } . FILTER ( ?v = ?s ) }
measles epidemic France 2008
action count
action approx
action find_tuple_counts
relation has cause
type disaster
type health problem
action count
action filter_type
action find
entity measles epidemic France 2008
relation has cause
type disaster
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?v ) WHERE { ?l property:has_cause ?a . ?a rdf:type ontology:health_problem . ?l rdf:type ontology:disaster } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:measles_epidemic_France_2008 property:has_cause ?w . ?w rdf:type ontology:disaster } } . FILTER ( ?v = ?s ) }
[]
health problem disaster
SYSTEM
5
Q1470579 Q3589134 Q3589133 Q2036106 Q2035019
(c(Q3839081),P828,c(Q2057971))
action count
action approx
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
action count
action filter_type
action find
entity Q3589134
relation P828
type Q3839081
[ANSWER]
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?v ) WHERE { ?l property:P828 ?a . ?a rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q3839081 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Q3589134 property:P828 ?w . ?w rdf:type ontology:Q3839081 } } . FILTER ( ?v = ?s ) }
Otter Valley polio epidemic measles epidemic France 2008 chikungunya epidemic on Réunion Polio Epidemic 1916 1854 Broad Street cholera outbreak
5
action count
action approx
action find_tuple_counts
relation has cause
type disaster
type health problem
action count
action filter_type
action find
entity measles epidemic France 2008
relation has cause
type disaster
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?v ) WHERE { ?l property:has_cause ?a . ?a rdf:type ontology:health_problem . ?l rdf:type ontology:disaster } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:measles_epidemic_France_2008 property:has_cause ?w . ?w rdf:type ontology:disaster } } . FILTER ( ?v = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q858734
P828
Q2057971 Q3839081
USER
And how about Superga air disaster?
(c(Q3839081),P828,c(Q2057971))
action count
action approx
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
action count
action filter_type
action find
entity Q858734
relation P828
type Q3839081
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q858734 property:P828 ?r . ?r rdf:type ontology:Q3839081 } } . FILTER ( ?w = ?t ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?w ) WHERE { ?i property:P828 ?b . ?i rdf:type ontology:Q3839081 . ?b rdf:type ontology:Q2057971 } GROUP BY ?i } }
Superga air disaster
action count
action approx
action find_tuple_counts
relation has cause
type disaster
type health problem
action count
action filter_type
action find
entity Superga air disaster
relation has cause
type disaster
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Superga_air_disaster property:has_cause ?r . ?r rdf:type ontology:disaster } } . FILTER ( ?w = ?t ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?w ) WHERE { ?i property:has_cause ?b . ?i rdf:type ontology:disaster . ?b rdf:type ontology:health_problem } GROUP BY ?i } }
[]
health problem disaster
SYSTEM
20
Q783597 Q671297 Q1582992 Q18147604 Q5150534 Q4919790 Q3960716 Q251039 Q171178 Q858734 Q7672526 Q977367 Q223288 Q2475745 Q11890853 Q11971365 Q8068 Q381183 Q5587844 Q858145
(c(Q3839081),P828,c(Q2057971))
action count
action approx
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
action count
action filter_type
action find
entity Q858734
relation P828
type Q3839081
[ANSWER]
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q858734 property:P828 ?r . ?r rdf:type ontology:Q3839081 } } . FILTER ( ?w = ?t ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?w ) WHERE { ?i property:P828 ?b . ?i rdf:type ontology:Q3839081 . ?b rdf:type ontology:Q2057971 } GROUP BY ?i } }
American Airlines Flight 1420 1983 West Bank fainting epidemic Tanganyika laughter epidemic Aero Flight 217 Comandante Ferraz Antarctic Base fire Thai Airways International Flight 311 Silvertown explosion US Airways Flight 1549 Fukushima nuclear accident Superga air disaster TWA Flight 841 chemical accident Tenerife airport disaster Siberia Airlines Flight 1812 1978 Finnish Air Force DC-3 crash Førdesveten plane crash flood Aero Flight 311 Gothenburg discothèque fire Space Shuttle Challenger disaster
20
action count
action approx
action find_tuple_counts
relation has cause
type disaster
type health problem
action count
action filter_type
action find
entity Superga air disaster
relation has cause
type disaster
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Superga_air_disaster property:has_cause ?r . ?r rdf:type ontology:disaster } } . FILTER ( ?w = ?t ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?w ) WHERE { ?i property:has_cause ?b . ?i rdf:type ontology:disaster . ?b rdf:type ontology:health_problem } GROUP BY ?i } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29496
P101
Q502895
USER
Which person has specialisation in leukemia ?
(c(Q502895),P101,Q29496)
action filter_type
action find_reverse
entity Q29496
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q29496']
SELECT DISTINCT ?j WHERE { ?j property:P101 resource:Q29496 . ?j rdf:type ontology:Q502895 }
leukemia
action filter_type
action find_reverse
entity leukemia
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'leukemia']
SELECT DISTINCT ?j WHERE { ?j property:field_of_work resource:leukemia . ?j rdf:type ontology:common_name }
[]
common name
Q22680027
SYSTEM
Dottie Thomas
Q22680027
(c(Q502895),P101,Q29496)
action filter_type
action find_reverse
entity Q29496
relation P101
type Q502895
[ANSWER] has specialisation in leukemia
[{'concept': 'Q502895'}, 'P101', 'Q29496']
SELECT DISTINCT ?j WHERE { ?j property:P101 resource:Q29496 . ?j rdf:type ontology:Q502895 }
Dottie Thomas
Dottie Thomas has specialisation in leukemia
Dottie Thomas
action filter_type
action find_reverse
entity leukemia
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'leukemia']
SELECT DISTINCT ?j WHERE { ?j property:field_of_work resource:leukemia . ?j rdf:type ontology:common_name }
[]