Simple Question (Direct)
Simple Question
Q6319782
P39
Q12737077
USER
What was the position held by János Kővári ?
(Q6319782,P39,c(Q12737077))
action filter_type
action find
entity Q6319782
relation P39
type Q12737077
['Q6319782', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q6319782 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
János Kővári
action filter_type
action find
entity János Kővári
relation position held
type occupation
['János Kővári', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:János_Kővári property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q17590876
SYSTEM
member of the National Assembly of Hungary
Q17590876
(Q6319782,P39,c(Q12737077))
action filter_type
action find
entity Q6319782
relation P39
type Q12737077
The position held by János Kővári was a [ANSWER]
['Q6319782', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q6319782 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
member of the National Assembly of Hungary
The position held by János Kővári was a member of the National Assembly of Hungary
member of the National Assembly of Hungary
action filter_type
action find
entity János Kővári
relation position held
type occupation
['János Kővári', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:János_Kővári property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6319782
P937
Q56061
USER
Which administrative territory is the work location of János Kővári ?
(Q6319782,P937,c(Q56061))
action filter_type
action find
entity Q6319782
relation P937
type Q56061
['Q6319782', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q6319782 property:P937 ?s . ?s rdf:type ontology:Q56061 }
János Kővári
action filter_type
action find
entity János Kővári
relation work location
type administrative territorial entity
['János Kővári', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:János_Kővári property:work_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q6319782,P937,c(Q56061))
action filter_type
action find
entity Q6319782
relation P937
type Q56061
[ANSWER] is the work location of János Kővári
['Q6319782', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q6319782 property:P937 ?s . ?s rdf:type ontology:Q56061 }
Budapest
Budapest is the work location of János Kővári
Budapest
action filter_type
action find
entity János Kővári
relation work location
type administrative territorial entity
['János Kővári', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:János_Kővári property:work_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21076829 Q6319782
P19 P937
Q56061
USER
Which administrative territories are the work locations of János Kővári or were Marco Bubba born in ?
OR((Q6319782,P937,c(Q56061)), (Q21076829,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6319782
relation P937
action find
entity Q21076829
relation P19
type Q56061
{'OR': [['Q6319782', 'P937', {'concept': 'Q56061'}], ['Q21076829', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . { { resource:Q21076829 property:P19 ?b } UNION { resource:Q6319782 property:P937 ?b } } }
Marco Bubba János Kővári
action filter_type
action union
action find
entity János Kővári
relation work location
action find
entity Marco Bubba
relation place of birth
type administrative territorial entity
{'OR': [['János Kővári', 'work location', {'concept': 'administrative territorial entity'}], ['Marco Bubba', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . { { resource:Marco_Bubba property:place_of_birth ?b } UNION { resource:János_Kővári property:work_location ?b } } }
[]
administrative territorial entity
Q1155 Q1781
SYSTEM
Busto Arsizio, Budapest
Q1155 Q1781
OR((Q6319782,P937,c(Q56061)), (Q21076829,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6319782
relation P937
action find
entity Q21076829
relation P19
type Q56061
[ANSWERS] are the work locations of János Kővári or were Marco Bubba born in
{'OR': [['Q6319782', 'P937', {'concept': 'Q56061'}], ['Q21076829', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . { { resource:Q21076829 property:P19 ?b } UNION { resource:Q6319782 property:P937 ?b } } }
Busto Arsizio Budapest
Busto Arsizio and Budapest are the work locations of János Kővári or were Marco Bubba born in
Busto Arsizio Budapest
action filter_type
action union
action find
entity János Kővári
relation work location
action find
entity Marco Bubba
relation place of birth
type administrative territorial entity
{'OR': [['János Kővári', 'work location', {'concept': 'administrative territorial entity'}], ['Marco Bubba', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . { { resource:Marco_Bubba property:place_of_birth ?b } UNION { resource:János_Kővári property:work_location ?b } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories have adopted around the same number of people or holidays as patron saint as that administrative territory ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?v ) { ( ?y ) ( ?x ) } . ?z property:Q28914 ?v } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1445650 }
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?v ) { ( ?y ) ( ?x ) } . ?z property:patron_saint ?v } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:common_name . ?x rdf:type ontology:holiday }
[]
common name holiday administrative territorial entity
Comparative|More/Less|Mult. entity type|Clarification
Q1781
SYSTEM
Did you mean Budapest ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?v ) { ( ?y ) ( ?x ) } . ?z property:Q28914 ?v } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1445650 }
Did you mean Budapest ?
Budapest
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?v ) { ( ?y ) ( ?x ) } . ?z property:patron_saint ?v } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:common_name . ?x rdf:type ontology:holiday }
[]
Comparative Reasoning (All)
USER
No, I meant Busto Arsizio. Could you tell me the answer for that?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
Q1155
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
[]
SYSTEM
95
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))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q28914 ?y } UNION { ?z property:Q28914 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1445650 }
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
95
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:patron_saint ?y } UNION { ?z property:patron_saint ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:common_name . ?x rdf:type ontology:holiday }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1155
P20
Q502895
USER
How many people have Busto Arsizio as the location of death ?
(c(Q502895),P20,Q1155)
action count
action filter_type
action find_reverse
entity Q1155
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1155']
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P20 resource:Q1155 . ?h rdf:type ontology:Q502895 }
Busto Arsizio
action count
action filter_type
action find_reverse
entity Busto Arsizio
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Busto Arsizio']
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:place_of_death resource:Busto_Arsizio . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
60
Q15140507 Q3613834 Q12951561 Q3388173 Q23289439 Q3960878 Q3992518 Q3659313 Q3804826 Q3852947 Q15140490 Q3659908 Q21587793 Q3721219 Q987070 Q20988116 Q3939961 Q1610636 Q15983755 Q3608391 Q3742155 Q16527638 Q15140431 Q3614132 Q3725884 Q5073376 Q15935146 Q3848344 Q16739304 Q15140381 Q3904116 Q16100082 Q16597210 Q15140344 Q23753990 Q20056572 Q3726078 Q3848660 Q23671543 Q3897119 Q3659772 Q3665498 Q3955763 Q3802497 Q1170553 Q15517109 Q3762572 Q3659867 Q1491847 Q3659028 Q21013840 Q2849511 Q988248 Q3639322 Q3770870 Q3676357 Q3838864 Q3771300 Q15220994 Q3725676
(c(Q502895),P20,Q1155)
action count
action filter_type
action find_reverse
entity Q1155
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q1155']
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P20 resource:Q1155 . ?h rdf:type ontology:Q502895 }
Narciso Ceriotti Ambrogio Gianotti Enrico Crespi Pietro Rimoldi Aldo Neri Silvio Gambini Tom Ponzi Carlo Fabrizio Parona Ivanhoe Gambini Mauro Venegoni Raffaele Montoli Carlo Tosi Giuseppe Morelli Eldino Danelutti Antonio Azimonti Aldo Alberti Rodolfo Gregar Emidio Cavigioli Angelo Volontè Alberto Macchi Felice Galazzi Antonio Maria Crespi Bruno Grampa Amerigo Guasti Enrico Mara Aldo Bandini Giambattista Roggia Mario Bianchi Giuseppe Borri Angelo Bottigelli Pietro Oldani Giuseppe Cerana Roberto Ferrario Luigi Bellotti Pietro Antonio Crespi Castoldi Francesco Nannetti Enrico Tosi Mario Grampa Franco Poggi Pasquale Pozzi Carlo Reguzzoni Cesare Pellegatta Serafino Zanella Isidoro Meschi Enrico Candiani Maria Piantanida Gian Alberto Bossi Carlo Speroni Vittorino Calloni Carlo Azimonti Luigi Candiani Angelo Turconi Camillo Baffi Biagio Bellotti Giuseppe Mancini Ciccio Busacca Lucio Flauto Giuseppe Rebesco Luigi Toia Enrico Castiglioni
60
action count
action filter_type
action find_reverse
entity Busto Arsizio
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Busto Arsizio']
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:place_of_death resource:Busto_Arsizio . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1155
P138
Q1914636
USER
Which activity is named after that administrative territory ?
action filter_type
action find_reverse
entity Q1155
relation P138
type Q1914636
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1914636 . ?b property:P138 resource:Q1155 }
Busto Arsizio
action filter_type
action find_reverse
entity Busto Arsizio
relation named after
type activity
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:activity . ?b property:named_after resource:Busto_Arsizio }
[]
activity
Q16632555
SYSTEM
WikiProject Bustopedia
Q16632555
action filter_type
action find_reverse
entity Q1155
relation P138
type Q1914636
[ANSWER] is named after that administrative territory
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1914636 . ?b property:P138 resource:Q1155 }
WikiProject Bustopedia
WikiProject Bustopedia is named after that administrative territory
WikiProject Bustopedia
action filter_type
action find_reverse
entity Busto Arsizio
relation named after
type activity
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:activity . ?b property:named_after resource:Busto_Arsizio }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2887647 Q21076829
P27
Q15617994
USER
Which administrative territories are Marco Bubba or María Esperanza de Bianchini an inhabitant of ?
OR((Q21076829,P27,c(Q15617994)), (Q2887647,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21076829
relation P27
action find
entity Q2887647
relation P27
type Q15617994
{'OR': [['Q21076829', 'P27', {'concept': 'Q15617994'}], ['Q2887647', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q21076829 property:P27 ?q } UNION { resource:Q2887647 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
María Esperanza de Bianchini Marco Bubba
action filter_type
action union
action find
entity Marco Bubba
relation country of citizenship
action find
entity María Esperanza de Bianchini
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Marco Bubba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['María Esperanza de Bianchini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Marco_Bubba property:country_of_citizenship ?q } UNION { resource:María_Esperanza_de_Bianchini property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q717
SYSTEM
Italy, Venezuela
Q38 Q717
OR((Q21076829,P27,c(Q15617994)), (Q2887647,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21076829
relation P27
action find
entity Q2887647
relation P27
type Q15617994
[ANSWERS] are Marco Bubba or María Esperanza de Bianchini an inhabitant of
{'OR': [['Q21076829', 'P27', {'concept': 'Q15617994'}], ['Q2887647', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q21076829 property:P27 ?q } UNION { resource:Q2887647 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Italy Venezuela
Italy and Venezuela are Marco Bubba or María Esperanza de Bianchini an inhabitant of
Italy Venezuela
action filter_type
action union
action find
entity Marco Bubba
relation country of citizenship
action find
entity María Esperanza de Bianchini
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Marco Bubba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['María Esperanza de Bianchini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Marco_Bubba property:country_of_citizenship ?q } UNION { resource:María_Esperanza_de_Bianchini property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q7681058 Q38
P530 P17
Q1048835
USER
Which political territories have diplomatic relationships with Italy and are not Tamborine Mountain State High School present in ?
AND((Q38,P530,c(Q1048835)), NOT((Q7681058,P17,c(Q1048835))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q7681058
relation P17
type Q1048835
{'AND': [['Q38', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q7681058', 'P17', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?b WHERE { resource:Q38 property:P530 ?b . MINUS { resource:Q7681058 property:P17 ?b } . ?b rdf:type ontology:Q1048835 }
Tamborine Mountain State High School Italy
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity Tamborine Mountain State High School
relation country
type political territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Tamborine Mountain State High School', 'country', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?b WHERE { resource:Italy property:diplomatic_relation ?b . MINUS { resource:Tamborine_Mountain_State_High_School property:country ?b } . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q16 Q40 Q35 Q183
SYSTEM
New Zealand, Canada, Austria, Denmark, Germany
Q664 Q16 Q40 Q35 Q183
AND((Q38,P530,c(Q1048835)), NOT((Q7681058,P17,c(Q1048835))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q7681058
relation P17
type Q1048835
[ANSWERS] have diplomatic relationships with Italy and are not Tamborine Mountain State High School present in
{'AND': [['Q38', 'P530', {'concept': 'Q1048835'}], {'NOT': [['Q7681058', 'P17', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?b WHERE { resource:Q38 property:P530 ?b . MINUS { resource:Q7681058 property:P17 ?b } . ?b rdf:type ontology:Q1048835 }
New Zealand Canada Austria Denmark Germany
New Zealand, Canada, Austria, Denmark and Germany have diplomatic relationships with Italy and are not Tamborine Mountain State High School present in
New Zealand Canada Austria Denmark Germany
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity Tamborine Mountain State High School
relation country
type political territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}], {'NOT': [['Tamborine Mountain State High School', 'country', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?b WHERE { resource:Italy property:diplomatic_relation ?b . MINUS { resource:Tamborine_Mountain_State_High_School property:country ?b } . ?b rdf:type ontology:political_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q1048835 Q15617994
USER
How many political territories and administrative territories share border with that political territory ?
(Q16,P47,c(Q1048835)) (Q16,P47,c(Q15617994)) (Q664,P47,c(Q1048835)) (Q664,P47,c(Q15617994)) (Q16,P47,c(Q1048835)) (Q16,P47,c(Q15617994)) (Q40,P47,c(Q1048835)) (Q40,P47,c(Q15617994)) (Q35,P47,c(Q1048835)) (Q35,P47,c(Q15617994)) (Q183,P47,c(Q1048835)) (Q183,P47,c(Q15617994))
['Q16', 'P47', {'concept': 'Q1048835'}] ['Q16', 'P47', {'concept': 'Q15617994'}] ['Q664', 'P47', {'concept': 'Q1048835'}] ['Q664', 'P47', {'concept': 'Q15617994'}] ['Q16', 'P47', {'concept': 'Q1048835'}] ['Q16', 'P47', {'concept': 'Q15617994'}] ['Q40', 'P47', {'concept': 'Q1048835'}] ['Q40', 'P47', {'concept': 'Q15617994'}] ['Q35', 'P47', {'concept': 'Q1048835'}] ['Q35', 'P47', {'concept': 'Q15617994'}] ['Q183', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1031917 property:P47 ?z } UNION { resource:Q1031917 property:P47 ?y } UNION { resource:Q21470645 property:P47 ?z } UNION { resource:Q21470645 property:P47 ?y } UNION { resource:Q1031917 property:P47 ?z } UNION { resource:Q1031917 property:P47 ?y } UNION { resource:Q359060 property:P47 ?z } UNION { resource:Q359060 property:P47 ?y } UNION { resource:Q22286761 property:P47 ?z } UNION { resource:Q22286761 property:P47 ?y } UNION { resource:Q423030 property:P47 ?z } UNION { resource:Q423030 property:P47 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
['Canada', 'shares border with', {'concept': 'political territorial entity'}] ['Canada', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['New Zealand', 'shares border with', {'concept': 'political territorial entity'}] ['New Zealand', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'shares border with', {'concept': 'political territorial entity'}] ['Canada', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Austria', 'shares border with', {'concept': 'political territorial entity'}] ['Austria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Denmark', 'shares border with', {'concept': 'political territorial entity'}] ['Denmark', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Canada property:shares_border_with ?z } UNION { resource:Canada property:shares_border_with ?y } UNION { resource:New_Zealand property:shares_border_with ?z } UNION { resource:New_Zealand property:shares_border_with ?y } UNION { resource:Canada property:shares_border_with ?z } UNION { resource:Canada property:shares_border_with ?y } UNION { resource:Austria property:shares_border_with ?z } UNION { resource:Austria property:shares_border_with ?y } UNION { resource:Denmark property:shares_border_with ?z } UNION { resource:Denmark property:shares_border_with ?y } UNION { resource:Germany property:shares_border_with ?z } UNION { resource:Germany property:shares_border_with ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
political territorial entity designation for an administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q40
SYSTEM
Did you mean Austria ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1031917 property:P47 ?z } UNION { resource:Q1031917 property:P47 ?y } UNION { resource:Q21470645 property:P47 ?z } UNION { resource:Q21470645 property:P47 ?y } UNION { resource:Q1031917 property:P47 ?z } UNION { resource:Q1031917 property:P47 ?y } UNION { resource:Q359060 property:P47 ?z } UNION { resource:Q359060 property:P47 ?y } UNION { resource:Q22286761 property:P47 ?z } UNION { resource:Q22286761 property:P47 ?y } UNION { resource:Q423030 property:P47 ?z } UNION { resource:Q423030 property:P47 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
Did you mean Austria ?
Austria
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Canada property:shares_border_with ?z } UNION { resource:Canada property:shares_border_with ?y } UNION { resource:New_Zealand property:shares_border_with ?z } UNION { resource:New_Zealand property:shares_border_with ?y } UNION { resource:Canada property:shares_border_with ?z } UNION { resource:Canada property:shares_border_with ?y } UNION { resource:Austria property:shares_border_with ?z } UNION { resource:Austria property:shares_border_with ?y } UNION { resource:Denmark property:shares_border_with ?z } UNION { resource:Denmark property:shares_border_with ?y } UNION { resource:Germany property:shares_border_with ?z } UNION { resource:Germany property:shares_border_with ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Canada. Could you tell me the answer for that?
(Q16,P47,c(Q1048835)) (Q16,P47,c(Q15617994)) (Q664,P47,c(Q1048835)) (Q664,P47,c(Q15617994)) (Q16,P47,c(Q1048835)) (Q16,P47,c(Q15617994)) (Q40,P47,c(Q1048835)) (Q40,P47,c(Q15617994)) (Q35,P47,c(Q1048835)) (Q35,P47,c(Q15617994)) (Q183,P47,c(Q1048835)) (Q183,P47,c(Q15617994))
Q16
['Q16', 'P47', {'concept': 'Q1048835'}] ['Q16', 'P47', {'concept': 'Q15617994'}] ['Q664', 'P47', {'concept': 'Q1048835'}] ['Q664', 'P47', {'concept': 'Q15617994'}] ['Q16', 'P47', {'concept': 'Q1048835'}] ['Q16', 'P47', {'concept': 'Q15617994'}] ['Q40', 'P47', {'concept': 'Q1048835'}] ['Q40', 'P47', {'concept': 'Q15617994'}] ['Q35', 'P47', {'concept': 'Q1048835'}] ['Q35', 'P47', {'concept': 'Q15617994'}] ['Q183', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q15617994'}]
['Canada', 'shares border with', {'concept': 'political territorial entity'}] ['Canada', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['New Zealand', 'shares border with', {'concept': 'political territorial entity'}] ['New Zealand', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'shares border with', {'concept': 'political territorial entity'}] ['Canada', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Austria', 'shares border with', {'concept': 'political territorial entity'}] ['Austria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Denmark', 'shares border with', {'concept': 'political territorial entity'}] ['Denmark', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
3 political territories and 3 administrative territories
Q1979 Q223 Q4969463 Q30 Q38610 Q34617
(Q16,P47,c(Q1048835)) (Q16,P47,c(Q15617994)) (Q664,P47,c(Q1048835)) (Q664,P47,c(Q15617994)) (Q16,P47,c(Q1048835)) (Q16,P47,c(Q15617994)) (Q40,P47,c(Q1048835)) (Q40,P47,c(Q15617994)) (Q35,P47,c(Q1048835)) (Q35,P47,c(Q15617994)) (Q183,P47,c(Q1048835)) (Q183,P47,c(Q15617994))
[ANSWER]
['Q16', 'P47', {'concept': 'Q1048835'}] ['Q16', 'P47', {'concept': 'Q15617994'}] ['Q664', 'P47', {'concept': 'Q1048835'}] ['Q664', 'P47', {'concept': 'Q15617994'}] ['Q16', 'P47', {'concept': 'Q1048835'}] ['Q16', 'P47', {'concept': 'Q15617994'}] ['Q40', 'P47', {'concept': 'Q1048835'}] ['Q40', 'P47', {'concept': 'Q15617994'}] ['Q35', 'P47', {'concept': 'Q1048835'}] ['Q35', 'P47', {'concept': 'Q15617994'}] ['Q183', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1031917 property:P47 ?z } UNION { resource:Q1031917 property:P47 ?y } UNION { resource:Q21470645 property:P47 ?z } UNION { resource:Q21470645 property:P47 ?y } UNION { resource:Q1031917 property:P47 ?z } UNION { resource:Q1031917 property:P47 ?y } UNION { resource:Q359060 property:P47 ?z } UNION { resource:Q359060 property:P47 ?y } UNION { resource:Q22286761 property:P47 ?z } UNION { resource:Q22286761 property:P47 ?y } UNION { resource:Q423030 property:P47 ?z } UNION { resource:Q423030 property:P47 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
Prince Edward Island Greenland British Arctic Territories United States of America Dominion of Newfoundland Saint Pierre and Miquelon
3 political territories and 3 administrative territories
['Canada', 'shares border with', {'concept': 'political territorial entity'}] ['Canada', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['New Zealand', 'shares border with', {'concept': 'political territorial entity'}] ['New Zealand', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'shares border with', {'concept': 'political territorial entity'}] ['Canada', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Austria', 'shares border with', {'concept': 'political territorial entity'}] ['Austria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Denmark', 'shares border with', {'concept': 'political territorial entity'}] ['Denmark', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Canada property:shares_border_with ?z } UNION { resource:Canada property:shares_border_with ?y } UNION { resource:New_Zealand property:shares_border_with ?z } UNION { resource:New_Zealand property:shares_border_with ?y } UNION { resource:Canada property:shares_border_with ?z } UNION { resource:Canada property:shares_border_with ?y } UNION { resource:Austria property:shares_border_with ?z } UNION { resource:Austria property:shares_border_with ?y } UNION { resource:Denmark property:shares_border_with ?z } UNION { resource:Denmark property:shares_border_with ?y } UNION { resource:Germany property:shares_border_with ?z } UNION { resource:Germany property:shares_border_with ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]