Simple Question (Direct)
Simple Question
Q1973615
P19
Q56061
USER
Which administrative territory was Necdet Mahfi Ayral born at ?
(Q1973615,P19,c(Q56061))
action filter_type
action find
entity Q1973615
relation P19
type Q56061
['Q1973615', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1973615 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Necdet Mahfi Ayral
action filter_type
action find
entity Necdet Mahfi Ayral
relation place of birth
type administrative territorial entity
['Necdet Mahfi Ayral', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Necdet_Mahfi_Ayral property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q406
SYSTEM
Istanbul
Q406
(Q1973615,P19,c(Q56061))
action filter_type
action find
entity Q1973615
relation P19
type Q56061
Necdet Mahfi Ayral was born in [ANSWER]
['Q1973615', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1973615 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Istanbul
Necdet Mahfi Ayral was born in Istanbul
Istanbul
action filter_type
action find
entity Necdet Mahfi Ayral
relation place of birth
type administrative territorial entity
['Necdet Mahfi Ayral', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Necdet_Mahfi_Ayral property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1973615
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Necdet Mahfi Ayral ?
(Q1973615,P27,c(Q15617994))
action filter_type
action find
entity Q1973615
relation P27
type Q15617994
['Q1973615', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1973615 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Necdet Mahfi Ayral
action filter_type
action find
entity Necdet Mahfi Ayral
relation country of citizenship
type designation for an administrative territorial entity
['Necdet Mahfi Ayral', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Necdet_Mahfi_Ayral property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
(Q1973615,P27,c(Q15617994))
action filter_type
action find
entity Q1973615
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Necdet Mahfi Ayral
['Q1973615', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1973615 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Turkey
Turkey is the country of citizenship of Necdet Mahfi Ayral
Turkey
action filter_type
action find
entity Necdet Mahfi Ayral
relation country of citizenship
type designation for an administrative territorial entity
['Necdet Mahfi Ayral', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Necdet_Mahfi_Ayral property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43
P276
Q3565868
USER
Which rail transport is located at that administrative territory ?
(c(Q3565868),P276,Q43)
action filter_type
action find_reverse
entity Q43
relation P276
type Q3565868
[{'concept': 'Q3565868'}, 'P276', 'Q43']
SELECT DISTINCT ?w WHERE { ?w property:P276 resource:Q43 . ?w rdf:type ontology:Q3565868 }
Turkey
action filter_type
action find_reverse
entity Turkey
relation location
type rail transport
[{'concept': 'rail transport'}, 'location', 'Turkey']
SELECT DISTINCT ?w WHERE { ?w property:location resource:Turkey . ?w rdf:type ontology:rail_transport }
[]
rail transport
Q4929959
SYSTEM
Blue Train
Q4929959
(c(Q3565868),P276,Q43)
action filter_type
action find_reverse
entity Q43
relation P276
type Q3565868
[ANSWER] is located at that administrative territory
[{'concept': 'Q3565868'}, 'P276', 'Q43']
SELECT DISTINCT ?w WHERE { ?w property:P276 resource:Q43 . ?w rdf:type ontology:Q3565868 }
Blue Train
Blue Train is located at that administrative territory
Blue Train
action filter_type
action find_reverse
entity Turkey
relation location
type rail transport
[{'concept': 'rail transport'}, 'location', 'Turkey']
SELECT DISTINCT ?w WHERE { ?w property:location resource:Turkey . ?w rdf:type ontology:rail_transport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43
P30
Q2221906
USER
Where are Turkey located ?
(Q43,P30,c(Q2221906))
action filter_type
action find
entity Q43
relation P30
type Q2221906
['Q43', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q43 property:P30 ?k . ?k rdf:type ontology:Q2221906 }
Turkey
action filter_type
action find
entity Turkey
relation continent
type geographic location
['Turkey', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Turkey property:continent ?k . ?k rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q48
SYSTEM
Europe, Asia
Q46 Q48
(Q43,P30,c(Q2221906))
action filter_type
action find
entity Q43
relation P30
type Q2221906
Turkey are located in [ANSWERS]
['Q43', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?k WHERE { resource:Q43 property:P30 ?k . ?k rdf:type ontology:Q2221906 }
Europe Asia
Turkey are located in Europe and Asia
Europe Asia
action filter_type
action find
entity Turkey
relation continent
type geographic location
['Turkey', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?k WHERE { resource:Turkey property:continent ?k . ?k rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q46 Q48
P159
Q874405
USER
Which social groups have HQ at those geographic locations ?
(c(Q874405),P159,Q46) (c(Q874405),P159,Q48)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q46'] [{'concept': 'Q874405'}, 'P159', 'Q48']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q874405 . ?g property:P159 ?r . VALUES ( ?r ) { ( resource:Q46 ) ( resource:Q48 ) } }
Europe Asia
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Europe'] [{'concept': 'social group'}, 'headquarters location', 'Asia']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:social_group . ?g property:headquarters_location ?r . VALUES ( ?r ) { ( resource:Europe ) ( resource:Asia ) } }
[]
social group
Q5412209 Q3772715
SYSTEM
European Academy of Paediatrics, Asian Karatedo Federation
Q5412209 Q3772715
(c(Q874405),P159,Q46) (c(Q874405),P159,Q48)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q874405
[ANSWERS] have HQ at those geographic locations
[{'concept': 'Q874405'}, 'P159', 'Q46'] [{'concept': 'Q874405'}, 'P159', 'Q48']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q874405 . ?g property:P159 ?r . VALUES ( ?r ) { ( resource:Q46 ) ( resource:Q48 ) } }
European Academy of Paediatrics Asian Karatedo Federation
European Academy of Paediatrics and Asian Karatedo Federation have HQ at those geographic locations
European Academy of Paediatrics Asian Karatedo Federation
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Europe'] [{'concept': 'social group'}, 'headquarters location', 'Asia']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:social_group . ?g property:headquarters_location ?r . VALUES ( ?r ) { ( resource:Europe ) ( resource:Asia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43
P1313
Q12737077
USER
What is the occupation held by Turkey ?
(Q43,P1313,c(Q12737077))
action filter_type
action find
entity Q43
relation P1313
type Q12737077
['Q43', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q43 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
Turkey
action filter_type
action find
entity Turkey
relation office held by head of government
type occupation
['Turkey', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Turkey property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q2430415
SYSTEM
Prime Minister of Turkey
Q2430415
(Q43,P1313,c(Q12737077))
action filter_type
action find
entity Q43
relation P1313
type Q12737077
The occupation held by Turkey is the [ANSWER]
['Q43', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q43 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
Prime Minister of Turkey
The occupation held by Turkey is the Prime Minister of Turkey
Prime Minister of Turkey
action filter_type
action find
entity Turkey
relation office held by head of government
type occupation
['Turkey', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Turkey property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q316303
Q12737077
USER
And also tell me about Samboan?
(Q316303,P1313,c(Q12737077))
action filter_type
action find
entity Q316303
relation P1313
type Q12737077
['Q316303', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q316303 property:P1313 ?a }
Samboan
action filter_type
action find
entity Samboan
relation office held by head of government
type occupation
['Samboan', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Samboan property:office_held_by_head_of_government ?a }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q316303,P1313,c(Q12737077))
action filter_type
action find
entity Q316303
relation P1313
type Q12737077
[ANSWER]
['Q316303', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q316303 property:P1313 ?a }
mayor
mayor
action filter_type
action find
entity Samboan
relation office held by head of government
type occupation
['Samboan', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Samboan property:office_held_by_head_of_government ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q43
P47
Q15617994
USER
How many administrative territories share the border with Turkey ?
(Q43,P47,c(Q15617994))
action count
action filter_type
action find
entity Q43
relation P47
type Q15617994
['Q43', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q43 property:P47 ?j . ?j rdf:type ontology:Q15617994 }
Turkey
action count
action filter_type
action find
entity Turkey
relation shares border with
type designation for an administrative territorial entity
['Turkey', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Turkey property:shares_border_with ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
8
Q858 Q227 Q230 Q41 Q219 Q796 Q794 Q399
(Q43,P47,c(Q15617994))
action count
action filter_type
action find
entity Q43
relation P47
type Q15617994
[ANSWER]
['Q43', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q43 property:P47 ?j . ?j rdf:type ontology:Q15617994 }
Syria Azerbaijan Georgia Greece Bulgaria Iraq Iran Armenia
8
action count
action filter_type
action find
entity Turkey
relation shares border with
type designation for an administrative territorial entity
['Turkey', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Turkey property:shares_border_with ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q42431
P47
Q15617994
USER
And what about Moscazzano?
(Q42431,P47,c(Q15617994))
action count
action filter_type
action find
entity Q42431
relation P47
type Q15617994
['Q42431', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q42431 property:P47 ?f . ?f rdf:type ontology:Q15617994 }
Moscazzano
action count
action filter_type
action find
entity Moscazzano
relation shares border with
type designation for an administrative territorial entity
['Moscazzano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Moscazzano property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
Q42538 Q42968 Q42567 Q42450 Q42306
(Q42431,P47,c(Q15617994))
action count
action filter_type
action find
entity Q42431
relation P47
type Q15617994
[ANSWER]
['Q42431', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q42431 property:P47 ?f . ?f rdf:type ontology:Q15617994 }
Montodine Turano Lodigiano Ripalta Cremasca Ripalta Guerina Bertonico
5
action count
action filter_type
action find
entity Moscazzano
relation shares border with
type designation for an administrative territorial entity
['Moscazzano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Moscazzano property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q270220
Q15617994
USER
And how about Ortonovo?
(Q270220,P47,c(Q15617994))
action count
action filter_type
action find
entity Q270220
relation P47
type Q15617994
['Q270220', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q270220 property:P47 ?s }
Ortonovo
action count
action filter_type
action find
entity Ortonovo
relation shares border with
type designation for an administrative territorial entity
['Ortonovo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ortonovo property:shares_border_with ?s }
[]
designation for an administrative territorial entity
SYSTEM
4
(Q270220,P47,c(Q15617994))
action count
action filter_type
action find
entity Q270220
relation P47
type Q15617994
[ANSWER]
['Q270220', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q270220 property:P47 ?s }
4
action count
action filter_type
action find
entity Ortonovo
relation shares border with
type designation for an administrative territorial entity
['Ortonovo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ortonovo property:shares_border_with ?s }
[]