Simple Question (Direct)
Simple Question
Q5133375
P21
Q290
USER
What is the sex of Climaco Pinto Leandro ?
(Q5133375,P21,c(Q290))
action filter_type
action find
entity Q5133375
relation P21
type Q290
['Q5133375', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5133375 property:P21 ?z . ?z rdf:type ontology:Q290 }
Climaco Pinto Leandro
action filter_type
action find
entity Climaco Pinto Leandro
relation gender
type sex
['Climaco Pinto Leandro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Climaco_Pinto_Leandro property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5133375,P21,c(Q290))
action filter_type
action find
entity Q5133375
relation P21
type Q290
The sex of Climaco Pinto Leandro is a [ANSWER]
['Q5133375', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5133375 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
The sex of Climaco Pinto Leandro is a male
male
action filter_type
action find
entity Climaco Pinto Leandro
relation gender
type sex
['Climaco Pinto Leandro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Climaco_Pinto_Leandro property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5133375
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Climaco Pinto Leandro ?
(Q5133375,P27,c(Q15617994))
action filter_type
action find
entity Q5133375
relation P27
type Q15617994
['Q5133375', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q5133375 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Climaco Pinto Leandro
action filter_type
action find
entity Climaco Pinto Leandro
relation country of citizenship
type designation for an administrative territorial entity
['Climaco Pinto Leandro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Climaco_Pinto_Leandro property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q5133375,P27,c(Q15617994))
action filter_type
action find
entity Q5133375
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Climaco Pinto Leandro
['Q5133375', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q5133375 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Brazil
Brazil is the country of citizenship of Climaco Pinto Leandro
Brazil
action filter_type
action find
entity Climaco Pinto Leandro
relation country of citizenship
type designation for an administrative territorial entity
['Climaco Pinto Leandro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Climaco_Pinto_Leandro property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q155 Q734
P47
Q15617994
USER
Does Guyana share the border with that one ?
(Q155,P47,Q734)
action is_in
entity Q734
action find
entity Q155
relation P47
['Q155', 'P47', 'Q734']
ASK WHERE { resource:Q155 property:P47 resource:Q734 }
Brazil Guyana
action is_in
entity Guyana
action find
entity Brazil
relation shares border with
['Brazil', 'shares border with', 'Guyana']
ASK WHERE { resource:Brazil property:shares_border_with resource:Guyana }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P47,Q734)
action is_in
entity Q734
action find
entity Q155
relation P47
[ANSWER]
['Q155', 'P47', 'Q734']
ASK WHERE { resource:Q155 property:P47 resource:Q734 }
Yes
action is_in
entity Guyana
action find
entity Brazil
relation shares border with
['Brazil', 'shares border with', 'Guyana']
ASK WHERE { resource:Brazil property:shares_border_with resource:Guyana }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5133375
P19
Q56061
USER
Which administrative territory was Climaco Pinto Leandro born in ?
(Q5133375,P19,c(Q56061))
action filter_type
action find
entity Q5133375
relation P19
type Q56061
['Q5133375', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q5133375 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Climaco Pinto Leandro
action filter_type
action find
entity Climaco Pinto Leandro
relation place of birth
type administrative territorial entity
['Climaco Pinto Leandro', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Climaco_Pinto_Leandro property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q174
SYSTEM
São Paulo
Q174
(Q5133375,P19,c(Q56061))
action filter_type
action find
entity Q5133375
relation P19
type Q56061
Climaco Pinto Leandro was born in [ANSWER]
['Q5133375', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q5133375 property:P19 ?g . ?g rdf:type ontology:Q56061 }
São Paulo
Climaco Pinto Leandro was born in São Paulo
São Paulo
action filter_type
action find
entity Climaco Pinto Leandro
relation place of birth
type administrative territorial entity
['Climaco Pinto Leandro', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Climaco_Pinto_Leandro property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q730602
Q56061
USER
And what about Ferdi Sabit Soyer?
(Q730602,P19,c(Q56061))
action filter_type
action find
entity Q730602
relation P19
type Q56061
['Q730602', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q730602 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Ferdi Sabit Soyer
action filter_type
action find
entity Ferdi Sabit Soyer
relation place of birth
type administrative territorial entity
['Ferdi Sabit Soyer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ferdi_Sabit_Soyer property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3856
SYSTEM
Nicosia
Q3856
(Q730602,P19,c(Q56061))
action filter_type
action find
entity Q730602
relation P19
type Q56061
[ANSWER]
['Q730602', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q730602 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Nicosia
Nicosia
action filter_type
action find
entity Ferdi Sabit Soyer
relation place of birth
type administrative territorial entity
['Ferdi Sabit Soyer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ferdi_Sabit_Soyer property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3856 Q16766947
P19
Q502895
USER
Was Kostakis Alexandrou born at that administrative territory ?
(Q16766947,P19,Q3856)
action is_in
entity Q3856
action find
entity Q16766947
relation P19
['Q16766947', 'P19', 'Q3856']
ASK WHERE { resource:Q16766947 property:P19 resource:Q3856 }
Nicosia Kostakis Alexandrou
action is_in
entity Nicosia
action find
entity Kostakis Alexandrou
relation place of birth
['Kostakis Alexandrou', 'place of birth', 'Nicosia']
ASK WHERE { resource:Kostakis_Alexandrou property:place_of_birth resource:Nicosia }
[]
common name
SYSTEM
YES
(Q16766947,P19,Q3856)
action is_in
entity Q3856
action find
entity Q16766947
relation P19
[ANSWER]
['Q16766947', 'P19', 'Q3856']
ASK WHERE { resource:Q16766947 property:P19 resource:Q3856 }
Yes
action is_in
entity Nicosia
action find
entity Kostakis Alexandrou
relation place of birth
['Kostakis Alexandrou', 'place of birth', 'Nicosia']
ASK WHERE { resource:Kostakis_Alexandrou property:place_of_birth resource:Nicosia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q155 Q148
P530
Q15617994
USER
Does People's Republic of China have a diplomatic relationship with Brazil ?
(Q155,P530,Q148)
action is_in
entity Q148
action find
entity Q155
relation P530
['Q155', 'P530', 'Q148']
ASK WHERE { resource:Q155 property:P530 resource:Q148 }
Brazil People's Republic of China
action is_in
entity People's Republic of China
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Brazil property:diplomatic_relation resource:People's_Republic_of_China }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q148)
action is_in
entity Q148
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q148']
ASK WHERE { resource:Q155 property:P530 resource:Q148 }
Yes
action is_in
entity People's Republic of China
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Brazil property:diplomatic_relation resource:People's_Republic_of_China }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q778578 Q16766947
P27
Q15617994
USER
Which administrative territories are the native countriesof Kostakis Alexandrou or Emil Miljković ?
OR((Q16766947,P27,c(Q15617994)), (Q778578,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16766947
relation P27
action find
entity Q778578
relation P27
type Q15617994
{'OR': [['Q16766947', 'P27', {'concept': 'Q15617994'}], ['Q778578', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q16766947 property:P27 ?t } UNION { resource:Q778578 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Emil Miljković Kostakis Alexandrou
action filter_type
action union
action find
entity Kostakis Alexandrou
relation country of citizenship
action find
entity Emil Miljković
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kostakis Alexandrou', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Emil Miljković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Kostakis_Alexandrou property:country_of_citizenship ?t } UNION { resource:Emil_Miljković property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q225 Q229
SYSTEM
Bosnia and Herzegovina, Cyprus
Q225 Q229
OR((Q16766947,P27,c(Q15617994)), (Q778578,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16766947
relation P27
action find
entity Q778578
relation P27
type Q15617994
[ANSWERS] are the native countriesof Kostakis Alexandrou or Emil Miljković
{'OR': [['Q16766947', 'P27', {'concept': 'Q15617994'}], ['Q778578', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q16766947 property:P27 ?t } UNION { resource:Q778578 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Bosnia and Herzegovina Cyprus
Bosnia and Herzegovina and Cyprus are the native countriesof Kostakis Alexandrou or Emil Miljković
Bosnia and Herzegovina Cyprus
action filter_type
action union
action find
entity Kostakis Alexandrou
relation country of citizenship
action find
entity Emil Miljković
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kostakis Alexandrou', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Emil Miljković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Kostakis_Alexandrou property:country_of_citizenship ?t } UNION { resource:Emil_Miljković property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6914119
P530
Q15617994
USER
Do Morristown Elementary School District have diplomatic associations with those ones ?
(Q6914119,P530,Q225) (Q6914119,P530,Q229)
action is_in
entity prev_answer
action find
entity Q6914119
relation P530
['Q6914119', 'P530', 'Q225'] ['Q6914119', 'P530', 'Q229']
ASK WHERE { resource:Q6914119 property:P530 ?t . VALUES ( ?t ) { ( resource:Q225 ) ( resource:Q229 ) } }
Morristown Elementary School District
action is_in
entity prev_answer
action find
entity Morristown Elementary School District
relation diplomatic relation
['Morristown Elementary School District', 'diplomatic relation', 'Bosnia and Herzegovina'] ['Morristown Elementary School District', 'diplomatic relation', 'Cyprus']
ASK WHERE { resource:Morristown_Elementary_School_District property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Bosnia_and_Herzegovina ) ( resource:Cyprus ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6914119,P530,Q225) (Q6914119,P530,Q229)
action is_in
entity prev_answer
action find
entity Q6914119
relation P530
[ANSWER]
['Q6914119', 'P530', 'Q225'] ['Q6914119', 'P530', 'Q229']
ASK WHERE { resource:Q6914119 property:P530 ?t . VALUES ( ?t ) { ( resource:Q225 ) ( resource:Q229 ) } }
No
action is_in
entity prev_answer
action find
entity Morristown Elementary School District
relation diplomatic relation
['Morristown Elementary School District', 'diplomatic relation', 'Bosnia and Herzegovina'] ['Morristown Elementary School District', 'diplomatic relation', 'Cyprus']
ASK WHERE { resource:Morristown_Elementary_School_District property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Bosnia_and_Herzegovina ) ( resource:Cyprus ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3856 Q3015900 Q216
P190
Q56061
USER
Is Nicosia twin city of Dar-Salama and Vilnius ?
(Q3856,P190,Q3015900) (Q3856,P190,Q216)
action is_in
entity Q3856
action intersection
action find_reverse
entity Q3015900
relation P190
action find_reverse
entity Q216
relation P190
['Q3856', 'P190', 'Q3015900'] ['Q3856', 'P190', 'Q216']
ASK WHERE { resource:Q3856 property:P190 resource:Q3015900 . resource:Q3856 property:P190 resource:Q216 }
Nicosia Dar-Salama Vilnius
action is_in
entity Nicosia
action intersection
action find_reverse
entity Dar-Salama
relation sister city
action find_reverse
entity Vilnius
relation sister city
['Nicosia', 'sister city', 'Dar-Salama'] ['Nicosia', 'sister city', 'Vilnius']
ASK WHERE { resource:Nicosia property:sister_city resource:Dar-Salama . resource:Nicosia property:sister_city resource:Vilnius }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q3856,P190,Q3015900) (Q3856,P190,Q216)
action is_in
entity Q3856
action intersection
action find_reverse
entity Q3015900
relation P190
action find_reverse
entity Q216
relation P190
[ANSWER]
['Q3856', 'P190', 'Q3015900'] ['Q3856', 'P190', 'Q216']
ASK WHERE { resource:Q3856 property:P190 resource:Q3015900 . resource:Q3856 property:P190 resource:Q216 }
NO and YES respectively
action is_in
entity Nicosia
action intersection
action find_reverse
entity Dar-Salama
relation sister city
action find_reverse
entity Vilnius
relation sister city
['Nicosia', 'sister city', 'Dar-Salama'] ['Nicosia', 'sister city', 'Vilnius']
ASK WHERE { resource:Nicosia property:sister_city resource:Dar-Salama . resource:Nicosia property:sister_city resource:Vilnius }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3856
P190
Q56061
USER
How many administrative territories are twin towns of Nicosia ?
(Q3856,P190,c(Q56061))
action count
action filter_type
action find
entity Q3856
relation P190
type Q56061
['Q3856', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q3856 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Nicosia
action count
action filter_type
action find
entity Nicosia
relation sister city
type administrative territorial entity
['Nicosia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Nicosia property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
9
Q8686 Q1489 Q727 Q1524 Q597 Q1874 Q3640 Q216 Q6397066
(Q3856,P190,c(Q56061))
action count
action filter_type
action find
entity Q3856
relation P190
type Q56061
[ANSWER]
['Q3856', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q3856 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Shanghai Mexico City Amsterdam Athens Lisbon Odessa Ankara Vilnius Shiraz
9
action count
action filter_type
action find
entity Nicosia
relation sister city
type administrative territorial entity
['Nicosia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Nicosia property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3856
P206
Q355304
USER
Which watercourse is situated close to that administrative territory ?
action filter_type
action find
entity Q3856
relation P206
type Q355304
SELECT DISTINCT ?b WHERE { resource:Q3856 property:P206 ?b . ?b rdf:type ontology:Q355304 }
Nicosia
action filter_type
action find
entity Nicosia
relation located next to body of water
type watercourse
SELECT DISTINCT ?b WHERE { resource:Nicosia property:located_next_to_body_of_water ?b . ?b rdf:type ontology:watercourse }
[]
watercourse
Q905376
SYSTEM
Pedieos
Q905376
action filter_type
action find
entity Q3856
relation P206
type Q355304
[ANSWER] is situated close to that administrative territory
SELECT DISTINCT ?b WHERE { resource:Q3856 property:P206 ?b . ?b rdf:type ontology:Q355304 }
Pedieos
Pedieos is situated close to that administrative territory
Pedieos
action filter_type
action find
entity Nicosia
relation located next to body of water
type watercourse
SELECT DISTINCT ?b WHERE { resource:Nicosia property:located_next_to_body_of_water ?b . ?b rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3856
P931
Q62447
USER
Which aerodrome is served by Nicosia ?
(c(Q62447),P931,Q3856)
action filter_type
action find_reverse
entity Q3856
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q3856']
SELECT DISTINCT ?a WHERE { ?a property:P931 resource:Q3856 . ?a rdf:type ontology:Q62447 }
Nicosia
action filter_type
action find_reverse
entity Nicosia
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Nicosia']
SELECT DISTINCT ?a WHERE { ?a property:place_served_by_airport resource:Nicosia . ?a rdf:type ontology:aerodrome }
[]
aerodrome
Q1432185
SYSTEM
Nicosia International Airport
Q1432185
(c(Q62447),P931,Q3856)
action filter_type
action find_reverse
entity Q3856
relation P931
type Q62447
Airport [ANSWER] is served by Nicosia
[{'concept': 'Q62447'}, 'P931', 'Q3856']
SELECT DISTINCT ?a WHERE { ?a property:P931 resource:Q3856 . ?a rdf:type ontology:Q62447 }
Nicosia International Airport
Airport Nicosia International Airport is served by Nicosia
Nicosia International Airport
action filter_type
action find_reverse
entity Nicosia
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Nicosia']
SELECT DISTINCT ?a WHERE { ?a property:place_served_by_airport resource:Nicosia . ?a rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3856
P937
Q502895
USER
Which person has that administrative territory as work location ?
(c(Q502895),P937,Q1432185)
action filter_type
action find_reverse
entity Q3856
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q1432185']
SELECT DISTINCT ?a WHERE { ?a property:P937 resource:Q3856 . ?a rdf:type ontology:Q502895 }
Nicosia
action filter_type
action find_reverse
entity Nicosia
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Nicosia International Airport']
SELECT DISTINCT ?a WHERE { ?a property:work_location resource:Nicosia . ?a rdf:type ontology:common_name }
[]
common name
Q124659
SYSTEM
Arnold Hottinger
Q124659
(c(Q502895),P937,Q1432185)
action filter_type
action find_reverse
entity Q3856
relation P937
type Q502895
[ANSWER] has that administrative territory as work location
[{'concept': 'Q502895'}, 'P937', 'Q1432185']
SELECT DISTINCT ?a WHERE { ?a property:P937 resource:Q3856 . ?a rdf:type ontology:Q502895 }
Arnold Hottinger
Arnold Hottinger has that administrative territory as work location
Arnold Hottinger
action filter_type
action find_reverse
entity Nicosia
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Nicosia International Airport']
SELECT DISTINCT ?a WHERE { ?a property:work_location resource:Nicosia . ?a rdf:type ontology:common_name }
[]