Simple Question (Direct)
Simple Question
Q8865690
P19
Q56061
USER
Which administrative territory was Stefan Walter born in ?
(Q8865690,P19,c(Q56061))
action filter_type
action find
entity Q8865690
relation P19
type Q56061
['Q8865690', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q8865690 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Stefan Walter
action filter_type
action find
entity Stefan Walter
relation place of birth
type administrative territorial entity
['Stefan Walter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Stefan_Walter property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q853785
SYSTEM
Soroca
Q853785
(Q8865690,P19,c(Q56061))
action filter_type
action find
entity Q8865690
relation P19
type Q56061
Stefan Walter was born in [ANSWER]
['Q8865690', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q8865690 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Soroca
Stefan Walter was born in Soroca
Soroca
action filter_type
action find
entity Stefan Walter
relation place of birth
type administrative territorial entity
['Stefan Walter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Stefan_Walter property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8865690
P119
Q43229
USER
Which organization is the place of burial of that person ?
(Q853785,P119,c(Q43229))
action filter_type
action find
entity Q8865690
relation P119
type Q43229
['Q853785', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q8865690 property:P119 ?e . ?e rdf:type ontology:Q43229 }
Stefan Walter
action filter_type
action find
entity Stefan Walter
relation place of burial
type organization
['Soroca', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Stefan_Walter property:place_of_burial ?e . ?e rdf:type ontology:organization }
[]
organization
Q168886
SYSTEM
Powązki Cemetery
Q168886
(Q853785,P119,c(Q43229))
action filter_type
action find
entity Q8865690
relation P119
type Q43229
[ANSWER] is the place of burial of that person
['Q853785', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q8865690 property:P119 ?e . ?e rdf:type ontology:Q43229 }
Powązki Cemetery
Powązki Cemetery is the place of burial of that person
Powązki Cemetery
action filter_type
action find
entity Stefan Walter
relation place of burial
type organization
['Soroca', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Stefan_Walter property:place_of_burial ?e . ?e rdf:type ontology:organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories are approximately 1 people and holidays a patron saint of ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 1
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?x ) WHERE { VALUES ( ?l ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?q rdf:type ?l } GROUP BY ?b } . FILTER ( ?x = 1 ) }
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?x ) WHERE { VALUES ( ?l ) { ( ontology:holiday ) ( ontology:common_name ) } . ?q rdf:type ?l } GROUP BY ?b } . FILTER ( ?x = 1 ) }
[]
common name holiday administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 1
[ANSWERS] are approximately 1 people and holidays a patron saint of
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?x ) WHERE { VALUES ( ?l ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?q rdf:type ?l } GROUP BY ?b } . FILTER ( ?x = 1 ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
Moscow, Madrid and Milan are approximately 1 people and holidays a patron saint of
Moscow Madrid Milan
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?x ) WHERE { VALUES ( ?l ) { ( ontology:holiday ) ( ontology:common_name ) } . ?q rdf:type ?l } GROUP BY ?b } . FILTER ( ?x = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q1002697 Q21114848
USER
Which administrative territories are the publication regions of atleast 182 periodical literatures and magazine genres ?
(c(Q1002697)|c(Q21114848),P291,c(Q56061))
action atleast
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
value 182
[[{'concept': 'Q1002697'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?c >= 182 ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?c ) WHERE { { ?b property:P291 ?i . ?i rdf:type ontology:Q56061 . ?b rdf:type ontology:Q21114848 } UNION { ?b property:P291 ?i . ?i rdf:type ontology:Q56061 . ?b rdf:type ontology:Q1002697 } } GROUP BY ?i } }
action atleast
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
value 182
[[{'concept': 'periodical literature'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?c >= 182 ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?c ) WHERE { { ?b property:place_of_publication ?i . ?i rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:magazine_genre } UNION { ?b property:place_of_publication ?i . ?i rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:periodical_literature } } GROUP BY ?i } }
[]
administrative territorial entity periodical literature magazine genre
Q60 Q2807
SYSTEM
New York City, Madrid
Q60 Q2807
(c(Q1002697)|c(Q21114848),P291,c(Q56061))
action atleast
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
value 182
[ANSWERS] are the publication regions of atleast 182 periodical literatures and magazine genres
[[{'concept': 'Q1002697'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?c >= 182 ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?c ) WHERE { { ?b property:P291 ?i . ?i rdf:type ontology:Q56061 . ?b rdf:type ontology:Q21114848 } UNION { ?b property:P291 ?i . ?i rdf:type ontology:Q56061 . ?b rdf:type ontology:Q1002697 } } GROUP BY ?i } }
New York City Madrid
New York City and Madrid are the publication regions of atleast 182 periodical literatures and magazine genres
New York City Madrid
action atleast
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
value 182
[[{'concept': 'periodical literature'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?c >= 182 ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?c ) WHERE { { ?b property:place_of_publication ?i . ?i rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:magazine_genre } UNION { ?b property:place_of_publication ?i . ?i rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:periodical_literature } } GROUP BY ?i } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q956
P190
Q56061
USER
Are Beijing partner town of those ones ?
(Q956,P190,Q60) (Q956,P190,Q2807)
action is_in
entity prev_answer
action find
entity Q956
relation P190
['Q956', 'P190', 'Q60'] ['Q956', 'P190', 'Q2807']
ASK WHERE { resource:Q956 property:P190 ?z . VALUES ( ?z ) { ( resource:Q60 ) ( resource:Q2807 ) } }
Beijing
action is_in
entity prev_answer
action find
entity Beijing
relation sister city
['Beijing', 'sister city', 'New York City'] ['Beijing', 'sister city', 'Madrid']
ASK WHERE { resource:Beijing property:sister_city ?z . VALUES ( ?z ) { ( resource:New_York_City ) ( resource:Madrid ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q956,P190,Q60) (Q956,P190,Q2807)
action is_in
entity prev_answer
action find
entity Q956
relation P190
[ANSWER]
['Q956', 'P190', 'Q60'] ['Q956', 'P190', 'Q2807']
ASK WHERE { resource:Q956 property:P190 ?z . VALUES ( ?z ) { ( resource:Q60 ) ( resource:Q2807 ) } }
Yes
action is_in
entity prev_answer
action find
entity Beijing
relation sister city
['Beijing', 'sister city', 'New York City'] ['Beijing', 'sister city', 'Madrid']
ASK WHERE { resource:Beijing property:sister_city ?z . VALUES ( ?z ) { ( resource:New_York_City ) ( resource:Madrid ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q8865690 Q270
P20
Q56061
USER
Did Stefan Walter die Warsaw ?
(Q8865690,P20,Q270)
action is_in
entity Q270
action find
entity Q8865690
relation P20
['Q8865690', 'P20', 'Q270']
ASK WHERE { resource:Q8865690 property:P20 resource:Q270 }
Stefan Walter Warsaw
action is_in
entity Warsaw
action find
entity Stefan Walter
relation place of death
['Stefan Walter', 'place of death', 'Warsaw']
ASK WHERE { resource:Stefan_Walter property:place_of_death resource:Warsaw }
[]
administrative territorial entity
SYSTEM
YES
(Q8865690,P20,Q270)
action is_in
entity Q270
action find
entity Q8865690
relation P20
[ANSWER]
['Q8865690', 'P20', 'Q270']
ASK WHERE { resource:Q8865690 property:P20 resource:Q270 }
Yes
action is_in
entity Warsaw
action find
entity Stefan Walter
relation place of death
['Stefan Walter', 'place of death', 'Warsaw']
ASK WHERE { resource:Stefan_Walter property:place_of_death resource:Warsaw }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q649 Q159 Q1742192
P1376
Q15617994
USER
Is Moscow the capital of Russia and King's Lynn and West Norfolk ?
(Q649,P1376,Q159) (Q649,P1376,Q1742192)
action is_in
entity Q649
action intersection
action find_reverse
entity Q159
relation P1376
action find_reverse
entity Q1742192
relation P1376
['Q649', 'P1376', 'Q159'] ['Q649', 'P1376', 'Q1742192']
ASK WHERE { resource:Q649 property:P1376 resource:Q159 . resource:Q649 property:P1376 resource:Q1742192 }
Moscow Russia King's Lynn and West Norfolk
action is_in
entity Moscow
action intersection
action find_reverse
entity Russia
relation capital of
action find_reverse
entity King's Lynn and West Norfolk
relation capital of
['Moscow', 'capital of', 'Russia'] ['Moscow', 'capital of', "King's Lynn and West Norfolk"]
ASK WHERE { resource:Moscow property:capital_of resource:Russia . resource:Moscow property:capital_of resource:King's_Lynn_and_West_Norfolk }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q649,P1376,Q159) (Q649,P1376,Q1742192)
action is_in
entity Q649
action intersection
action find_reverse
entity Q159
relation P1376
action find_reverse
entity Q1742192
relation P1376
[ANSWER]
['Q649', 'P1376', 'Q159'] ['Q649', 'P1376', 'Q1742192']
ASK WHERE { resource:Q649 property:P1376 resource:Q159 . resource:Q649 property:P1376 resource:Q1742192 }
YES and NO respectively
action is_in
entity Moscow
action intersection
action find_reverse
entity Russia
relation capital of
action find_reverse
entity King's Lynn and West Norfolk
relation capital of
['Moscow', 'capital of', 'Russia'] ['Moscow', 'capital of', "King's Lynn and West Norfolk"]
ASK WHERE { resource:Moscow property:capital_of resource:Russia . resource:Moscow property:capital_of resource:King's_Lynn_and_West_Norfolk }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q853785 Q522677
P17
Q15617994
USER
Is Soroca a part of Nassenfels ?
(Q853785,P17,Q522677)
action is_in
entity Q522677
action find
entity Q853785
relation P17
['Q853785', 'P17', 'Q522677']
ASK WHERE { resource:Q853785 property:P17 resource:Q522677 }
Soroca Nassenfels
action is_in
entity Nassenfels
action find
entity Soroca
relation country
['Soroca', 'country', 'Nassenfels']
ASK WHERE { resource:Soroca property:country resource:Nassenfels }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q853785,P17,Q522677)
action is_in
entity Q522677
action find
entity Q853785
relation P17
[ANSWER]
['Q853785', 'P17', 'Q522677']
ASK WHERE { resource:Q853785 property:P17 resource:Q522677 }
No
action is_in
entity Nassenfels
action find
entity Soroca
relation country
['Soroca', 'country', 'Nassenfels']
ASK WHERE { resource:Soroca property:country resource:Nassenfels }
[]