Simple Question (Direct)
Simple Question
Q16188205
P19
Q56061
USER
Where was Josep Cau born ?
(Q16188205,P19,c(Q56061))
action filter_type
action find
entity Q16188205
relation P19
type Q56061
['Q16188205', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q16188205 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Josep Cau
action filter_type
action find
entity Josep Cau
relation place of birth
type administrative territorial entity
['Josep Cau', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Josep_Cau property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q16188205,P19,c(Q56061))
action filter_type
action find
entity Q16188205
relation P19
type Q56061
Josep Cau was born in [ANSWER]
['Q16188205', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q16188205 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Barcelona
Josep Cau was born in Barcelona
Barcelona
action filter_type
action find
entity Josep Cau
relation place of birth
type administrative territorial entity
['Josep Cau', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Josep_Cau property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1492
P237
Q17335294
USER
What is the ensign for that administrative territory ?
(Q1492,P237,c(Q17335294))
action filter_type
action find
entity Q1492
relation P237
type Q17335294
['Q1492', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q17335294 . resource:Q1492 property:P237 ?d }
Barcelona
action filter_type
action find
entity Barcelona
relation coat of arms
type flag or coat of arms
['Barcelona', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:flag_or_coat_of_arms . resource:Barcelona property:coat_of_arms ?d }
[]
flag or coat of arms
Q8777837
SYSTEM
Coat of Arms of Barcelona
Q8777837
(Q1492,P237,c(Q17335294))
action filter_type
action find
entity Q1492
relation P237
type Q17335294
The ensign for that administrative territory is the [ANSWER]
['Q1492', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q17335294 . resource:Q1492 property:P237 ?d }
Coat of Arms of Barcelona
The ensign for that administrative territory is the Coat of Arms of Barcelona
Coat of Arms of Barcelona
action filter_type
action find
entity Barcelona
relation coat of arms
type flag or coat of arms
['Barcelona', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:flag_or_coat_of_arms . resource:Barcelona property:coat_of_arms ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8777837
P17
Q15617994
USER
Which administrative territory is that coat of arms located in ?
(Q8777837,P17,c(Q15617994))
action filter_type
action find
entity Q8777837
relation P17
type Q15617994
['Q8777837', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q8777837 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Coat of Arms of Barcelona
action filter_type
action find
entity Coat of Arms of Barcelona
relation country
type designation for an administrative territorial entity
['Coat of Arms of Barcelona', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Coat_of_Arms_of_Barcelona property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q8777837,P17,c(Q15617994))
action filter_type
action find
entity Q8777837
relation P17
type Q15617994
That coat of arms is located in [ANSWER]
['Q8777837', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q8777837 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Spain
That coat of arms is located in Spain
Spain
action filter_type
action find
entity Coat of Arms of Barcelona
relation country
type designation for an administrative territorial entity
['Coat of Arms of Barcelona', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Coat_of_Arms_of_Barcelona property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P112
Q484652
USER
Which international organization was founded by that administrative territory ?
(c(Q484652),P112,Q29)
action filter_type
action find_reverse
entity Q29
relation P112
type Q484652
[{'concept': 'Q484652'}, 'P112', 'Q29']
SELECT DISTINCT ?p WHERE { ?p property:P112 resource:Q29 . ?p rdf:type ontology:Q484652 }
Spain
action filter_type
action find_reverse
entity Spain
relation founder
type international organization
[{'concept': 'international organization'}, 'founder', 'Spain']
SELECT DISTINCT ?p WHERE { ?p property:founder resource:Spain . ?p rdf:type ontology:international_organization }
[]
international organization
Q42262
SYSTEM
European Space Agency
Q42262
(c(Q484652),P112,Q29)
action filter_type
action find_reverse
entity Q29
relation P112
type Q484652
[ANSWER] was founded by that administrative territory
[{'concept': 'Q484652'}, 'P112', 'Q29']
SELECT DISTINCT ?p WHERE { ?p property:P112 resource:Q29 . ?p rdf:type ontology:Q484652 }
European Space Agency
European Space Agency was founded by that administrative territory
European Space Agency
action filter_type
action find_reverse
entity Spain
relation founder
type international organization
[{'concept': 'international organization'}, 'founder', 'Spain']
SELECT DISTINCT ?p WHERE { ?p property:founder resource:Spain . ?p rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q29
P47
Q15617994
USER
How many administrative territories share the border with Spain ?
(Q29,P47,c(Q15617994))
action count
action filter_type
action find
entity Q29
relation P47
type Q15617994
['Q29', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q29 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
Spain
action count
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Spain property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
Q142 Q45 Q1028 Q1025 Q228
(Q29,P47,c(Q15617994))
action count
action filter_type
action find
entity Q29
relation P47
type Q15617994
[ANSWER]
['Q29', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q29 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
France Portugal Morocco Mauritania Andorra
5
action count
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Spain property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q91373
P47
Q15617994
USER
And how about Radicofani?
(Q91373,P47,c(Q15617994))
action count
action filter_type
action find
entity Q91373
relation P47
type Q15617994
['Q91373', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q91373 property:P47 ?e . ?e rdf:type ontology:Q15617994 }
Radicofani
action count
action filter_type
action find
entity Radicofani
relation shares border with
type designation for an administrative territorial entity
['Radicofani', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Radicofani property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
Q91447 Q91096 Q91403 Q91341 Q91152
(Q91373,P47,c(Q15617994))
action count
action filter_type
action find
entity Q91373
relation P47
type Q15617994
[ANSWER]
['Q91373', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q91373 property:P47 ?e . ?e rdf:type ontology:Q15617994 }
Sarteano Abbadia San Salvatore San Casciano dei Bagni Pienza Castiglione d'Orcia
5
action count
action filter_type
action find
entity Radicofani
relation shares border with
type designation for an administrative territorial entity
['Radicofani', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Radicofani property:shares_border_with ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q91360
Q15617994
USER
And also tell me about Radda in Chianti?
(Q91360,P47,c(Q15617994))
action count
action filter_type
action find
entity Q91360
relation P47
type Q15617994
['Q91360', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Q91360 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Radda in Chianti
action count
action filter_type
action find
entity Radda in Chianti
relation shares border with
type designation for an administrative territorial entity
['Radda in Chianti', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Radda_in_Chianti property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
(Q91360,P47,c(Q15617994))
action count
action filter_type
action find
entity Q91360
relation P47
type Q15617994
[ANSWER]
['Q91360', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Q91360 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
5
action count
action filter_type
action find
entity Radda in Chianti
relation shares border with
type designation for an administrative territorial entity
['Radda in Chianti', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Radda_in_Chianti property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q230 Q42262
P530 P17
Q15617994
USER
Which administrative territories do European Space Agency belong to or have diplomatic relationships with Georgia ?
OR((Q42262,P17,c(Q15617994)), (Q230,P530,c(Q15617994)))
action filter_type
action union
action find
entity Q42262
relation P17
action find
entity Q230
relation P530
type Q15617994
{'OR': [['Q42262', 'P17', {'concept': 'Q15617994'}], ['Q230', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q42262 property:P17 ?c } UNION { resource:Q230 property:P530 ?c } } . ?c rdf:type ontology:Q15617994 }
Georgia European Space Agency
action filter_type
action union
action find
entity European Space Agency
relation country
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
{'OR': [['European Space Agency', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:European_Space_Agency property:country ?c } UNION { resource:Georgia property:diplomatic_relation ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q710 Q43 Q191 Q1005 Q794 Q792 Q774 Q805 Q965 Q30
SYSTEM
Some of them are Kiribati, Turkey, Estonia, Gambia, Iran, El Salvador, Guatemala, Yemen, Burkina Faso, United States of America
Q986 Q805 Q1007 Q1006 Q801 Q800 Q184 Q1008 Q971 Q822 Q241 Q736 Q786 Q686 Q347 Q414 Q399 Q424 Q142 Q225 Q29 Q222 Q1005 Q145 Q262 Q189 Q784 Q31 Q229 Q228 Q32 Q17 Q30 Q37 Q79 Q851 Q1011 Q38 Q902 Q1009 Q878 Q874 Q739 Q774 Q423 Q710 Q810 Q983 Q668 Q965 Q1016 Q967 Q974 Q734 Q1013 Q191 Q115 Q114 Q117 Q398 Q970 Q750 Q252 Q963 Q211 Q43 Q155 Q792 Q219 Q796 Q889 Q227 Q954 Q794 Q27 Q921 Q819 Q884 Q953 Q881 Q916
OR((Q42262,P17,c(Q15617994)), (Q230,P530,c(Q15617994)))
action filter_type
action union
action find
entity Q42262
relation P17
action find
entity Q230
relation P530
type Q15617994
European Space Agency belong to [ANSWERS]
{'OR': [['Q42262', 'P17', {'concept': 'Q15617994'}], ['Q230', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q42262 property:P17 ?c } UNION { resource:Q230 property:P530 ?c } } . ?c rdf:type ontology:Q15617994 }
Eritrea Yemen Guinea-Bissau Guinea Israel Costa Rica Belarus Côte d'Ivoire Republic of the Congo Lebanon Cuba Ecuador Dominican Republic Vanuatu Liechtenstein Argentina Armenia Cambodia France Bosnia and Herzegovina Spain Albania Gambia United Kingdom Algeria Iceland Dominica Belgium Cyprus Andorra Luxembourg Japan United States of America Lithuania Egypt Saudi Arabia Cape Verde Italy Bangladesh Cameroon United Arab Emirates Turkmenistan Colombia Guatemala North Korea Kiribati Jordan Equatorial Guinea India Burkina Faso Libya Burundi Democratic Republic of the Congo Guyana Lesotho Estonia Ethiopia Kenya Ghana Bahrain Comoros Bolivia Indonesia Botswana Latvia Turkey Brazil El Salvador Bulgaria Iraq Afghanistan Azerbaijan Zimbabwe Iran Ireland Brunei Laos South Korea Zambia Vietnam Angola
European Space Agency belong to Kiribati, Turkey, Estonia, Gambia, Iran, El Salvador, Guatemala, Yemen, Burkina Faso and United States of America
Kiribati Turkey Estonia Gambia Iran El Salvador Guatemala Yemen Burkina Faso United States of America
action filter_type
action union
action find
entity European Space Agency
relation country
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
{'OR': [['European Space Agency', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:European_Space_Agency property:country ?c } UNION { resource:Georgia property:diplomatic_relation ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q230
P530
Q15617994
USER
Do Georgia have diplomatic associations with those ones ?
(Q230,P530,Q710) (Q230,P530,Q43) (Q230,P530,Q191) (Q230,P530,Q1005) (Q230,P530,Q794) (Q230,P530,Q792) (Q230,P530,Q774) (Q230,P530,Q805) (Q230,P530,Q965) (Q230,P530,Q30)
action is_in
entity prev_answer
action find
entity Q230
relation P530
['Q230', 'P530', 'Q710'] ['Q230', 'P530', 'Q43'] ['Q230', 'P530', 'Q191'] ['Q230', 'P530', 'Q1005'] ['Q230', 'P530', 'Q794'] ['Q230', 'P530', 'Q792'] ['Q230', 'P530', 'Q774'] ['Q230', 'P530', 'Q805'] ['Q230', 'P530', 'Q965'] ['Q230', 'P530', 'Q30']
ASK WHERE { VALUES ( ?q ) { ( resource:Q986 ) ( resource:Q805 ) ( resource:Q1007 ) } . resource:Q230 property:P530 ?q }
Georgia
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Kiribati'] ['Georgia', 'diplomatic relation', 'Turkey'] ['Georgia', 'diplomatic relation', 'Estonia'] ['Georgia', 'diplomatic relation', 'Gambia'] ['Georgia', 'diplomatic relation', 'Iran'] ['Georgia', 'diplomatic relation', 'El Salvador'] ['Georgia', 'diplomatic relation', 'Guatemala'] ['Georgia', 'diplomatic relation', 'Yemen'] ['Georgia', 'diplomatic relation', 'Burkina Faso'] ['Georgia', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?q ) { ( resource:Eritrea ) ( resource:Yemen ) ( resource:Guinea-Bissau ) } . resource:Georgia property:diplomatic_relation ?q }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P530,Q710) (Q230,P530,Q43) (Q230,P530,Q191) (Q230,P530,Q1005) (Q230,P530,Q794) (Q230,P530,Q792) (Q230,P530,Q774) (Q230,P530,Q805) (Q230,P530,Q965) (Q230,P530,Q30)
action is_in
entity prev_answer
action find
entity Q230
relation P530
[ANSWER]
['Q230', 'P530', 'Q710'] ['Q230', 'P530', 'Q43'] ['Q230', 'P530', 'Q191'] ['Q230', 'P530', 'Q1005'] ['Q230', 'P530', 'Q794'] ['Q230', 'P530', 'Q792'] ['Q230', 'P530', 'Q774'] ['Q230', 'P530', 'Q805'] ['Q230', 'P530', 'Q965'] ['Q230', 'P530', 'Q30']
ASK WHERE { VALUES ( ?q ) { ( resource:Q986 ) ( resource:Q805 ) ( resource:Q1007 ) } . resource:Q230 property:P530 ?q }
Yes
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Kiribati'] ['Georgia', 'diplomatic relation', 'Turkey'] ['Georgia', 'diplomatic relation', 'Estonia'] ['Georgia', 'diplomatic relation', 'Gambia'] ['Georgia', 'diplomatic relation', 'Iran'] ['Georgia', 'diplomatic relation', 'El Salvador'] ['Georgia', 'diplomatic relation', 'Guatemala'] ['Georgia', 'diplomatic relation', 'Yemen'] ['Georgia', 'diplomatic relation', 'Burkina Faso'] ['Georgia', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?q ) { ( resource:Eritrea ) ( resource:Yemen ) ( resource:Guinea-Bissau ) } . resource:Georgia property:diplomatic_relation ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1492 Q7424063 Q6441
P190
Q56061
USER
Is Barcelona sister town of Saricho and Montpellier ?
(Q1492,P190,Q7424063) (Q1492,P190,Q6441)
action is_in
entity Q1492
action intersection
action find_reverse
entity Q7424063
relation P190
action find_reverse
entity Q6441
relation P190
['Q1492', 'P190', 'Q7424063'] ['Q1492', 'P190', 'Q6441']
ASK WHERE { resource:Q1492 property:P190 resource:Q7424063 . resource:Q1492 property:P190 resource:Q6441 }
Barcelona Saricho Montpellier
action is_in
entity Barcelona
action intersection
action find_reverse
entity Saricho
relation sister city
action find_reverse
entity Montpellier
relation sister city
['Barcelona', 'sister city', 'Saricho'] ['Barcelona', 'sister city', 'Montpellier']
ASK WHERE { resource:Barcelona property:sister_city resource:Saricho . resource:Barcelona property:sister_city resource:Montpellier }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q1492,P190,Q7424063) (Q1492,P190,Q6441)
action is_in
entity Q1492
action intersection
action find_reverse
entity Q7424063
relation P190
action find_reverse
entity Q6441
relation P190
[ANSWER]
['Q1492', 'P190', 'Q7424063'] ['Q1492', 'P190', 'Q6441']
ASK WHERE { resource:Q1492 property:P190 resource:Q7424063 . resource:Q1492 property:P190 resource:Q6441 }
NO and YES respectively
action is_in
entity Barcelona
action intersection
action find_reverse
entity Saricho
relation sister city
action find_reverse
entity Montpellier
relation sister city
['Barcelona', 'sister city', 'Saricho'] ['Barcelona', 'sister city', 'Montpellier']
ASK WHERE { resource:Barcelona property:sister_city resource:Saricho . resource:Barcelona property:sister_city resource:Montpellier }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q805
P463
Q56061
USER
Which administrative territory had Yemen as its member ?
(Q805,P463,c(Q56061))
action filter_type
action find
entity Q805
relation P463
type Q56061
['Q805', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q805 property:P463 ?h . ?h rdf:type ontology:Q56061 }
Yemen
action filter_type
action find
entity Yemen
relation member of
type administrative territorial entity
['Yemen', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Yemen property:member_of ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7172
SYSTEM
Arab League
Q7172
(Q805,P463,c(Q56061))
action filter_type
action find
entity Q805
relation P463
type Q56061
Had [ANSWER] had Yemen as its member
['Q805', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q805 property:P463 ?h . ?h rdf:type ontology:Q56061 }
Arab League
Had Arab League had Yemen as its member
Arab League
action filter_type
action find
entity Yemen
relation member of
type administrative territorial entity
['Yemen', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Yemen property:member_of ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]