Simple Question (Direct)
Simple Question
Q2412464
P20
Q56061
USER
Where did Léon Matagne die ?
(Q2412464,P20,c(Q56061))
action filter_type
action find
entity Q2412464
relation P20
type Q56061
['Q2412464', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q2412464 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Léon Matagne
action filter_type
action find
entity Léon Matagne
relation place of death
type administrative territorial entity
['Léon Matagne', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Léon_Matagne property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q81046
SYSTEM
Charleroi
Q81046
(Q2412464,P20,c(Q56061))
action filter_type
action find
entity Q2412464
relation P20
type Q56061
Léon Matagne died in [ANSWER]
['Q2412464', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q2412464 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Charleroi
Léon Matagne died in Charleroi
Charleroi
action filter_type
action find
entity Léon Matagne
relation place of death
type administrative territorial entity
['Léon Matagne', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Léon_Matagne property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q81046
P6
Q502895
USER
Which people are the head of government of that administrative territory ?
(Q81046,P6,c(Q502895))
action filter_type
action find
entity Q81046
relation P6
type Q502895
['Q81046', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q81046 property:P6 ?b }
Charleroi
action filter_type
action find
entity Charleroi
relation head of government
type common name
['Charleroi', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Charleroi property:head_of_government ?b }
[]
common name
Q3265541 Q1684787 Q3591262
SYSTEM
Lucien Harmegnies, Jean-Claude Van Cauwenberghe, Éric Massin
Q3265541 Q731064 Q3591262 Q1341556 Q2308278 Q1684787 Q2471058
(Q81046,P6,c(Q502895))
action filter_type
action find
entity Q81046
relation P6
type Q502895
[ANSWERS] are the head of government of that administrative territory
['Q81046', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q81046 property:P6 ?b }
Lucien Harmegnies Léon Casaert Éric Massin Paul Magnette Jacques Van Gompel Jean-Claude Van Cauwenberghe Jean-Jacques Viseur
Lucien Harmegnies, Jean-Claude Van Cauwenberghe and Éric Massin are the head of government of that administrative territory
Lucien Harmegnies Jean-Claude Van Cauwenberghe Éric Massin
action filter_type
action find
entity Charleroi
relation head of government
type common name
['Charleroi', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Charleroi property:head_of_government ?b }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3265541 Q1684787 Q3591262
P6
Q56061
USER
Which administrative territories have their government headed by Lucien Harmegnies, Jean-Claude Van Cauwenberghe and Éric Massin ?
(c(Q56061),P6,Q3265541) (c(Q56061),P6,Q1684787) (c(Q56061),P6,Q3591262)
action union
action filter_type
action find_reverse
entity Q3265541
relation P6
type Q56061
action filter_type
action find_reverse
entity Q1684787
relation P6
type Q56061
action filter_type
action find_reverse
entity Q3591262
relation P6
type Q56061
[{'concept': 'Q56061'}, 'P6', 'Q3265541'] [{'concept': 'Q56061'}, 'P6', 'Q1684787'] [{'concept': 'Q56061'}, 'P6', 'Q3591262']
SELECT DISTINCT ?z WHERE { VALUES ( ?m ) { ( resource:Q1684787 ) ( resource:Q3265541 ) } . ?z property:P6 ?m }
Lucien Harmegnies Jean-Claude Van Cauwenberghe Éric Massin
action union
action filter_type
action find_reverse
entity Lucien Harmegnies
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Jean-Claude Van Cauwenberghe
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Éric Massin
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Lucien Harmegnies'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Jean-Claude Van Cauwenberghe'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Éric Massin']
SELECT DISTINCT ?z WHERE { VALUES ( ?m ) { ( resource:Jean-Claude_Van_Cauwenberghe ) ( resource:Lucien_Harmegnies ) } . ?z property:head_of_government ?m }
[]
administrative territorial entity
Q81046
SYSTEM
Charleroi
Q81046
(c(Q56061),P6,Q3265541) (c(Q56061),P6,Q1684787) (c(Q56061),P6,Q3591262)
action union
action filter_type
action find_reverse
entity Q3265541
relation P6
type Q56061
action filter_type
action find_reverse
entity Q1684787
relation P6
type Q56061
action filter_type
action find_reverse
entity Q3591262
relation P6
type Q56061
[ANSWER] have their government headed by Lucien Harmegnies, Jean-Claude Van Cauwenberghe and Éric Massin
[{'concept': 'Q56061'}, 'P6', 'Q3265541'] [{'concept': 'Q56061'}, 'P6', 'Q1684787'] [{'concept': 'Q56061'}, 'P6', 'Q3591262']
SELECT DISTINCT ?z WHERE { VALUES ( ?m ) { ( resource:Q1684787 ) ( resource:Q3265541 ) } . ?z property:P6 ?m }
Charleroi
Charleroi have their government headed by Lucien Harmegnies, Jean-Claude Van Cauwenberghe and Éric Massin
Charleroi
action union
action filter_type
action find_reverse
entity Lucien Harmegnies
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Jean-Claude Van Cauwenberghe
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Éric Massin
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Lucien Harmegnies'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Jean-Claude Van Cauwenberghe'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Éric Massin']
SELECT DISTINCT ?z WHERE { VALUES ( ?m ) { ( resource:Jean-Claude_Van_Cauwenberghe ) ( resource:Lucien_Harmegnies ) } . ?z property:head_of_government ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q81046
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q81046,P17,c(Q15617994))
action filter_type
action find
entity Q81046
relation P17
type Q15617994
['Q81046', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q81046 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Charleroi
action filter_type
action find
entity Charleroi
relation country
type designation for an administrative territorial entity
['Charleroi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Charleroi property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q81046,P17,c(Q15617994))
action filter_type
action find
entity Q81046
relation P17
type Q15617994
That administrative territory is of [ANSWER]
['Q81046', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q81046 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Belgium
That administrative territory is of Belgium
Belgium
action filter_type
action find
entity Charleroi
relation country
type designation for an administrative territorial entity
['Charleroi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Charleroi property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18355844
Q15617994
USER
And how about Schaffer, Kansas?
(Q18355844,P17,c(Q15617994))
action filter_type
action find
entity Q18355844
relation P17
type Q15617994
['Q18355844', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q18355844 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Schaffer, Kansas
action filter_type
action find
entity Schaffer, Kansas
relation country
type designation for an administrative territorial entity
['Schaffer, Kansas', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Schaffer,_Kansas property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q18355844,P17,c(Q15617994))
action filter_type
action find
entity Q18355844
relation P17
type Q15617994
[ANSWER]
['Q18355844', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q18355844 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Schaffer, Kansas
relation country
type designation for an administrative territorial entity
['Schaffer, Kansas', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Schaffer,_Kansas property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q94929
P47
Q15617994
USER
Is Lizzano in Belvedere adjacent to that one ?
(Q30,P47,Q94929)
action is_in
entity Q94929
action find
entity Q30
relation P47
['Q30', 'P47', 'Q94929']
ASK WHERE { resource:Q30 property:P47 resource:Q94929 }
United States of America Lizzano in Belvedere
action is_in
entity Lizzano in Belvedere
action find
entity United States of America
relation shares border with
['United States of America', 'shares border with', 'Lizzano in Belvedere']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Lizzano_in_Belvedere }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q30,P47,Q94929)
action is_in
entity Q94929
action find
entity Q30
relation P47
[ANSWER]
['Q30', 'P47', 'Q94929']
ASK WHERE { resource:Q30 property:P47 resource:Q94929 }
No
action is_in
entity Lizzano in Belvedere
action find
entity United States of America
relation shares border with
['United States of America', 'shares border with', 'Lizzano in Belvedere']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Lizzano_in_Belvedere }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P6
Q502895
USER
How many people have United States of America as their heads of government ?
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q30 property:P6 ?l . ?l rdf:type ontology:Q502895 }
United States of America
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:United_States_of_America property:head_of_government ?l . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q30 property:P6 ?l . ?l rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
44
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:United_States_of_America property:head_of_government ?l . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q300856
Q502895
USER
And what about Aalborg Municipality?
(Q300856,P6,c(Q502895))
action count
action filter_type
action find
entity Q300856
relation P6
type Q502895
['Q300856', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q300856 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Aalborg Municipality
action count
action filter_type
action find
entity Aalborg Municipality
relation head of government
type common name
['Aalborg Municipality', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Aalborg_Municipality property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q300856,P6,c(Q502895))
action count
action filter_type
action find
entity Q300856
relation P6
type Q502895
[ANSWER]
['Q300856', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q300856 property:P6 ?e . ?e rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Aalborg Municipality
relation head of government
type common name
['Aalborg Municipality', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Aalborg_Municipality property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]