Simple Question (Direct)
Simple Question
Q11133250
P1412
Q34770
USER
Which language is John White capable of writing ?
(Q11133250,P1412,c(Q34770))
action filter_type
action find
entity Q11133250
relation P1412
type Q34770
['Q11133250', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q11133250 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
John White
action filter_type
action find
entity John White
relation languages spoken, written or signed
type language
['John White', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:John_White property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q11133250,P1412,c(Q34770))
action filter_type
action find
entity Q11133250
relation P1412
type Q34770
Is [ANSWER] is John White capable of writing
['Q11133250', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q11133250 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
English
Is English is John White capable of writing
English
action filter_type
action find
entity John White
relation languages spoken, written or signed
type language
['John White', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:John_White property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11133250
P19
Q56061
USER
Which administrative territory was John White born at ?
(Q11133250,P19,c(Q56061))
action filter_type
action find
entity Q11133250
relation P19
type Q56061
['Q11133250', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q11133250 property:P19 ?a . ?a rdf:type ontology:Q56061 }
John White
action filter_type
action find
entity John White
relation place of birth
type administrative territorial entity
['John White', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:John_White property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q24826
SYSTEM
Liverpool
Q24826
(Q11133250,P19,c(Q56061))
action filter_type
action find
entity Q11133250
relation P19
type Q56061
John White was born in [ANSWER]
['Q11133250', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q11133250 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Liverpool
John White was born in Liverpool
Liverpool
action filter_type
action find
entity John White
relation place of birth
type administrative territorial entity
['John White', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:John_White property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11133250
P1050
Q2057971
USER
Which health problems do John White have ?
(Q11133250,P1050,c(Q2057971))
action filter_type
action find
entity Q11133250
relation P1050
type Q2057971
['Q11133250', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { resource:Q11133250 property:P1050 ?y . ?y rdf:type ontology:Q2057971 }
John White
action filter_type
action find
entity John White
relation medical condition
type health problem
['John White', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { resource:John_White property:medical_condition ?y . ?y rdf:type ontology:health_problem }
[]
health problem
Q11081 Q190805
SYSTEM
Alzheimer's disease, heart disease
Q11081 Q190805
(Q11133250,P1050,c(Q2057971))
action filter_type
action find
entity Q11133250
relation P1050
type Q2057971
John White have diagnosed [ANSWERS]
['Q11133250', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { resource:Q11133250 property:P1050 ?y . ?y rdf:type ontology:Q2057971 }
Alzheimer's disease heart disease
John White have diagnosed Alzheimer's disease and heart disease
Alzheimer's disease heart disease
action filter_type
action find
entity John White
relation medical condition
type health problem
['John White', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { resource:John_White property:medical_condition ?y . ?y rdf:type ontology:health_problem }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4458967
Q2057971
USER
And what about Petro Tkachenko?
(Q4458967,P1050,c(Q2057971))
action filter_type
action find
entity Q4458967
relation P1050
type Q2057971
['Q4458967', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2057971 . resource:Q4458967 property:P1050 ?g }
Petro Tkachenko
action filter_type
action find
entity Petro Tkachenko
relation medical condition
type health problem
['Petro Tkachenko', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:health_problem . resource:Petro_Tkachenko property:medical_condition ?g }
[]
health problem
Q10874
SYSTEM
blindness
Q10874
(Q4458967,P1050,c(Q2057971))
action filter_type
action find
entity Q4458967
relation P1050
type Q2057971
[ANSWER]
['Q4458967', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2057971 . resource:Q4458967 property:P1050 ?g }
blindness
blindness
action filter_type
action find
entity Petro Tkachenko
relation medical condition
type health problem
['Petro Tkachenko', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:health_problem . resource:Petro_Tkachenko property:medical_condition ?g }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18553216
P828
Q2057971 Q2057971
USER
Which health problems are caused by greater number of health problems than intestinal botulism ?
(c(Q2057971),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action count
action filter_type
action find
entity Q18553216
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?r ) WHERE { ?o property:P828 ?h . ?h rdf:type ontology:Q2057971 . ?o rdf:type ontology:Q2057971 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q18553216 property:P828 ?m . ?m rdf:type ontology:Q2057971 } } . FILTER ( ?r > ?y ) }
intestinal botulism
action greater
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity intestinal botulism
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?r ) WHERE { ?o property:has_cause ?h . ?h rdf:type ontology:health_problem . ?o rdf:type ontology:health_problem } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:intestinal_botulism property:has_cause ?m . ?m rdf:type ontology:health_problem } } . FILTER ( ?r > ?y ) }
[]
health problem health problem
Q47912 Q147778 Q127724
SYSTEM
lung cancer, liver cirrhosis, cataract
Q147778 Q623031 Q52856 Q127724 Q19972185 Q18555052 Q5038165 Q1097957 Q3153686 Q16831900 Q124604 Q4366062 Q4797639 Q1713499 Q16242812 Q1693598 Q1890194 Q1016605 Q18557427 Q7205992 Q2339038 Q18395602 Q2933021 Q16775468 Q1409081 Q1724539 Q6279182 Q585011 Q3089469 Q47912 Q14375936 Q9376235 Q17126040 Q18558134 Q632522 Q4651856 Q7850856 Q18554229 Q5182155 Q3508771 Q3108587 Q298278 Q826522 Q18558124 Q18554306
(c(Q2057971),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action count
action filter_type
action find
entity Q18553216
relation P828
type Q2057971
[ANSWERS] are caused by greater number of health problems than intestinal botulism
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?r ) WHERE { ?o property:P828 ?h . ?h rdf:type ontology:Q2057971 . ?o rdf:type ontology:Q2057971 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q18553216 property:P828 ?m . ?m rdf:type ontology:Q2057971 } } . FILTER ( ?r > ?y ) }
liver cirrhosis liver cancer Diabetic foot cataract Tubo-ovarian abscess malt worker's lung Carcinoma ex-pleomorphic adenoma intermittent claudication Toluene toxicity intracranial hypotension portal hypertension Pneumococcal infection arthritis mutilans megaesophagus Amalgam tattoo nasopharynx carcinoma nutritional deficiency disease Burkitt lymphoma pancreatic cholera Pneumococcal pneumonia Neurogenic bladder Vitreous touch syndrome caffeine intoxication elephantiasis fetal nicotine spectrum disorder Congenital rubella syndrome epileptic seizure Antley-Bixler syndrome sequelae lung cancer hyperinsulinism endolymphatic hydrops Transfusion associated circulatory overload exposure keratitis bacteriuria AIDS-related lymphoma pericardial tuberculosis kernicterus due to isoimmunization Craniotabes neuro-anemia syndrome pigmentary glaucoma esophageal varix thyroid cancer allergic asthma endocrine exophthalmos
Lung cancer, liver cirrhosis and cataract are caused by greater number of health problems than intestinal botulism
lung cancer liver cirrhosis cataract
action greater
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity intestinal botulism
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?r ) WHERE { ?o property:has_cause ?h . ?h rdf:type ontology:health_problem . ?o rdf:type ontology:health_problem } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:intestinal_botulism property:has_cause ?m . ?m rdf:type ontology:health_problem } } . FILTER ( ?r > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2741820
P828
Q2057971 Q2057971
USER
And also tell me about Omsk hemorrhagic fever?
(c(Q2057971),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action count
action filter_type
action find
entity Q2741820
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?o ) WHERE { ?w property:P828 ?q . ?w rdf:type ontology:Q2057971 . ?q rdf:type ontology:Q2057971 } GROUP BY ?w } . FILTER ( ?o > ?m ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ontology:Q2057971 . resource:Q2741820 property:P828 ?i } } }
Omsk hemorrhagic fever
action greater
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity Omsk hemorrhagic fever
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?o ) WHERE { ?w property:has_cause ?q . ?w rdf:type ontology:health_problem . ?q rdf:type ontology:health_problem } GROUP BY ?w } . FILTER ( ?o > ?m ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ontology:health_problem . resource:Omsk_hemorrhagic_fever property:has_cause ?i } } }
[]
health problem health problem
Q47912 Q147778 Q127724
SYSTEM
lung cancer, liver cirrhosis, cataract
Q147778 Q623031 Q52856 Q127724 Q19972185 Q18555052 Q5038165 Q1097957 Q3153686 Q16831900 Q124604 Q4366062 Q4797639 Q1713499 Q16242812 Q1693598 Q1890194 Q1016605 Q18557427 Q7205992 Q2339038 Q18395602 Q2933021 Q16775468 Q1409081 Q1724539 Q6279182 Q585011 Q3089469 Q47912 Q14375936 Q9376235 Q17126040 Q18558134 Q632522 Q4651856 Q7850856 Q18554229 Q5182155 Q3508771 Q3108587 Q298278 Q826522 Q18558124 Q18554306
(c(Q2057971),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q2057971
type Q2057971
action count
action filter_type
action find
entity Q2741820
relation P828
type Q2057971
[ANSWERS]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?o ) WHERE { ?w property:P828 ?q . ?w rdf:type ontology:Q2057971 . ?q rdf:type ontology:Q2057971 } GROUP BY ?w } . FILTER ( ?o > ?m ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ontology:Q2057971 . resource:Q2741820 property:P828 ?i } } }
liver cirrhosis liver cancer Diabetic foot cataract Tubo-ovarian abscess malt worker's lung Carcinoma ex-pleomorphic adenoma intermittent claudication Toluene toxicity intracranial hypotension portal hypertension Pneumococcal infection arthritis mutilans megaesophagus Amalgam tattoo nasopharynx carcinoma nutritional deficiency disease Burkitt lymphoma pancreatic cholera Pneumococcal pneumonia Neurogenic bladder Vitreous touch syndrome caffeine intoxication elephantiasis fetal nicotine spectrum disorder Congenital rubella syndrome epileptic seizure Antley-Bixler syndrome sequelae lung cancer hyperinsulinism endolymphatic hydrops Transfusion associated circulatory overload exposure keratitis bacteriuria AIDS-related lymphoma pericardial tuberculosis kernicterus due to isoimmunization Craniotabes neuro-anemia syndrome pigmentary glaucoma esophageal varix thyroid cancer allergic asthma endocrine exophthalmos
lung cancer liver cirrhosis cataract
action greater
action find_tuple_counts
relation has cause
type health problem
type health problem
action count
action filter_type
action find
entity Omsk hemorrhagic fever
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?o ) WHERE { ?w property:has_cause ?q . ?w rdf:type ontology:health_problem . ?q rdf:type ontology:health_problem } GROUP BY ?w } . FILTER ( ?o > ?m ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ontology:health_problem . resource:Omsk_hemorrhagic_fever property:has_cause ?i } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2035019
P828
Q2057971 Q3839081
USER
How many disasters are the result of having less number of health problems than 1854 Broad Street cholera outbreak ?
(c(Q3839081),P828,c(Q2057971))
action count
action less
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
action count
action filter_type
action find
entity Q2035019
relation P828
type Q2057971
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?h ) WHERE { ?l property:P828 ?i . ?i rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q3839081 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q2035019 property:P828 ?g . ?g rdf:type ontology:Q2057971 } } . FILTER ( ?h < ?y ) }
1854 Broad Street cholera outbreak
action count
action less
action find_tuple_counts
relation has cause
type disaster
type health problem
action count
action filter_type
action find
entity 1854 Broad Street cholera outbreak
relation has cause
type health problem
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?h ) WHERE { ?l property:has_cause ?i . ?i rdf:type ontology:health_problem . ?l rdf:type ontology:disaster } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:1854_Broad_Street_cholera_outbreak property:has_cause ?g . ?g rdf:type ontology:health_problem } } . FILTER ( ?h < ?y ) }
[]
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 less
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
action count
action filter_type
action find
entity Q2035019
relation P828
type Q2057971
[ANSWER]
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?h ) WHERE { ?l property:P828 ?i . ?i rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q3839081 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q2035019 property:P828 ?g . ?g rdf:type ontology:Q2057971 } } . FILTER ( ?h < ?y ) }
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 less
action find_tuple_counts
relation has cause
type disaster
type health problem
action count
action filter_type
action find
entity 1854 Broad Street cholera outbreak
relation has cause
type health problem
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?h ) WHERE { ?l property:has_cause ?i . ?i rdf:type ontology:health_problem . ?l rdf:type ontology:disaster } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:1854_Broad_Street_cholera_outbreak property:has_cause ?g . ?g rdf:type ontology:health_problem } } . FILTER ( ?h < ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3589133
P828
Q2057971 Q3839081
USER
And what about chikungunya epidemic on Réunion?
(c(Q3839081),P828,c(Q2057971))
action count
action less
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
action count
action filter_type
action find
entity Q3589133
relation P828
type Q2057971
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?q ) WHERE { ?m property:P828 ?e . ?m rdf:type ontology:Q3839081 . ?e rdf:type ontology:Q2057971 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q3589133 property:P828 ?n . ?n rdf:type ontology:Q2057971 } } . FILTER ( ?q < ?a ) }
chikungunya epidemic on Réunion
action count
action less
action find_tuple_counts
relation has cause
type disaster
type health problem
action count
action filter_type
action find
entity chikungunya epidemic on Réunion
relation has cause
type health problem
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?q ) WHERE { ?m property:has_cause ?e . ?m rdf:type ontology:disaster . ?e rdf:type ontology:health_problem } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:chikungunya_epidemic_on_Réunion property:has_cause ?n . ?n rdf:type ontology:health_problem } } . FILTER ( ?q < ?a ) }
[]
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 less
action find_tuple_counts
relation P828
type Q3839081
type Q2057971
action count
action filter_type
action find
entity Q3589133
relation P828
type Q2057971
[ANSWER]
[{'concept': 'Q3839081'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?q ) WHERE { ?m property:P828 ?e . ?m rdf:type ontology:Q3839081 . ?e rdf:type ontology:Q2057971 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q3589133 property:P828 ?n . ?n rdf:type ontology:Q2057971 } } . FILTER ( ?q < ?a ) }
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 less
action find_tuple_counts
relation has cause
type disaster
type health problem
action count
action filter_type
action find
entity chikungunya epidemic on Réunion
relation has cause
type health problem
[{'concept': 'disaster'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?q ) WHERE { ?m property:has_cause ?e . ?m rdf:type ontology:disaster . ?e rdf:type ontology:health_problem } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:chikungunya_epidemic_on_Réunion property:has_cause ?n . ?n rdf:type ontology:health_problem } } . FILTER ( ?q < ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24826
P119
Q502895
USER
Which person has Liverpool as place of burial ?
(c(Q502895),P119,Q24826)
action filter_type
action find_reverse
entity Q24826
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q24826']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P119 resource:Q24826 }
Liverpool
action filter_type
action find_reverse
entity Liverpool
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Liverpool']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:place_of_burial resource:Liverpool }
[]
common name
Q8017387
SYSTEM
William Rathbone
Q8017387
(c(Q502895),P119,Q24826)
action filter_type
action find_reverse
entity Q24826
relation P119
type Q502895
[ANSWER] has Liverpool as place of burial
[{'concept': 'Q502895'}, 'P119', 'Q24826']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P119 resource:Q24826 }
William Rathbone
William Rathbone has Liverpool as place of burial
William Rathbone
action filter_type
action find_reverse
entity Liverpool
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Liverpool']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:place_of_burial resource:Liverpool }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8017387
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q8017387,P102,c(Q7210356))
action filter_type
action find
entity Q8017387
relation P102
type Q7210356
['Q8017387', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q7210356 . resource:Q8017387 property:P102 ?t }
William Rathbone
action filter_type
action find
entity William Rathbone
relation member of political party
type political organization
['William Rathbone', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_organization . resource:William_Rathbone property:member_of_political_party ?t }
[]
political organization
Q622441
SYSTEM
Liberal Party
Q622441
(Q8017387,P102,c(Q7210356))
action filter_type
action find
entity Q8017387
relation P102
type Q7210356
The [ANSWER] is that person a member of
['Q8017387', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q7210356 . resource:Q8017387 property:P102 ?t }
Liberal Party
The Liberal Party is that person a member of
Liberal Party
action filter_type
action find
entity William Rathbone
relation member of political party
type political organization
['William Rathbone', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_organization . resource:William_Rathbone property:member_of_political_party ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q622441
P1142
Q1047113
USER
What are the political ideology of that one ?
(Q622441,P1142,c(Q1047113))
action filter_type
action find
entity Q622441
relation P1142
type Q1047113
['Q622441', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?c WHERE { resource:Q622441 property:P1142 ?c . ?c rdf:type ontology:Q1047113 }
Liberal Party
action filter_type
action find
entity Liberal Party
relation political ideology
type special field
['Liberal Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?c WHERE { resource:Liberal_Party property:political_ideology ?c . ?c rdf:type ontology:special_field }
[]
special field
Q6216 Q794394
SYSTEM
liberalism, classical liberalism
Q6216 Q794394
(Q622441,P1142,c(Q1047113))
action filter_type
action find
entity Q622441
relation P1142
type Q1047113
The political ideology of that one are national [ANSWERS]
['Q622441', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?c WHERE { resource:Q622441 property:P1142 ?c . ?c rdf:type ontology:Q1047113 }
liberalism classical liberalism
The political ideology of that one are national liberalism and classical liberalism
liberalism classical liberalism
action filter_type
action find
entity Liberal Party
relation political ideology
type special field
['Liberal Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?c WHERE { resource:Liberal_Party property:political_ideology ?c . ?c rdf:type ontology:special_field }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q13182758
P1142
Q7210356
USER
Do Nepal Janabhavana Party have the ideology as those special fields ?
(Q13182758,P1142,Q6216) (Q13182758,P1142,Q794394)
action is_in
entity prev_answer
action find
entity Q13182758
relation P1142
['Q13182758', 'P1142', 'Q6216'] ['Q13182758', 'P1142', 'Q794394']
ASK WHERE { VALUES ( ?w ) { ( resource:Q6216 ) ( resource:Q794394 ) } . resource:Q13182758 property:P1142 ?w }
Nepal Janabhavana Party
action is_in
entity prev_answer
action find
entity Nepal Janabhavana Party
relation political ideology
['Nepal Janabhavana Party', 'political ideology', 'liberalism'] ['Nepal Janabhavana Party', 'political ideology', 'classical liberalism']
ASK WHERE { VALUES ( ?w ) { ( resource:liberalism ) ( resource:classical_liberalism ) } . resource:Nepal_Janabhavana_Party property:political_ideology ?w }
[]
political organization
SYSTEM
NO
(Q13182758,P1142,Q6216) (Q13182758,P1142,Q794394)
action is_in
entity prev_answer
action find
entity Q13182758
relation P1142
[ANSWER]
['Q13182758', 'P1142', 'Q6216'] ['Q13182758', 'P1142', 'Q794394']
ASK WHERE { VALUES ( ?w ) { ( resource:Q6216 ) ( resource:Q794394 ) } . resource:Q13182758 property:P1142 ?w }
No
action is_in
entity prev_answer
action find
entity Nepal Janabhavana Party
relation political ideology
['Nepal Janabhavana Party', 'political ideology', 'liberalism'] ['Nepal Janabhavana Party', 'political ideology', 'classical liberalism']
ASK WHERE { VALUES ( ?w ) { ( resource:liberalism ) ( resource:classical_liberalism ) } . resource:Nepal_Janabhavana_Party property:political_ideology ?w }
[]