Simple Question (Direct)
Simple Question
Q3925326
P20
Q56061
USER
Where did the expiration of Publio Morbiducci occur ?
(Q3925326,P20,c(Q56061))
action filter_type
action find
entity Q3925326
relation P20
type Q56061
['Q3925326', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3925326 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Publio Morbiducci
action filter_type
action find
entity Publio Morbiducci
relation place of death
type administrative territorial entity
['Publio Morbiducci', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Publio_Morbiducci property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3925326,P20,c(Q56061))
action filter_type
action find
entity Q3925326
relation P20
type Q56061
The expiration of Publio Morbiducci occurred in [ANSWER]
['Q3925326', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3925326 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Rome
The expiration of Publio Morbiducci occurred in Rome
Rome
action filter_type
action find
entity Publio Morbiducci
relation place of death
type administrative territorial entity
['Publio Morbiducci', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Publio_Morbiducci property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3925326
P1412
Q34770
USER
Which language is Publio Morbiducci capable of writing ?
(Q3925326,P1412,c(Q34770))
action filter_type
action find
entity Q3925326
relation P1412
type Q34770
['Q3925326', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . resource:Q3925326 property:P1412 ?d }
Publio Morbiducci
action filter_type
action find
entity Publio Morbiducci
relation languages spoken, written or signed
type language
['Publio Morbiducci', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . resource:Publio_Morbiducci property:languages_spoken,_written_or_signed ?d }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3925326,P1412,c(Q34770))
action filter_type
action find
entity Q3925326
relation P1412
type Q34770
[ANSWER] is Publio Morbiducci capable of writing
['Q3925326', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . resource:Q3925326 property:P1412 ?d }
Italian
Italian is Publio Morbiducci capable of writing
Italian
action filter_type
action find
entity Publio Morbiducci
relation languages spoken, written or signed
type language
['Publio Morbiducci', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . resource:Publio_Morbiducci property:languages_spoken,_written_or_signed ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3713712
Q34770
USER
And what about Donatella Scarnati?
(Q3713712,P1412,c(Q34770))
action filter_type
action find
entity Q3713712
relation P1412
type Q34770
['Q3713712', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q34770 . resource:Q3713712 property:P1412 ?x }
Donatella Scarnati
action filter_type
action find
entity Donatella Scarnati
relation languages spoken, written or signed
type language
['Donatella Scarnati', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:language . resource:Donatella_Scarnati property:languages_spoken,_written_or_signed ?x }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3713712,P1412,c(Q34770))
action filter_type
action find
entity Q3713712
relation P1412
type Q34770
[ANSWER]
['Q3713712', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q34770 . resource:Q3713712 property:P1412 ?x }
Italian
Italian
action filter_type
action find
entity Donatella Scarnati
relation languages spoken, written or signed
type language
['Donatella Scarnati', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:language . resource:Donatella_Scarnati property:languages_spoken,_written_or_signed ?x }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q82208
P417
Q1445650 Q502895 Q56061
USER
Which administrative territories have adopted approximately the same number of holidays or people as their patron saint as Kastritsa ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q82208
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q82208 property:P417 ?z . { { ?z rdf:type ontology:Q1445650 } UNION { ?z rdf:type ontology:Q502895 } } } } . FILTER ( ?r = ?q ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } GROUP BY ?c } }
Kastritsa
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Kastritsa
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Kastritsa property:patron_saint ?z . { { ?z rdf:type ontology:holiday } UNION { ?z rdf:type ontology:common_name } } } } . FILTER ( ?r = ?q ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:holiday ) ( ontology:common_name ) } } GROUP BY ?c } }
[]
holiday common name 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(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q82208
relation P417
type Q1445650
type Q502895
[ANSWERS] have adopted approximately the same number of holidays or people as their patron saint as Kastritsa
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q82208 property:P417 ?z . { { ?z rdf:type ontology:Q1445650 } UNION { ?z rdf:type ontology:Q502895 } } } } . FILTER ( ?r = ?q ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } GROUP BY ?c } }
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 have adopted approximately the same number of holidays or people as their patron saint as Kastritsa
Moscow Madrid Milan
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Kastritsa
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Kastritsa property:patron_saint ?z . { { ?z rdf:type ontology:holiday } UNION { ?z rdf:type ontology:common_name } } } } . FILTER ( ?r = ?q ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:holiday ) ( ontology:common_name ) } } GROUP BY ?c } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q617
P417
Q1445650 Q502895 Q56061
USER
And how about Padua?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q617
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) ?v WHERE { { ?v property:P417 ?f . ?v rdf:type ontology:Q56061 . ?f rdf:type ontology:Q1445650 } UNION { ?v property:P417 ?f . ?v rdf:type ontology:Q56061 . ?f rdf:type ontology:Q502895 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { resource:Q617 property:P417 ?q . { VALUES ( ?n ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?q rdf:type ?n } } } . FILTER ( ?a = ?z ) }
Padua
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Padua
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) ?v WHERE { { ?v property:patron_saint ?f . ?v rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:holiday } UNION { ?v property:patron_saint ?f . ?v rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:common_name } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { resource:Padua property:patron_saint ?q . { VALUES ( ?n ) { ( ontology:holiday ) ( ontology:common_name ) } . ?q rdf:type ?n } } } . FILTER ( ?a = ?z ) }
[]
holiday common name 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(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q617
relation P417
type Q1445650
type Q502895
[ANSWERS]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) ?v WHERE { { ?v property:P417 ?f . ?v rdf:type ontology:Q56061 . ?f rdf:type ontology:Q1445650 } UNION { ?v property:P417 ?f . ?v rdf:type ontology:Q56061 . ?f rdf:type ontology:Q502895 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { resource:Q617 property:P417 ?q . { VALUES ( ?n ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?q rdf:type ?n } } } . FILTER ( ?a = ?z ) }
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 Milan
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Padua
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) ?v WHERE { { ?v property:patron_saint ?f . ?v rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:holiday } UNION { ?v property:patron_saint ?f . ?v rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:common_name } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { resource:Padua property:patron_saint ?q . { VALUES ( ?n ) { ( ontology:holiday ) ( ontology:common_name ) } . ?q rdf:type ?n } } } . FILTER ( ?a = ?z ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3462951
P190
Q56061
USER
Are Vana-Otepää twin city of those ones ?
(Q3462951,P190,Q649) (Q3462951,P190,Q2807) (Q3462951,P190,Q490)
action is_in
entity prev_answer
action find
entity Q3462951
relation P190
['Q3462951', 'P190', 'Q649'] ['Q3462951', 'P190', 'Q2807'] ['Q3462951', 'P190', 'Q490']
ASK WHERE { resource:Q3462951 property:P190 ?m . VALUES ( ?m ) { ( resource:Q5818 ) ( resource:Q187352 ) ( resource:Q11974 ) } }
Vana-Otepää
action is_in
entity prev_answer
action find
entity Vana-Otepää
relation sister city
['Vana-Otepää', 'sister city', 'Moscow'] ['Vana-Otepää', 'sister city', 'Madrid'] ['Vana-Otepää', 'sister city', 'Milan']
ASK WHERE { resource:Vana-Otepää property:sister_city ?m . VALUES ( ?m ) { ( resource:Córdoba ) ( resource:Kavala ) ( resource:Las_Palmas_de_Gran_Canaria ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q3462951,P190,Q649) (Q3462951,P190,Q2807) (Q3462951,P190,Q490)
action is_in
entity prev_answer
action find
entity Q3462951
relation P190
[ANSWER]
['Q3462951', 'P190', 'Q649'] ['Q3462951', 'P190', 'Q2807'] ['Q3462951', 'P190', 'Q490']
ASK WHERE { resource:Q3462951 property:P190 ?m . VALUES ( ?m ) { ( resource:Q5818 ) ( resource:Q187352 ) ( resource:Q11974 ) } }
No
action is_in
entity prev_answer
action find
entity Vana-Otepää
relation sister city
['Vana-Otepää', 'sister city', 'Moscow'] ['Vana-Otepää', 'sister city', 'Madrid'] ['Vana-Otepää', 'sister city', 'Milan']
ASK WHERE { resource:Vana-Otepää property:sister_city ?m . VALUES ( ?m ) { ( resource:Córdoba ) ( resource:Kavala ) ( resource:Las_Palmas_de_Gran_Canaria ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3462951
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
action filter_type
action find
entity Q3462951
relation P17
type Q15617994
SELECT DISTINCT ?k WHERE { resource:Q3462951 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Vana-Otepää
action filter_type
action find
entity Vana-Otepää
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Vana-Otepää property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q191
SYSTEM
Estonia
Q191
action filter_type
action find
entity Q3462951
relation P17
type Q15617994
That administrative territory is situated in [ANSWER]
SELECT DISTINCT ?k WHERE { resource:Q3462951 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Estonia
That administrative territory is situated in Estonia
Estonia
action filter_type
action find
entity Vana-Otepää
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Vana-Otepää property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q988400
P1376
Q7275
USER
Which state has Mangup has its center of administration ?
(Q988400,P1376,c(Q7275))
action filter_type
action find
entity Q988400
relation P1376
type Q7275
['Q988400', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7275 . resource:Q988400 property:P1376 ?e }
Mangup
action filter_type
action find
entity Mangup
relation capital of
type state
['Mangup', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:state . resource:Mangup property:capital_of ?e }
[]
state
Q874954
SYSTEM
Principality of Theodoro
Q874954
(Q988400,P1376,c(Q7275))
action filter_type
action find
entity Q988400
relation P1376
type Q7275
The [ANSWER] has Mangup has its center of administration
['Q988400', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7275 . resource:Q988400 property:P1376 ?e }
Principality of Theodoro
The Principality of Theodoro has Mangup has its center of administration
Principality of Theodoro
action filter_type
action find
entity Mangup
relation capital of
type state
['Mangup', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:state . resource:Mangup property:capital_of ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1899
Q7275
USER
And also tell me about Kyiv?
(Q1899,P1376,c(Q7275))
action filter_type
action find
entity Q1899
relation P1376
type Q7275
['Q1899', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?j WHERE { resource:Q1899 property:P1376 ?j . ?j rdf:type ontology:Q7275 }
Kyiv
action filter_type
action find
entity Kyiv
relation capital of
type state
['Kyiv', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?j WHERE { resource:Kyiv property:capital_of ?j . ?j rdf:type ontology:state }
[]
state
Q133356 Q1108445 Q1508143
SYSTEM
Ukrainian Soviet Socialist Republic, Kievan Rus', Ukrainian State
Q133356 Q1108445 Q1508143
(Q1899,P1376,c(Q7275))
action filter_type
action find
entity Q1899
relation P1376
type Q7275
[ANSWERS]
['Q1899', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?j WHERE { resource:Q1899 property:P1376 ?j . ?j rdf:type ontology:Q7275 }
Ukrainian Soviet Socialist Republic Kievan Rus' Ukrainian State
Ukrainian Soviet Socialist Republic Kievan Rus' Ukrainian State
action filter_type
action find
entity Kyiv
relation capital of
type state
['Kyiv', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?j WHERE { resource:Kyiv property:capital_of ?j . ?j rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P921
Q571
USER
Which books were primarily based on Madrid ?
(c(Q571),P921,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P921
type Q571
[{'concept': 'Q571'}, 'P921', 'Q2807']
SELECT DISTINCT ?l WHERE { ?l property:P921 resource:Q2807 . ?l rdf:type ontology:Q571 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'Madrid']
SELECT DISTINCT ?l WHERE { ?l property:main_subject resource:Madrid . ?l rdf:type ontology:book }
[]
book
Q24491781 Q21769987
SYSTEM
Las calles de Madrid: noticias, tradiciones y curiosidades, Diccionario biográfico matritense (1912)
Q24491781 Q21769987
(c(Q571),P921,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P921
type Q571
[ANSWERS] were primarily based on Madrid
[{'concept': 'Q571'}, 'P921', 'Q2807']
SELECT DISTINCT ?l WHERE { ?l property:P921 resource:Q2807 . ?l rdf:type ontology:Q571 }
Las calles de Madrid: noticias, tradiciones y curiosidades Diccionario biográfico matritense (1912)
Las calles de Madrid: noticias, tradiciones y curiosidades and Diccionario biográfico matritense (1912) were primarily based on Madrid
Las calles de Madrid: noticias, tradiciones y curiosidades Diccionario biográfico matritense (1912)
action filter_type
action find_reverse
entity Madrid
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'Madrid']
SELECT DISTINCT ?l WHERE { ?l property:main_subject resource:Madrid . ?l rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q24491781 Q21769987
P800
Q502895
USER
Whose notable work were Las calles de Madrid: noticias, tradiciones y curiosidades and Diccionario biográfico matritense (1912) ?
(c(Q502895),P800,Q24491781) (c(Q502895),P800,Q21769987)
action union
action filter_type
action find_reverse
entity Q24491781
relation P800
type Q502895
action filter_type
action find_reverse
entity Q21769987
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q24491781'] [{'concept': 'Q502895'}, 'P800', 'Q21769987']
SELECT DISTINCT ?z WHERE { { ?z property:P800 resource:Q24491781 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P800 resource:Q21769987 . ?z rdf:type ontology:Q502895 } }
Las calles de Madrid: noticias, tradiciones y curiosidades Diccionario biográfico matritense (1912)
action union
action filter_type
action find_reverse
entity Las calles de Madrid: noticias, tradiciones y curiosidades
relation notable work
type common name
action filter_type
action find_reverse
entity Diccionario biográfico matritense (1912)
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Las calles de Madrid: noticias, tradiciones y curiosidades'] [{'concept': 'common name'}, 'notable work', 'Diccionario biográfico matritense (1912)']
SELECT DISTINCT ?z WHERE { { ?z property:notable_work resource:Las_calles_de_Madrid:_noticias,_tradiciones_y_curiosidades . ?z rdf:type ontology:common_name } UNION { ?z property:notable_work resource:Diccionario_biográfico_matritense_(1912) . ?z rdf:type ontology:common_name } }
[]
common name
Q16575056 Q5749932 Q21769976
SYSTEM
Hilario Peñasco de la Puente, Carlos Cambronero, Luis Ballesteros Robles
Q16575056 Q5749932 Q21769976
(c(Q502895),P800,Q24491781) (c(Q502895),P800,Q21769987)
action union
action filter_type
action find_reverse
entity Q24491781
relation P800
type Q502895
action filter_type
action find_reverse
entity Q21769987
relation P800
type Q502895
[ANSWERS] were Las calles de Madrid: noticias, tradiciones y curiosidades and Diccionario biográfico matritense (1912)
[{'concept': 'Q502895'}, 'P800', 'Q24491781'] [{'concept': 'Q502895'}, 'P800', 'Q21769987']
SELECT DISTINCT ?z WHERE { { ?z property:P800 resource:Q24491781 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P800 resource:Q21769987 . ?z rdf:type ontology:Q502895 } }
Hilario Peñasco de la Puente Carlos Cambronero Luis Ballesteros Robles
Hilario Peñasco de la Puente, Carlos Cambronero and Luis Ballesteros Robles were Las calles de Madrid: noticias, tradiciones y curiosidades and Diccionario biográfico matritense (1912)
Hilario Peñasco de la Puente Carlos Cambronero Luis Ballesteros Robles
action union
action filter_type
action find_reverse
entity Las calles de Madrid: noticias, tradiciones y curiosidades
relation notable work
type common name
action filter_type
action find_reverse
entity Diccionario biográfico matritense (1912)
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Las calles de Madrid: noticias, tradiciones y curiosidades'] [{'concept': 'common name'}, 'notable work', 'Diccionario biográfico matritense (1912)']
SELECT DISTINCT ?z WHERE { { ?z property:notable_work resource:Las_calles_de_Madrid:_noticias,_tradiciones_y_curiosidades . ?z rdf:type ontology:common_name } UNION { ?z property:notable_work resource:Diccionario_biográfico_matritense_(1912) . ?z rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16575056
P50
Q571
USER
Which book is that person an author of ?
(c(Q571),P50,Q16575056)
action filter_type
action find_reverse
entity Q16575056
relation P50
type Q571
[{'concept': 'Q571'}, 'P50', 'Q16575056']
SELECT DISTINCT ?p WHERE { ?p property:P50 resource:Q16575056 . ?p rdf:type ontology:Q571 }
Hilario Peñasco de la Puente
action filter_type
action find_reverse
entity Hilario Peñasco de la Puente
relation author
type book
[{'concept': 'book'}, 'author', 'Hilario Peñasco de la Puente']
SELECT DISTINCT ?p WHERE { ?p property:author resource:Hilario_Peñasco_de_la_Puente . ?p rdf:type ontology:book }
[]
book
Clarification for simple ques.
Q16575056
SYSTEM
Did you mean Hilario Peñasco de la Puente ?
Q16575056 Q5749932 Q21769976
(c(Q571),P50,Q16575056) (c(Q571),P50,Q5749932) (c(Q571),P50,Q21769976)
[ANSWER]
[{'concept': 'Q571'}, 'P50', 'Q16575056'] [{'concept': 'Q571'}, 'P50', 'Q5749932'] [{'concept': 'Q571'}, 'P50', 'Q21769976']
SELECT DISTINCT ?p WHERE { ?p property:P50 resource:Q16575056 . ?p rdf:type ontology:Q571 }
Hilario Peñasco de la Puente Carlos Cambronero Luis Ballesteros Robles
Did you mean Hilario Peñasco de la Puente ?
Hilario Peñasco de la Puente
[{'concept': 'book'}, 'author', 'Hilario Peñasco de la Puente'] [{'concept': 'book'}, 'author', 'Carlos Cambronero'] [{'concept': 'book'}, 'author', 'Luis Ballesteros Robles']
SELECT DISTINCT ?p WHERE { ?p property:author resource:Hilario_Peñasco_de_la_Puente . ?p rdf:type ontology:book }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q571),P50,Q16575056)
[{'concept': 'Q571'}, 'P50', 'Q16575056']
[{'concept': 'book'}, 'author', 'Hilario Peñasco de la Puente']
[]
Q24491781
SYSTEM
Las calles de Madrid: noticias, tradiciones y curiosidades
Q24491781
(c(Q571),P50,Q16575056)
action filter_type
action find_reverse
entity Q16575056
relation P50
type Q571
Which book is that person an author of
[{'concept': 'Q571'}, 'P50', 'Q16575056']
SELECT DISTINCT ?p WHERE { ?p property:P50 resource:Q16575056 . ?p rdf:type ontology:Q571 }
Las calles de Madrid: noticias, tradiciones y curiosidades
Which book is that person an author of
Las calles de Madrid: noticias, tradiciones y curiosidades
action filter_type
action find_reverse
entity Hilario Peñasco de la Puente
relation author
type book
[{'concept': 'book'}, 'author', 'Hilario Peñasco de la Puente']
SELECT DISTINCT ?p WHERE { ?p property:author resource:Hilario_Peñasco_de_la_Puente . ?p rdf:type ontology:book }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1376
Q7275 Q20667921 Q56061
USER
Which states have min number of french administrative divisions or administrative territories have their center of administration ?
(c(Q20667921)|c(Q56061),P1376,c(Q7275))
action argmin
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?l ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?i ) WHERE { { ?t property:P1376 ?f . ?f rdf:type ontology:Q7275 . ?t rdf:type ontology:Q20667921 } UNION { ?t property:P1376 ?f . ?f rdf:type ontology:Q7275 . ?t rdf:type ontology:Q56061 } } GROUP BY ?f } } . { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?q ) WHERE { ?h rdf:type ?x . VALUES ( ?x ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } GROUP BY ?o } . FILTER ( ?q = ?l ) }
action argmin
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?l ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?i ) WHERE { { ?t property:capital_of ?f . ?f rdf:type ontology:state . ?t rdf:type ontology:type_of_french_administrative_division } UNION { ?t property:capital_of ?f . ?f rdf:type ontology:state . ?t rdf:type ontology:administrative_territorial_entity } } GROUP BY ?f } } . { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?q ) WHERE { ?h rdf:type ?x . VALUES ( ?x ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?o } . FILTER ( ?q = ?l ) }
[]
state type of french administrative division administrative territorial entity
Q16957 Q13706 Q28025
SYSTEM
East Germany, Principality of Sealand, Ryukyu Kingdom
Q1193822 Q178665 Q18285930 Q152855 Q855044 Q975405 Q1688151 Q1483643 Q827040 Q210198 Q2006542 Q215530 Q912043 Q1649871 Q2564694 Q203493 Q1574107 Q798431 Q1269910 Q877875 Q2361927 Q402145 Q255931 Q2342822 Q863279 Q3177715 Q698089 Q83821 Q953432 Q13107370 Q761370 Q2114397 Q321371 Q220110 Q1414395 Q756895 Q49697 Q153660 Q1069905 Q6500954 Q274488 Q216173 Q577867 Q476757 Q1274468 Q202687 Q2419932 Q234197 Q2668600 Q551375 Q146246 Q1108445 Q153080 Q526507 Q16957 Q1154540 Q28322 Q550374 Q19831559 Q1048918 Q736936 Q783489 Q2444884 Q16949002 Q618399 Q180573 Q1923401 Q1135255 Q624887 Q199442 Q13706 Q156020 Q216786 Q26472 Q139319 Q752662 Q797422 Q235030 Q1668970 Q320930 Q849623 Q2264735 Q28511 Q139670 Q1138904 Q10988528 Q402580 Q7352 Q9903 Q83572 Q941881 Q1319681 Q1115291 Q894030 Q38060 Q914898 Q844250 Q738144 Q207521 Q1658411 Q28025 Q11704201 Q49326 Q1057118 Q157734 Q2088324 Q11909456 Q1415585 Q146328 Q1508143 Q940821 Q248572 Q697084 Q213586 Q16624774 Q173082 Q170588 Q11196 Q187684 Q1324889 Q146713 Q427941 Q697837 Q994451 Q3185305 Q1148907 Q320925 Q2593459 Q571453 Q271570 Q307069 Q28278 Q107380 Q206696 Q62454 Q1198071 Q1192067 Q2372248 Q1062422 Q505503 Q169705 Q212439 Q153015 Q846670 Q696242 Q422065 Q1479726 Q467864 Q212056 Q777981 Q487829 Q154853 Q1148042 Q770776 Q1549254 Q7314513 Q3041595 Q484104 Q680997 Q648297 Q149805
(c(Q20667921)|c(Q56061),P1376,c(Q7275))
action argmin
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
[ANSWERS] have min number of french administrative divisions or administrative territories have their center of administration
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?l ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?i ) WHERE { { ?t property:P1376 ?f . ?f rdf:type ontology:Q7275 . ?t rdf:type ontology:Q20667921 } UNION { ?t property:P1376 ?f . ?f rdf:type ontology:Q7275 . ?t rdf:type ontology:Q56061 } } GROUP BY ?f } } . { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?q ) WHERE { ?h rdf:type ?x . VALUES ( ?x ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } } GROUP BY ?o } . FILTER ( ?q = ?l ) }
Wuyue Mitanni German Empire of 1848/1849 Kingdom of Tungning Bhopal State Sultanate of Rum Kingdom of Thomond Nakhon Si Thammarat Kingdom Nanyue Erivan Khanate Dominion of Pakistan Kingdom of Ireland Jin Kingdom of Poland Powys Fadog Kingdom of Romania Han Zhao Republic of Dahomey Republic of Madawaska Palmyrene Empire Duchy of Masovia Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Pagaruyung Kingdom Grand Duchy of Würzburg Bijapur Sultanate Couto Misto Principality of Serbia Aro Confederacy Yogyakarta Sultanate Bosporan Kingdom Rohan Republic of South Maluku Kediri Liu Song dynasty Italian Social Republic Cheng Han Zaire Eastern Wu Free City of Danzig Kingdom of Poland Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Songhai Empire Kingdom of Redonda Srivijaya Taifa of Niebla Grand Duchy of Westarctica Francia Kievan Rus' East Francia Later Shu East Germany Later Jin Dynasty Balhae South African Republic Oldenburg Suebic Kingdom of Galicia Lu Later Liang dynasty Tibet Lordship of Brecknock Republic of the Congo South Vietnam Zunghar Khanate Chinese Soviet Republic Neo-Babylonian Empire Kingdom of Aragon Principality of Sealand State of the Teutonic Order Champa Kingdom of Dali Russian Republic Hafsid dynasty Republic of Upper Volta Principality of Antioch Western Qin Cao Wei Oyo Empire Arthedain Buyeo kingdom Democratic Republic of Armenia Kingdom of Afghanistan Second East Turkestan Republic Medang Kingdom Jin dynasty Ming imperium Sikh Empire Netherlands New Guinea Qi Thonburi Kingdom Bornu Empire Gaul Kingdom of Khotan Lordship of Ireland United Provinces of the Río de la Plata Abyssinia Kingdom of Sarawak Ryukyu Kingdom Taifa of Arjona Majapahit Chenla Kingdom Muscat and Oman Colonial Brazil Bit Agusi Islamic State of Afghanistan Commonwealth of the Philippines Ukrainian State People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Gondor Kingdom of Nicoya Dacia Republic of Texas Republika Srpska Despotate of Epirus Germiyanids Arab Federation Islamic Emirate of Afghanistan Mengjiang Western Liang Kingdom of Israel State of Katanga Shu Han Provisional Government of Hawaii Former Shu Kingdom of Araucanía and Patagonia Eastern Wei Provisional Government of the Republic of Korea History of Lippe Helvetic Republic Chen dynasty Southern Han Min Free State of Oldenburg Konbaung Dynasty Cochinchina Xia dynasty Cossack Hetmanate Kingdom of Saxony Danishmends Reorganized National Government of China Sultanate of Sulu Federation of Malaya People's Socialist Republic of Albania Mongolian People's Republic Duchy of the Archipelago Chagatai Khanate Diauehi Qutb Shahi dynasty Dutch Gold Coast Principality of Seborga Republic of South Carolina Republic of Iraq United States Army Military Government in Korea Principality of Lower Pannonia Free State of Brunswick Kingdom of Iraq
East Germany, Principality of Sealand and Ryukyu Kingdom have min number of french administrative divisions or administrative territories have their center of administration
East Germany Principality of Sealand Ryukyu Kingdom
action argmin
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?l ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?i ) WHERE { { ?t property:capital_of ?f . ?f rdf:type ontology:state . ?t rdf:type ontology:type_of_french_administrative_division } UNION { ?t property:capital_of ?f . ?f rdf:type ontology:state . ?t rdf:type ontology:administrative_territorial_entity } } GROUP BY ?f } } . { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?q ) WHERE { ?h rdf:type ?x . VALUES ( ?x ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?o } . FILTER ( ?q = ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16957
P47
Q1048835
USER
How many political territories share the border with East Germany ?
(Q16957,P47,c(Q1048835))
action count
action filter_type
action find
entity Q16957
relation P47
type Q1048835
['Q16957', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q rdf:type ontology:Q1048835 . resource:Q16957 property:P47 ?q }
East Germany
action count
action filter_type
action find
entity East Germany
relation shares border with
type political territorial entity
['East Germany', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q rdf:type ontology:political_territorial_entity . resource:East_Germany property:shares_border_with ?q }
[]
political territorial entity
SYSTEM
1
Q183
(Q16957,P47,c(Q1048835))
action count
action filter_type
action find
entity Q16957
relation P47
type Q1048835
[ANSWER]
['Q16957', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q rdf:type ontology:Q1048835 . resource:Q16957 property:P47 ?q }
Germany
1
action count
action filter_type
action find
entity East Germany
relation shares border with
type political territorial entity
['East Germany', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q rdf:type ontology:political_territorial_entity . resource:East_Germany property:shares_border_with ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q487352
P19
Q502895
USER
Which person has birthplace at San Esteban de Gormaz ?
(c(Q502895),P19,Q487352)
action filter_type
action find_reverse
entity Q487352
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q487352']
SELECT DISTINCT ?v WHERE { ?v property:P19 resource:Q487352 . ?v rdf:type ontology:Q502895 }
San Esteban de Gormaz
action filter_type
action find_reverse
entity San Esteban de Gormaz
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'San Esteban de Gormaz']
SELECT DISTINCT ?v WHERE { ?v property:place_of_birth resource:San_Esteban_de_Gormaz . ?v rdf:type ontology:common_name }
[]
common name
Q937021
SYSTEM
Faustino Rupérez
Q937021
(c(Q502895),P19,Q487352)
action filter_type
action find_reverse
entity Q487352
relation P19
type Q502895
[ANSWER] has birthplace at San Esteban de Gormaz
[{'concept': 'Q502895'}, 'P19', 'Q487352']
SELECT DISTINCT ?v WHERE { ?v property:P19 resource:Q487352 . ?v rdf:type ontology:Q502895 }
Faustino Rupérez
Faustino Rupérez has birthplace at San Esteban de Gormaz
Faustino Rupérez
action filter_type
action find_reverse
entity San Esteban de Gormaz
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'San Esteban de Gormaz']
SELECT DISTINCT ?v WHERE { ?v property:place_of_birth resource:San_Esteban_de_Gormaz . ?v rdf:type ontology:common_name }
[]