Simple Question (Direct)
Simple Question
Q523871
P27
Q15617994
USER
Which administrative territories do Uğur Yıldırım belong to ?
(Q523871,P27,c(Q15617994))
action filter_type
action find
entity Q523871
relation P27
type Q15617994
['Q523871', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q523871 property:P27 ?l }
Uğur Yıldırım
action filter_type
action find
entity Uğur Yıldırım
relation country of citizenship
type designation for an administrative territorial entity
['Uğur Yıldırım', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Uğur_Yıldırım property:country_of_citizenship ?l }
[]
designation for an administrative territorial entity
Q29999 Q43
SYSTEM
Kingdom of the Netherlands, Turkey
Q29999 Q43
(Q523871,P27,c(Q15617994))
action filter_type
action find
entity Q523871
relation P27
type Q15617994
Uğur Yıldırım belong to [ANSWERS]
['Q523871', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q523871 property:P27 ?l }
Kingdom of the Netherlands Turkey
Uğur Yıldırım belong to Kingdom of the Netherlands and Turkey
Kingdom of the Netherlands Turkey
action filter_type
action find
entity Uğur Yıldırım
relation country of citizenship
type designation for an administrative territorial entity
['Uğur Yıldırım', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Uğur_Yıldırım property:country_of_citizenship ?l }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q29999 Q43
P35
Q502895
USER
Which people are the heads of state of those administrative territories ?
(Q29999,P35,c(Q502895)) (Q43,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
['Q29999', 'P35', {'concept': 'Q502895'}] ['Q43', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?p ) { ( resource:Q29999 ) ( resource:Q43 ) } . ?p property:P35 ?q . ?q rdf:type ontology:Q502895 }
Kingdom of the Netherlands Turkey
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Kingdom of the Netherlands', 'head of state', {'concept': 'common name'}] ['Turkey', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?p ) { ( resource:Kingdom_of_the_Netherlands ) ( resource:Turkey ) } . ?p property:head_of_state ?q . ?q rdf:type ontology:common_name }
[]
common name
Q154952 Q39259 Q42852
SYSTEM
Willem-Alexander of the Netherlands, Recep Tayyip Erdoğan, Abdullah Gül
Q154952 Q42852 Q165487 Q39259 Q151729
(Q29999,P35,c(Q502895)) (Q43,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
[ANSWERS] are the heads of state of those administrative territories
['Q29999', 'P35', {'concept': 'Q502895'}] ['Q43', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?p ) { ( resource:Q29999 ) ( resource:Q43 ) } . ?p property:P35 ?q . ?q rdf:type ontology:Q502895 }
Willem-Alexander of the Netherlands Abdullah Gül Ahmet Necdet Sezer Recep Tayyip Erdoğan Süleyman Demirel
Willem-Alexander of the Netherlands, Recep Tayyip Erdoğan and Abdullah Gül are the heads of state of those administrative territories
Willem-Alexander of the Netherlands Recep Tayyip Erdoğan Abdullah Gül
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Kingdom of the Netherlands', 'head of state', {'concept': 'common name'}] ['Turkey', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?p ) { ( resource:Kingdom_of_the_Netherlands ) ( resource:Turkey ) } . ?p property:head_of_state ?q . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42852
P991
Q40231
USER
Which election had that person as its successful candidate ?
(c(Q40231),P991,Q42852)
action filter_type
action find_reverse
entity Q42852
relation P991
type Q40231
[{'concept': 'Q40231'}, 'P991', 'Q42852']
SELECT DISTINCT ?h WHERE { ?h property:P991 resource:Q42852 . ?h rdf:type ontology:Q40231 }
Abdullah Gül
action filter_type
action find_reverse
entity Abdullah Gül
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Abdullah Gül']
SELECT DISTINCT ?h WHERE { ?h property:successful_candidate resource:Abdullah_Gül . ?h rdf:type ontology:election }
[]
election
Clarification for simple ques.
Q154952
SYSTEM
Did you mean Willem-Alexander of the Netherlands ?
Q154952 Q39259 Q42852
(c(Q40231),P991,Q154952) (c(Q40231),P991,Q39259) (c(Q40231),P991,Q42852)
[ANSWER]
[{'concept': 'Q40231'}, 'P991', 'Q154952'] [{'concept': 'Q40231'}, 'P991', 'Q39259'] [{'concept': 'Q40231'}, 'P991', 'Q42852']
SELECT DISTINCT ?h WHERE { ?h property:P991 resource:Q42852 . ?h rdf:type ontology:Q40231 }
Willem-Alexander of the Netherlands Recep Tayyip Erdoğan Abdullah Gül
Did you mean Willem-Alexander of the Netherlands ?
Willem-Alexander of the Netherlands
[{'concept': 'election'}, 'successful candidate', 'Willem-Alexander of the Netherlands'] [{'concept': 'election'}, 'successful candidate', 'Recep Tayyip Erdoğan'] [{'concept': 'election'}, 'successful candidate', 'Abdullah Gül']
SELECT DISTINCT ?h WHERE { ?h property:successful_candidate resource:Abdullah_Gül . ?h rdf:type ontology:election }
[]
Simple Question (Coreferenced)
USER
No, I meant Abdullah Gül. Could you tell me the answer for that?
(c(Q40231),P991,Q42852)
Q42852
[{'concept': 'Q40231'}, 'P991', 'Q42852']
[{'concept': 'election'}, 'successful candidate', 'Abdullah Gül']
[]
Q1076754
SYSTEM
Turkish presidential election
Q1076754
(c(Q40231),P991,Q42852)
action filter_type
action find_reverse
entity Q42852
relation P991
type Q40231
[ANSWER] had that person as its successful candidate
[{'concept': 'Q40231'}, 'P991', 'Q42852']
SELECT DISTINCT ?h WHERE { ?h property:P991 resource:Q42852 . ?h rdf:type ontology:Q40231 }
Turkish presidential election
Turkish presidential election had that person as its successful candidate
Turkish presidential election
action filter_type
action find_reverse
entity Abdullah Gül
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Abdullah Gül']
SELECT DISTINCT ?h WHERE { ?h property:successful_candidate resource:Abdullah_Gül . ?h rdf:type ontology:election }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1748746 Q42852
P102
Q7210356
USER
Which political organizations are Abdullah Gül or Virginio Rognoni a member of ?
OR((Q42852,P102,c(Q7210356)), (Q1748746,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q42852
relation P102
action find
entity Q1748746
relation P102
type Q7210356
{'OR': [['Q42852', 'P102', {'concept': 'Q7210356'}], ['Q1748746', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q42852 property:P102 ?x } UNION { resource:Q1748746 property:P102 ?x } } . ?x rdf:type ontology:Q7210356 }
Virginio Rognoni Abdullah Gül
action filter_type
action union
action find
entity Abdullah Gül
relation member of political party
action find
entity Virginio Rognoni
relation member of political party
type political organization
{'OR': [['Abdullah Gül', 'member of political party', {'concept': 'political organization'}], ['Virginio Rognoni', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Abdullah_Gül property:member_of_political_party ?x } UNION { resource:Virginio_Rognoni property:member_of_political_party ?x } } . ?x rdf:type ontology:political_organization }
[]
political organization
Q19077 Q815348
SYSTEM
Justice and Development Party, Christian Democracy
Q19077 Q815348
OR((Q42852,P102,c(Q7210356)), (Q1748746,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q42852
relation P102
action find
entity Q1748746
relation P102
type Q7210356
Party [ANSWERS] are Abdullah Gül or Virginio Rognoni a member of
{'OR': [['Q42852', 'P102', {'concept': 'Q7210356'}], ['Q1748746', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q42852 property:P102 ?x } UNION { resource:Q1748746 property:P102 ?x } } . ?x rdf:type ontology:Q7210356 }
Justice and Development Party Christian Democracy
Party Justice and Development Party and Christian Democracy are Abdullah Gül or Virginio Rognoni a member of
Justice and Development Party Christian Democracy
action filter_type
action union
action find
entity Abdullah Gül
relation member of political party
action find
entity Virginio Rognoni
relation member of political party
type political organization
{'OR': [['Abdullah Gül', 'member of political party', {'concept': 'political organization'}], ['Virginio Rognoni', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Abdullah_Gül property:member_of_political_party ?x } UNION { resource:Virginio_Rognoni property:member_of_political_party ?x } } . ?x rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q19077 Q815348
P159
Q56061
USER
Where are the headquarters of those political organizations located ?
(Q19077,P159,c(Q56061)) (Q815348,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
['Q19077', 'P159', {'concept': 'Q56061'}] ['Q815348', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?n property:P159 ?h . VALUES ( ?n ) { ( resource:Q19077 ) ( resource:Q815348 ) } . ?h rdf:type ontology:Q56061 }
Justice and Development Party Christian Democracy
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['Justice and Development Party', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Christian Democracy', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?n property:headquarters_location ?h . VALUES ( ?n ) { ( resource:Justice_and_Development_Party ) ( resource:Christian_Democracy ) } . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3640 Q220
SYSTEM
Ankara, Rome
Q3640 Q220
(Q19077,P159,c(Q56061)) (Q815348,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
The headquarters of those political organizations located are in [ANSWERS]
['Q19077', 'P159', {'concept': 'Q56061'}] ['Q815348', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?n property:P159 ?h . VALUES ( ?n ) { ( resource:Q19077 ) ( resource:Q815348 ) } . ?h rdf:type ontology:Q56061 }
Ankara Rome
The headquarters of those political organizations located are in Ankara and Rome
Ankara Rome
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['Justice and Development Party', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Christian Democracy', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?n property:headquarters_location ?h . VALUES ( ?n ) { ( resource:Justice_and_Development_Party ) ( resource:Christian_Democracy ) } . ?h rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3640
P276
Q15275719
USER
What is situated at that administrative territory ?
(c(Q15275719),P276,Q3640)
action filter_type
action find_reverse
entity Q3640
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q3640']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q3640 . ?k rdf:type ontology:Q15275719 }
Ankara
action filter_type
action find_reverse
entity Ankara
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Ankara']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Ankara . ?k rdf:type ontology:recurring_event }
[]
recurring event
Clarification for simple ques.
Q220
SYSTEM
Did you mean Rome ?
Q3640 Q220
(c(Q15275719),P276,Q3640) (c(Q15275719),P276,Q220)
[ANSWER]
[{'concept': 'Q15275719'}, 'P276', 'Q3640'] [{'concept': 'Q15275719'}, 'P276', 'Q220']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q3640 . ?k rdf:type ontology:Q15275719 }
Ankara Rome
Did you mean Rome ?
Rome
[{'concept': 'recurring event'}, 'location', 'Ankara'] [{'concept': 'recurring event'}, 'location', 'Rome']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Ankara . ?k rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
USER
No, I meant Ankara. Could you tell me the answer for that?
(c(Q15275719),P276,Q3640)
Q3640
[{'concept': 'Q15275719'}, 'P276', 'Q3640']
[{'concept': 'recurring event'}, 'location', 'Ankara']
[]
Q1214007
SYSTEM
Great Atatürk Race
Q1214007
(c(Q15275719),P276,Q3640)
action filter_type
action find_reverse
entity Q3640
relation P276
type Q15275719
[ANSWER] is situated at that administrative territory
[{'concept': 'Q15275719'}, 'P276', 'Q3640']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q3640 . ?k rdf:type ontology:Q15275719 }
Great Atatürk Race
Great Atatürk Race is situated at that administrative territory
Great Atatürk Race
action filter_type
action find_reverse
entity Ankara
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Ankara']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Ankara . ?k rdf:type ontology:recurring_event }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1214007 Q5827138
P276
Q56061
USER
Is Tutnesa the location of Great Atatürk Race ?
(Q1214007,P276,Q5827138)
action is_in
entity Q5827138
action find
entity Q1214007
relation P276
['Q1214007', 'P276', 'Q5827138']
ASK WHERE { resource:Q1214007 property:P276 resource:Q5827138 }
Great Atatürk Race Tutnesa
action is_in
entity Tutnesa
action find
entity Great Atatürk Race
relation location
['Great Atatürk Race', 'location', 'Tutnesa']
ASK WHERE { resource:Great_Atatürk_Race property:location resource:Tutnesa }
[]
administrative territorial entity
SYSTEM
NO
(Q1214007,P276,Q5827138)
action is_in
entity Q5827138
action find
entity Q1214007
relation P276
[ANSWER]
['Q1214007', 'P276', 'Q5827138']
ASK WHERE { resource:Q1214007 property:P276 resource:Q5827138 }
No
action is_in
entity Tutnesa
action find
entity Great Atatürk Race
relation location
['Great Atatürk Race', 'location', 'Tutnesa']
ASK WHERE { resource:Great_Atatürk_Race property:location resource:Tutnesa }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3640 Q7637198
P190
Q56061
USER
Is Summadevi the sister city of Ankara ?
(Q3640,P190,Q7637198)
action is_in
entity Q7637198
action find
entity Q3640
relation P190
['Q3640', 'P190', 'Q7637198']
ASK WHERE { resource:Q3640 property:P190 resource:Q7637198 }
Ankara Summadevi
action is_in
entity Summadevi
action find
entity Ankara
relation sister city
['Ankara', 'sister city', 'Summadevi']
ASK WHERE { resource:Ankara property:sister_city resource:Summadevi }
[]
administrative territorial entity
SYSTEM
NO
(Q3640,P190,Q7637198)
action is_in
entity Q7637198
action find
entity Q3640
relation P190
[ANSWER]
['Q3640', 'P190', 'Q7637198']
ASK WHERE { resource:Q3640 property:P190 resource:Q7637198 }
No
action is_in
entity Summadevi
action find
entity Ankara
relation sister city
['Ankara', 'sister city', 'Summadevi']
ASK WHERE { resource:Ankara property:sister_city resource:Summadevi }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q29999 Q4423889
P47
Q1048835
USER
Is Slovianoserbka bordered by Kingdom of the Netherlands ?
(Q29999,P47,Q4423889)
action is_in
entity Q4423889
action find
entity Q29999
relation P47
['Q29999', 'P47', 'Q4423889']
ASK WHERE { resource:Q29999 property:P47 resource:Q4423889 }
Kingdom of the Netherlands Slovianoserbka
action is_in
entity Slovianoserbka
action find
entity Kingdom of the Netherlands
relation shares border with
['Kingdom of the Netherlands', 'shares border with', 'Slovianoserbka']
ASK WHERE { resource:Kingdom_of_the_Netherlands property:shares_border_with resource:Slovianoserbka }
[]
political territorial entity
SYSTEM
NO
(Q29999,P47,Q4423889)
action is_in
entity Q4423889
action find
entity Q29999
relation P47
[ANSWER]
['Q29999', 'P47', 'Q4423889']
ASK WHERE { resource:Q29999 property:P47 resource:Q4423889 }
No
action is_in
entity Slovianoserbka
action find
entity Kingdom of the Netherlands
relation shares border with
['Kingdom of the Netherlands', 'shares border with', 'Slovianoserbka']
ASK WHERE { resource:Kingdom_of_the_Netherlands property:shares_border_with resource:Slovianoserbka }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29999
P17
Q22348500
USER
Which cycling race classes are located in that administrative territory ?
action filter_type
action find_reverse
entity Q29999
relation P17
type Q22348500
SELECT DISTINCT ?i WHERE { ?i property:P17 resource:Q29999 . ?i rdf:type ontology:Q22348500 }
Kingdom of the Netherlands
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country
type cycling race class defined by the International Cycling Union
SELECT DISTINCT ?i WHERE { ?i property:country resource:Kingdom_of_the_Netherlands . ?i rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
Q4608600 Q4621312 Q26913415
SYSTEM
2007 Holland Ladies Tour, 2011 Holland Ladies Tour, 2003 Holland Ladies Tour
Q26913415 Q4621312 Q26913411 Q4598753 Q26913431 Q4597492 Q4608600
action filter_type
action find_reverse
entity Q29999
relation P17
type Q22348500
[ANSWERS] are located in that administrative territory
SELECT DISTINCT ?i WHERE { ?i property:P17 resource:Q29999 . ?i rdf:type ontology:Q22348500 }
2003 Holland Ladies Tour 2011 Holland Ladies Tour 2004 Holland Ladies Tour 2001 Holland Ladies Tour 1999 Holland Ladies Tour 2000 Holland Ladies Tour 2007 Holland Ladies Tour
2007 Holland Ladies Tour, 2011 Holland Ladies Tour and 2003 Holland Ladies Tour are located in that administrative territory
2007 Holland Ladies Tour 2011 Holland Ladies Tour 2003 Holland Ladies Tour
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country
type cycling race class defined by the International Cycling Union
SELECT DISTINCT ?i WHERE { ?i property:country resource:Kingdom_of_the_Netherlands . ?i rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]