Simple Question (Direct)
Simple Question
Q1731930
P20
Q56061
USER
Which administrative territory is the place of death of Karl Klein ?
(Q1731930,P20,c(Q56061))
action filter_type
action find
entity Q1731930
relation P20
type Q56061
['Q1731930', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1731930 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Karl Klein
action filter_type
action find
entity Karl Klein
relation place of death
type administrative territorial entity
['Karl Klein', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Karl_Klein property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1729
SYSTEM
Erfurt
Q1729
(Q1731930,P20,c(Q56061))
action filter_type
action find
entity Q1731930
relation P20
type Q56061
[ANSWER] is the place of death of Karl Klein
['Q1731930', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1731930 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Erfurt
Erfurt is the place of death of Karl Klein
Erfurt
action filter_type
action find
entity Karl Klein
relation place of death
type administrative territorial entity
['Karl Klein', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Karl_Klein property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1731930
P102
Q7278
USER
Which parties do Karl Klein belong to ?
(Q1731930,P102,c(Q7278))
action filter_type
action find
entity Q1731930
relation P102
type Q7278
['Q1731930', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q1731930 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Karl Klein
action filter_type
action find
entity Karl Klein
relation member of political party
type political party
['Karl Klein', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Karl_Klein property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
political party
Q49750 Q49768 Q153401
SYSTEM
Socialist Unity Party of Germany, Social Democratic Party of Germany, Communist Party of Germany
Q49750 Q49768 Q153401
(Q1731930,P102,c(Q7278))
action filter_type
action find
entity Q1731930
relation P102
type Q7278
Karl Klein belong to [ANSWERS]
['Q1731930', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?a WHERE { resource:Q1731930 property:P102 ?a . ?a rdf:type ontology:Q7278 }
Socialist Unity Party of Germany Social Democratic Party of Germany Communist Party of Germany
Karl Klein belong to Socialist Unity Party of Germany, Social Democratic Party of Germany and Communist Party of Germany
Socialist Unity Party of Germany Social Democratic Party of Germany Communist Party of Germany
action filter_type
action find
entity Karl Klein
relation member of political party
type political party
['Karl Klein', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?a WHERE { resource:Karl_Klein property:member_of_political_party ?a . ?a rdf:type ontology:political_party }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4712082
Q7278
USER
And what about Alberto Jarabo Payá?
(Q4712082,P102,c(Q7278))
action filter_type
action find
entity Q4712082
relation P102
type Q7278
['Q4712082', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { resource:Q4712082 property:P102 ?s . ?s rdf:type ontology:Q7278 }
Alberto Jarabo Payá
action filter_type
action find
entity Alberto Jarabo Payá
relation member of political party
type political party
['Alberto Jarabo Payá', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { resource:Alberto_Jarabo_Payá property:member_of_political_party ?s . ?s rdf:type ontology:political_party }
[]
political party
Q2838243
SYSTEM
People's Alliance
Q2838243
(Q4712082,P102,c(Q7278))
action filter_type
action find
entity Q4712082
relation P102
type Q7278
[ANSWER]
['Q4712082', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { resource:Q4712082 property:P102 ?s . ?s rdf:type ontology:Q7278 }
People's Alliance
People's Alliance
action filter_type
action find
entity Alberto Jarabo Payá
relation member of political party
type political party
['Alberto Jarabo Payá', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { resource:Alberto_Jarabo_Payá property:member_of_political_party ?s . ?s rdf:type ontology:political_party }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19573820 Q2838243
P17
Q15617994
USER
Which administrative territories are People's Alliance or Tuindorp a part of ?
OR((Q2838243,P17,c(Q15617994)), (Q19573820,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2838243
relation P17
action find
entity Q19573820
relation P17
type Q15617994
{'OR': [['Q2838243', 'P17', {'concept': 'Q15617994'}], ['Q19573820', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2838243 property:P17 ?u } UNION { resource:Q19573820 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Tuindorp People's Alliance
action filter_type
action union
action find
entity People's Alliance
relation country
action find
entity Tuindorp
relation country
type designation for an administrative territorial entity
{'OR': [["People's Alliance", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tuindorp', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:People's_Alliance property:country ?u } UNION { resource:Tuindorp property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q55
SYSTEM
Spain, Netherlands
Q29 Q55
OR((Q2838243,P17,c(Q15617994)), (Q19573820,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2838243
relation P17
action find
entity Q19573820
relation P17
type Q15617994
[ANSWERS] are People's Alliance or Tuindorp a part of
{'OR': [['Q2838243', 'P17', {'concept': 'Q15617994'}], ['Q19573820', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2838243 property:P17 ?u } UNION { resource:Q19573820 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Spain Netherlands
Spain and Netherlands are People's Alliance or Tuindorp a part of
Spain Netherlands
action filter_type
action union
action find
entity People's Alliance
relation country
action find
entity Tuindorp
relation country
type designation for an administrative territorial entity
{'OR': [["People's Alliance", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tuindorp', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:People's_Alliance property:country ?u } UNION { resource:Tuindorp property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q872513
P27
Q502895
USER
Are Maarten Schenck van Nydeggen civilians of those administrative territories ?
(Q872513,P27,Q29) (Q872513,P27,Q55)
action is_in
entity prev_answer
action find
entity Q872513
relation P27
['Q872513', 'P27', 'Q29'] ['Q872513', 'P27', 'Q55']
ASK WHERE { VALUES ( ?d ) { ( resource:Q29 ) ( resource:Q55 ) } . resource:Q872513 property:P27 ?d }
Maarten Schenck van Nydeggen
action is_in
entity prev_answer
action find
entity Maarten Schenck van Nydeggen
relation country of citizenship
['Maarten Schenck van Nydeggen', 'country of citizenship', 'Spain'] ['Maarten Schenck van Nydeggen', 'country of citizenship', 'Netherlands']
ASK WHERE { VALUES ( ?d ) { ( resource:Spain ) ( resource:Netherlands ) } . resource:Maarten_Schenck_van_Nydeggen property:country_of_citizenship ?d }
[]
common name
SYSTEM
YES
(Q872513,P27,Q29) (Q872513,P27,Q55)
action is_in
entity prev_answer
action find
entity Q872513
relation P27
[ANSWER]
['Q872513', 'P27', 'Q29'] ['Q872513', 'P27', 'Q55']
ASK WHERE { VALUES ( ?d ) { ( resource:Q29 ) ( resource:Q55 ) } . resource:Q872513 property:P27 ?d }
Yes
action is_in
entity prev_answer
action find
entity Maarten Schenck van Nydeggen
relation country of citizenship
['Maarten Schenck van Nydeggen', 'country of citizenship', 'Spain'] ['Maarten Schenck van Nydeggen', 'country of citizenship', 'Netherlands']
ASK WHERE { VALUES ( ?d ) { ( resource:Spain ) ( resource:Netherlands ) } . resource:Maarten_Schenck_van_Nydeggen property:country_of_citizenship ?d }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q49768 Q183 Q225662
P17
Q1048835
USER
Is Social Democratic Party of Germany present in Germany and Orduña-Urduña ?
(Q49768,P17,Q183) (Q49768,P17,Q225662)
action is_in
entity Q49768
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q225662
relation P17
['Q49768', 'P17', 'Q183'] ['Q49768', 'P17', 'Q225662']
ASK WHERE { resource:Q49768 property:P17 resource:Q225662 . resource:Q49768 property:P17 resource:Q183 }
Social Democratic Party of Germany Germany Orduña-Urduña
action is_in
entity Social Democratic Party of Germany
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Orduña-Urduña
relation country
['Social Democratic Party of Germany', 'country', 'Germany'] ['Social Democratic Party of Germany', 'country', 'Orduña-Urduña']
ASK WHERE { resource:Social_Democratic_Party_of_Germany property:country resource:Orduña-Urduña . resource:Social_Democratic_Party_of_Germany property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q49768,P17,Q183) (Q49768,P17,Q225662)
action is_in
entity Q49768
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q225662
relation P17
[ANSWER]
['Q49768', 'P17', 'Q183'] ['Q49768', 'P17', 'Q225662']
ASK WHERE { resource:Q49768 property:P17 resource:Q225662 . resource:Q49768 property:P17 resource:Q183 }
YES and NO respectively
action is_in
entity Social Democratic Party of Germany
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Orduña-Urduña
relation country
['Social Democratic Party of Germany', 'country', 'Germany'] ['Social Democratic Party of Germany', 'country', 'Orduña-Urduña']
ASK WHERE { resource:Social_Democratic_Party_of_Germany property:country resource:Orduña-Urduña . resource:Social_Democratic_Party_of_Germany property:country resource:Germany }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1729
P190
Q56061
USER
How many administrative territories are sister towns of Erfurt ?
(Q1729,P190,c(Q56061))
action count
action filter_type
action find
entity Q1729
relation P190
type Q56061
['Q1729', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q1729 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Erfurt
action count
action filter_type
action find
entity Erfurt
relation sister city
type administrative territorial entity
['Erfurt', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Erfurt property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
9
Q134494 Q41621 Q986627 Q44255 Q189328 Q648 Q216 Q13329 Q771251
(Q1729,P190,c(Q56061))
action count
action filter_type
action find
entity Q1729
relation P190
type Q56061
[ANSWER]
['Q1729', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q1729 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Győr Haifa Shawnee San Miguel de Tucumán Lovech Lille Vilnius Piacenza Kati
9
action count
action filter_type
action find
entity Erfurt
relation sister city
type administrative territorial entity
['Erfurt', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Erfurt property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q501748
P47
Q56061
USER
Which administrative territories are bordered by Ranst ?
(c(Q56061),P47,Q501748)
action filter_type
action find
entity Q501748
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q501748']
SELECT DISTINCT ?u WHERE { resource:Q501748 property:P47 ?u . ?u rdf:type ontology:Q56061 }
Ranst
action filter_type
action find
entity Ranst
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Ranst']
SELECT DISTINCT ?u WHERE { resource:Ranst property:shares_border_with ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12460 Q146656
SYSTEM
Lier, Zandhoven
Q12460 Q146656
(c(Q56061),P47,Q501748)
action filter_type
action find
entity Q501748
relation P47
type Q56061
[ANSWERS] are bordered by Ranst
[{'concept': 'Q56061'}, 'P47', 'Q501748']
SELECT DISTINCT ?u WHERE { resource:Q501748 property:P47 ?u . ?u rdf:type ontology:Q56061 }
Lier Zandhoven
Lier and Zandhoven are bordered by Ranst
Lier Zandhoven
action filter_type
action find
entity Ranst
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Ranst']
SELECT DISTINCT ?u WHERE { resource:Ranst property:shares_border_with ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q12460 Q146656
P20
Q502895
USER
Which people have Lier and Zandhoven as the area of death ?
(c(Q502895),P20,Q12460) (c(Q502895),P20,Q146656)
action union
action filter_type
action find_reverse
entity Q12460
relation P20
type Q502895
action filter_type
action find_reverse
entity Q146656
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q12460'] [{'concept': 'Q502895'}, 'P20', 'Q146656']
SELECT DISTINCT ?r WHERE { { ?r rdf:type ontology:Q502895 . ?r property:P20 resource:Q12460 } UNION { ?r property:P20 resource:Q146656 . ?r rdf:type ontology:Q502895 } }
Lier Zandhoven
action union
action filter_type
action find_reverse
entity Lier
relation place of death
type common name
action filter_type
action find_reverse
entity Zandhoven
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Lier'] [{'concept': 'common name'}, 'place of death', 'Zandhoven']
SELECT DISTINCT ?r WHERE { { ?r rdf:type ontology:common_name . ?r property:place_of_death resource:Lier } UNION { ?r property:place_of_death resource:Zandhoven . ?r rdf:type ontology:common_name } }
[]
common name
Q2065406 Q523206 Q713284
SYSTEM
Anton Bergmann, Bernard Voorhoof, Felix Timmermans
Q1999094 Q11293935 Q3222864 Q525604 Q90439 Q1834624 Q454198 Q2653965 Q362758 Q3528135 Q2007127 Q763110 Q15352780 Q2637901 Q3605597 Q2498394 Q23000254 Q2549548 Q1377731 Q713284 Q11308571 Q523206 Q2581634 Q16224091 Q2065406 Q16235211 Q960967 Q23946202 Q11308617 Q2964976
(c(Q502895),P20,Q12460) (c(Q502895),P20,Q146656)
action union
action filter_type
action find_reverse
entity Q12460
relation P20
type Q502895
action filter_type
action find_reverse
entity Q146656
relation P20
type Q502895
[ANSWERS] have Lier and Zandhoven as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q12460'] [{'concept': 'Q502895'}, 'P20', 'Q146656']
SELECT DISTINCT ?r WHERE { { ?r rdf:type ontology:Q502895 . ?r property:P20 resource:Q12460 } UNION { ?r property:P20 resource:Q146656 . ?r rdf:type ontology:Q502895 } }
Nicolas Champion Eduardus Van Kerckhoven Florent Van Cauwenbergh Louis Neefs Frederick IV of Baden Gummarus Beatrice of Nazareth Denis Verschueren Louis Zimmer Tiburtius van Brussel Olav Engelbrektsson August Mortelmans Edmond Leysen Ernest Van der Hallen Adriaen de Bie Joris Berckmans Melchior Tieleman Paul-Emile Van Royen Alexandre Dechet Felix Timmermans Ernest Bergmann Bernard Voorhoof Flor Van Reeth Jacques Vandevelde Anton Bergmann Jozef Van In Louis Proost Alfons Van den Brande Charles Cools Ward de Ravet
Anton Bergmann, Bernard Voorhoof and Felix Timmermans have Lier and Zandhoven as the area of death
Anton Bergmann Bernard Voorhoof Felix Timmermans
action union
action filter_type
action find_reverse
entity Lier
relation place of death
type common name
action filter_type
action find_reverse
entity Zandhoven
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Lier'] [{'concept': 'common name'}, 'place of death', 'Zandhoven']
SELECT DISTINCT ?r WHERE { { ?r rdf:type ontology:common_name . ?r property:place_of_death resource:Lier } UNION { ?r property:place_of_death resource:Zandhoven . ?r rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q501748
P190
Q56061
USER
Which administrative territory is twin city of Ranst ?
(c(Q56061),P190,Q501748)
action filter_type
action find
entity Q501748
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q501748']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q501748 property:P190 ?c }
Ranst
action filter_type
action find
entity Ranst
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Ranst']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Ranst property:sister_city ?c }
[]
administrative territorial entity
Q565528
SYSTEM
Herbstein
Q565528
(c(Q56061),P190,Q501748)
action filter_type
action find
entity Q501748
relation P190
type Q56061
In [ANSWER] is twin city of Ranst
[{'concept': 'Q56061'}, 'P190', 'Q501748']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q501748 property:P190 ?c }
Herbstein
In Herbstein is twin city of Ranst
Herbstein
action filter_type
action find
entity Ranst
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Ranst']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Ranst property:sister_city ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people were born at that administrative territory ?
(c(Q502895),P19,Q565528)
action count
action filter_type
action find_reverse
entity Q565528
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q565528']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:Q502895 . ?e property:P19 resource:Q565528 }
action count
action filter_type
action find_reverse
entity Herbstein
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Herbstein']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_birth resource:Herbstein }
[]
common name
SYSTEM
1
Q1485063
(c(Q502895),P19,Q565528)
action count
action filter_type
action find_reverse
entity Q565528
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q565528']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:Q502895 . ?e property:P19 resource:Q565528 }
Wilhelm Dersch
1
action count
action filter_type
action find_reverse
entity Herbstein
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Herbstein']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_birth resource:Herbstein }
[]