Simple Question (Direct)
Simple Question
Q5687139
P119
Q43229
USER
Which organization is the place of burial of Hayri Kozakçıoğlu ?
(Q5687139,P119,c(Q43229))
action filter_type
action find
entity Q5687139
relation P119
type Q43229
['Q5687139', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q5687139 property:P119 ?w . ?w rdf:type ontology:Q43229 }
Hayri Kozakçıoğlu
action filter_type
action find
entity Hayri Kozakçıoğlu
relation place of burial
type organization
['Hayri Kozakçıoğlu', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:Hayri_Kozakçıoğlu property:place_of_burial ?w . ?w rdf:type ontology:organization }
[]
organization
Q29635
SYSTEM
Zincirlikuyu Cemetery
Q29635
(Q5687139,P119,c(Q43229))
action filter_type
action find
entity Q5687139
relation P119
type Q43229
[ANSWER] is the place of burial of Hayri Kozakçıoğlu
['Q5687139', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q5687139 property:P119 ?w . ?w rdf:type ontology:Q43229 }
Zincirlikuyu Cemetery
Zincirlikuyu Cemetery is the place of burial of Hayri Kozakçıoğlu
Zincirlikuyu Cemetery
action filter_type
action find
entity Hayri Kozakçıoğlu
relation place of burial
type organization
['Hayri Kozakçıoğlu', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:Hayri_Kozakçıoğlu property:place_of_burial ?w . ?w rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5687139
P20
Q1147395
USER
Where did Hayri Kozakçıoğlu die ?
(Q5687139,P20,c(Q1147395))
action filter_type
action find
entity Q5687139
relation P20
type Q1147395
['Q5687139', 'P20', {'concept': 'Q1147395'}]
SELECT DISTINCT ?u WHERE { resource:Q5687139 property:P20 ?u . ?u rdf:type ontology:Q1147395 }
Hayri Kozakçıoğlu
action filter_type
action find
entity Hayri Kozakçıoğlu
relation place of death
type district of Turkey
['Hayri Kozakçıoğlu', 'place of death', {'concept': 'district of Turkey'}]
SELECT DISTINCT ?u WHERE { resource:Hayri_Kozakçıoğlu property:place_of_death ?u . ?u rdf:type ontology:district_of_Turkey }
[]
district of Turkey
Q857107
SYSTEM
Sarıyer
Q857107
(Q5687139,P20,c(Q1147395))
action filter_type
action find
entity Q5687139
relation P20
type Q1147395
Hayri Kozakçıoğlu died in [ANSWER]
['Q5687139', 'P20', {'concept': 'Q1147395'}]
SELECT DISTINCT ?u WHERE { resource:Q5687139 property:P20 ?u . ?u rdf:type ontology:Q1147395 }
Sarıyer
Hayri Kozakçıoğlu died in Sarıyer
Sarıyer
action filter_type
action find
entity Hayri Kozakçıoğlu
relation place of death
type district of Turkey
['Hayri Kozakçıoğlu', 'place of death', {'concept': 'district of Turkey'}]
SELECT DISTINCT ?u WHERE { resource:Hayri_Kozakçıoğlu property:place_of_death ?u . ?u rdf:type ontology:district_of_Turkey }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6056450
Q1147395
USER
And how about Enver Ören?
(Q6056450,P20,c(Q1147395))
action filter_type
action find
entity Q6056450
relation P20
type Q1147395
['Q6056450', 'P20', {'concept': 'Q1147395'}]
SELECT DISTINCT ?a WHERE { resource:Q6056450 property:P20 ?a . ?a rdf:type ontology:Q1147395 }
Enver Ören
action filter_type
action find
entity Enver Ören
relation place of death
type district of Turkey
['Enver Ören', 'place of death', {'concept': 'district of Turkey'}]
SELECT DISTINCT ?a WHERE { resource:Enver_Ören property:place_of_death ?a . ?a rdf:type ontology:district_of_Turkey }
[]
district of Turkey
Q390637
SYSTEM
Şişli
Q390637
(Q6056450,P20,c(Q1147395))
action filter_type
action find
entity Q6056450
relation P20
type Q1147395
[ANSWER]
['Q6056450', 'P20', {'concept': 'Q1147395'}]
SELECT DISTINCT ?a WHERE { resource:Q6056450 property:P20 ?a . ?a rdf:type ontology:Q1147395 }
Şişli
Şişli
action filter_type
action find
entity Enver Ören
relation place of death
type district of Turkey
['Enver Ören', 'place of death', {'concept': 'district of Turkey'}]
SELECT DISTINCT ?a WHERE { resource:Enver_Ören property:place_of_death ?a . ?a rdf:type ontology:district_of_Turkey }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q390637
P159
Q874405
USER
Which social group has HQ at that district of Turkey ?
(c(Q874405),P159,Q390637)
action filter_type
action find_reverse
entity Q390637
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q390637']
SELECT DISTINCT ?g WHERE { ?g property:P159 resource:Q390637 . ?g rdf:type ontology:Q874405 }
Şişli
action filter_type
action find_reverse
entity Şişli
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Şişli']
SELECT DISTINCT ?g WHERE { ?g property:headquarters_location resource:Şişli . ?g rdf:type ontology:social_group }
[]
social group
Q7855249
SYSTEM
Turkish Confederation of Businessmen and Industrialists
Q7855249
(c(Q874405),P159,Q390637)
action filter_type
action find_reverse
entity Q390637
relation P159
type Q874405
[ANSWER] has HQ at that district of Turkey
[{'concept': 'Q874405'}, 'P159', 'Q390637']
SELECT DISTINCT ?g WHERE { ?g property:P159 resource:Q390637 . ?g rdf:type ontology:Q874405 }
Turkish Confederation of Businessmen and Industrialists
Turkish Confederation of Businessmen and Industrialists has HQ at that district of Turkey
Turkish Confederation of Businessmen and Industrialists
action filter_type
action find_reverse
entity Şişli
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Şişli']
SELECT DISTINCT ?g WHERE { ?g property:headquarters_location resource:Şişli . ?g rdf:type ontology:social_group }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16203469 Q5687139
P27
Q15617994
USER
Which administrative territories are Hayri Kozakçıoğlu or Han Choi an inhabitant of ?
OR((Q5687139,P27,c(Q15617994)), (Q16203469,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5687139
relation P27
action find
entity Q16203469
relation P27
type Q15617994
{'OR': [['Q5687139', 'P27', {'concept': 'Q15617994'}], ['Q16203469', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q5687139 property:P27 ?g } UNION { resource:Q16203469 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Han Choi Hayri Kozakçıoğlu
action filter_type
action union
action find
entity Hayri Kozakçıoğlu
relation country of citizenship
action find
entity Han Choi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hayri Kozakçıoğlu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Han Choi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Hayri_Kozakçıoğlu property:country_of_citizenship ?g } UNION { resource:Han_Choi property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43 Q1020
SYSTEM
Turkey, Malawi
Q43 Q1020
OR((Q5687139,P27,c(Q15617994)), (Q16203469,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5687139
relation P27
action find
entity Q16203469
relation P27
type Q15617994
[ANSWERS] are Hayri Kozakçıoğlu or Han Choi an inhabitant of
{'OR': [['Q5687139', 'P27', {'concept': 'Q15617994'}], ['Q16203469', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q5687139 property:P27 ?g } UNION { resource:Q16203469 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Turkey Malawi
Turkey and Malawi are Hayri Kozakçıoğlu or Han Choi an inhabitant of
Turkey Malawi
action filter_type
action union
action find
entity Hayri Kozakçıoğlu
relation country of citizenship
action find
entity Han Choi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hayri Kozakçıoğlu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Han Choi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Hayri_Kozakçıoğlu property:country_of_citizenship ?g } UNION { resource:Han_Choi property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q43 Q1020
P47
Q15617994
USER
Which administrative territories are next to the border of Turkey and Malawi ?
(c(Q15617994),P47,Q43) (c(Q15617994),P47,Q1020)
action union
action filter_type
action find
entity Q43
relation P47
type Q15617994
action filter_type
action find
entity Q1020
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q43'] [{'concept': 'Q15617994'}, 'P47', 'Q1020']
SELECT DISTINCT ?e WHERE { ?j property:P47 ?e . VALUES ( ?j ) { ( resource:Q1020 ) ( resource:Q43 ) } }
Turkey Malawi
action union
action filter_type
action find
entity Turkey
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Malawi
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Turkey'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Malawi']
SELECT DISTINCT ?e WHERE { ?j property:shares_border_with ?e . VALUES ( ?j ) { ( resource:Malawi ) ( resource:Turkey ) } }
[]
designation for an administrative territorial entity
Q230 Q953 Q41
SYSTEM
Georgia, Zambia, Greece
Q796 Q794 Q230 Q227 Q219 Q399 Q41 Q858 Q924 Q1029 Q953
(c(Q15617994),P47,Q43) (c(Q15617994),P47,Q1020)
action union
action filter_type
action find
entity Q43
relation P47
type Q15617994
action filter_type
action find
entity Q1020
relation P47
type Q15617994
[ANSWERS] are next to the border of Turkey and Malawi
[{'concept': 'Q15617994'}, 'P47', 'Q43'] [{'concept': 'Q15617994'}, 'P47', 'Q1020']
SELECT DISTINCT ?e WHERE { ?j property:P47 ?e . VALUES ( ?j ) { ( resource:Q1020 ) ( resource:Q43 ) } }
Iraq Iran Georgia Azerbaijan Bulgaria Armenia Greece Syria Tanzania Mozambique Zambia
Georgia, Zambia and Greece are next to the border of Turkey and Malawi
Georgia Zambia Greece
action union
action filter_type
action find
entity Turkey
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Malawi
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Turkey'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Malawi']
SELECT DISTINCT ?e WHERE { ?j property:shares_border_with ?e . VALUES ( ?j ) { ( resource:Malawi ) ( resource:Turkey ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q230 Q953 Q41
P17
Q2221906
USER
Which geographic locations are present in Georgia, Zambia and Greece ?
(c(Q2221906),P17,Q230) (c(Q2221906),P17,Q953) (c(Q2221906),P17,Q41)
action union
action filter_type
action find_reverse
entity Q230
relation P17
type Q2221906
action filter_type
action find_reverse
entity Q953
relation P17
type Q2221906
action filter_type
action find_reverse
entity Q41
relation P17
type Q2221906
[{'concept': 'Q2221906'}, 'P17', 'Q230'] [{'concept': 'Q2221906'}, 'P17', 'Q953'] [{'concept': 'Q2221906'}, 'P17', 'Q41']
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Q230 ) ( resource:Q953 ) } . ?m property:P17 ?l }
Georgia Zambia Greece
action union
action filter_type
action find_reverse
entity Georgia
relation country
type geographic location
action filter_type
action find_reverse
entity Zambia
relation country
type geographic location
action filter_type
action find_reverse
entity Greece
relation country
type geographic location
[{'concept': 'geographic location'}, 'country', 'Georgia'] [{'concept': 'geographic location'}, 'country', 'Zambia'] [{'concept': 'geographic location'}, 'country', 'Greece']
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Georgia ) ( resource:Zambia ) } . ?m property:country ?l }
[]
geographic location
Q18869 Q3088986 Q81734
SYSTEM
Caucasus, European Union–Turkey border, Macedonia
Q18869 Q2631487 Q2916170 Q894261 Q2473129 Q2552997 Q2043133 Q1195815 Q19084 Q3489721 Q1463301 Q3238308 Q2162106 Q1142561 Q956858 Q2453088 Q19044 Q1977151 Q2556836 Q2917528 Q6370468 Q81734 Q3088986 Q22665719 Q7401371 Q1192701 Q2046122
(c(Q2221906),P17,Q230) (c(Q2221906),P17,Q953) (c(Q2221906),P17,Q41)
action union
action filter_type
action find_reverse
entity Q230
relation P17
type Q2221906
action filter_type
action find_reverse
entity Q953
relation P17
type Q2221906
action filter_type
action find_reverse
entity Q41
relation P17
type Q2221906
[ANSWERS] are present in Georgia, Zambia and Greece
[{'concept': 'Q2221906'}, 'P17', 'Q230'] [{'concept': 'Q2221906'}, 'P17', 'Q953'] [{'concept': 'Q2221906'}, 'P17', 'Q41']
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Q230 ) ( resource:Q953 ) } . ?m property:P17 ?l }
Caucasus Mtiuleti Gachiani Borchali Ertso-Tianeti Lechkhumi Samachablo Meskheti Samegrelo Gudamaqari Racha Gardabani Kukheti Tusheti Khevsureti Khevi Svaneti Pshavi Trialeti Argveti Kariba Gorge Macedonia European Union–Turkey border Olympus Saint Ignatios Monastery Western Thrace Pagani Detention Center
Caucasus, European Union–Turkey border and Macedonia are present in Georgia, Zambia and Greece
Caucasus European Union–Turkey border Macedonia
action union
action filter_type
action find_reverse
entity Georgia
relation country
type geographic location
action filter_type
action find_reverse
entity Zambia
relation country
type geographic location
action filter_type
action find_reverse
entity Greece
relation country
type geographic location
[{'concept': 'geographic location'}, 'country', 'Georgia'] [{'concept': 'geographic location'}, 'country', 'Zambia'] [{'concept': 'geographic location'}, 'country', 'Greece']
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Georgia ) ( resource:Zambia ) } . ?m property:country ?l }
[]