Simple Question (Direct)
Simple Question
Q7348908
P69
Q1055028
USER
What is the college of the University of Cambridge where Robert Pilkington was educated ?
(Q7348908,P69,c(Q1055028))
action filter_type
action find
entity Q7348908
relation P69
type Q1055028
['Q7348908', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?b WHERE { resource:Q7348908 property:P69 ?b . ?b rdf:type ontology:Q1055028 }
Robert Pilkington
action filter_type
action find
entity Robert Pilkington
relation educated at
type college of the University of Cambridge
['Robert Pilkington', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?b WHERE { resource:Robert_Pilkington property:educated_at ?b . ?b rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Q956501
SYSTEM
Pembroke College
Q956501
(Q7348908,P69,c(Q1055028))
action filter_type
action find
entity Q7348908
relation P69
type Q1055028
The college of the University of Cambridge Robert Pilkington was educated is [ANSWER]
['Q7348908', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?b WHERE { resource:Q7348908 property:P69 ?b . ?b rdf:type ontology:Q1055028 }
Pembroke College
The college of the University of Cambridge Robert Pilkington was educated is Pembroke College
Pembroke College
action filter_type
action find
entity Robert Pilkington
relation educated at
type college of the University of Cambridge
['Robert Pilkington', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?b WHERE { resource:Robert_Pilkington property:educated_at ?b . ?b rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7348908
P21
Q290
USER
What is the sex of that person ?
(Q956501,P21,c(Q290))
action filter_type
action find
entity Q7348908
relation P21
type Q290
['Q956501', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q7348908 property:P21 ?j . ?j rdf:type ontology:Q290 }
Robert Pilkington
action filter_type
action find
entity Robert Pilkington
relation gender
type sex
['Pembroke College', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Robert_Pilkington property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q956501,P21,c(Q290))
action filter_type
action find
entity Q7348908
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q956501', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q7348908 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Robert Pilkington
relation gender
type sex
['Pembroke College', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Robert_Pilkington property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7348908
P39
Q12737077
USER
Which occupation was a position occupied by Robert Pilkington ?
(Q7348908,P39,c(Q12737077))
action filter_type
action find
entity Q7348908
relation P39
type Q12737077
['Q7348908', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q7348908 property:P39 ?w }
Robert Pilkington
action filter_type
action find
entity Robert Pilkington
relation position held
type occupation
['Robert Pilkington', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Robert_Pilkington property:position_held ?w }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q7348908,P39,c(Q12737077))
action filter_type
action find
entity Q7348908
relation P39
type Q12737077
The [ANSWER] was a position occupied by Robert Pilkington
['Q7348908', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q7348908 property:P39 ?w }
Member of Parliament in the United Kingdom
The Member of Parliament in the United Kingdom was a position occupied by Robert Pilkington
Member of Parliament in the United Kingdom
action filter_type
action find
entity Robert Pilkington
relation position held
type occupation
['Robert Pilkington', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Robert_Pilkington property:position_held ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7348908
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q16707842,P102,c(Q7210356))
action filter_type
action find
entity Q7348908
relation P102
type Q7210356
['Q16707842', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q7348908 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Robert Pilkington
action filter_type
action find
entity Robert Pilkington
relation member of political party
type political organization
['Member of Parliament in the United Kingdom', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Robert_Pilkington property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q622441
SYSTEM
Liberal Party
Q622441
(Q16707842,P102,c(Q7210356))
action filter_type
action find
entity Q7348908
relation P102
type Q7210356
The [ANSWER] is that person a member of
['Q16707842', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q7348908 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Liberal Party
The Liberal Party is that person a member of
Liberal Party
action filter_type
action find
entity Robert Pilkington
relation member of political party
type political organization
['Member of Parliament in the United Kingdom', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Robert_Pilkington property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q629133 Q622441
P17
Q15617994
USER
Which administrative territories are Liberal Party or Chamber of Deputies a part of ?
OR((Q622441,P17,c(Q15617994)), (Q629133,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q622441
relation P17
action find
entity Q629133
relation P17
type Q15617994
{'OR': [['Q622441', 'P17', {'concept': 'Q15617994'}], ['Q629133', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q622441 property:P17 ?h } UNION { resource:Q629133 property:P17 ?h } } }
Chamber of Deputies Liberal Party
action filter_type
action union
action find
entity Liberal Party
relation country
action find
entity Chamber of Deputies
relation country
type designation for an administrative territorial entity
{'OR': [['Liberal Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Chamber of Deputies', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Liberal_Party property:country ?h } UNION { resource:Chamber_of_Deputies property:country ?h } } }
[]
designation for an administrative territorial entity
Q414 Q145
SYSTEM
Argentina, United Kingdom
Q414 Q145
OR((Q622441,P17,c(Q15617994)), (Q629133,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q622441
relation P17
action find
entity Q629133
relation P17
type Q15617994
[ANSWERS] are Liberal Party or Chamber of Deputies a part of
{'OR': [['Q622441', 'P17', {'concept': 'Q15617994'}], ['Q629133', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q622441 property:P17 ?h } UNION { resource:Q629133 property:P17 ?h } } }
Argentina United Kingdom
Argentina and United Kingdom are Liberal Party or Chamber of Deputies a part of
Argentina United Kingdom
action filter_type
action union
action find
entity Liberal Party
relation country
action find
entity Chamber of Deputies
relation country
type designation for an administrative territorial entity
{'OR': [['Liberal Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Chamber of Deputies', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Liberal_Party property:country ?h } UNION { resource:Chamber_of_Deputies property:country ?h } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3420922
P27
Q502895
USER
Are Raymond Holder Wheeler civilians of those administrative territories ?
(Q3420922,P27,Q414) (Q3420922,P27,Q145)
action is_in
entity prev_answer
action find
entity Q3420922
relation P27
['Q3420922', 'P27', 'Q414'] ['Q3420922', 'P27', 'Q145']
ASK WHERE { resource:Q3420922 property:P27 ?l . VALUES ( ?l ) { ( resource:Q414 ) ( resource:Q145 ) } }
Raymond Holder Wheeler
action is_in
entity prev_answer
action find
entity Raymond Holder Wheeler
relation country of citizenship
['Raymond Holder Wheeler', 'country of citizenship', 'Argentina'] ['Raymond Holder Wheeler', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Raymond_Holder_Wheeler property:country_of_citizenship ?l . VALUES ( ?l ) { ( resource:Argentina ) ( resource:United_Kingdom ) } }
[]
common name
SYSTEM
NO
(Q3420922,P27,Q414) (Q3420922,P27,Q145)
action is_in
entity prev_answer
action find
entity Q3420922
relation P27
[ANSWER]
['Q3420922', 'P27', 'Q414'] ['Q3420922', 'P27', 'Q145']
ASK WHERE { resource:Q3420922 property:P27 ?l . VALUES ( ?l ) { ( resource:Q414 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Raymond Holder Wheeler
relation country of citizenship
['Raymond Holder Wheeler', 'country of citizenship', 'Argentina'] ['Raymond Holder Wheeler', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Raymond_Holder_Wheeler property:country_of_citizenship ?l . VALUES ( ?l ) { ( resource:Argentina ) ( resource:United_Kingdom ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q838948 Q15416
USER
Which administrative territories are atleast 214 works of art and television programs set in ?
(c(Q838948)|c(Q15416),P840,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
value 214
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?h WHERE { VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?y rdf:type ?g } GROUP BY ?h } . FILTER ( ?n >= 214 ) }
action atleast
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
value 214
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?h WHERE { VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?y rdf:type ?g } GROUP BY ?h } . FILTER ( ?n >= 214 ) }
[]
designation for an administrative territorial entity work of art television program
Q43 Q30 Q38
SYSTEM
Turkey, United States of America, Italy
Q43 Q30 Q38
(c(Q838948)|c(Q15416),P840,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
value 214
[ANSWERS] are atleast 214 works of art and television programs set in
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?h WHERE { VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?y rdf:type ?g } GROUP BY ?h } . FILTER ( ?n >= 214 ) }
Turkey United States of America Italy
Turkey, United States of America and Italy are atleast 214 works of art and television programs set in
Turkey United States of America Italy
action atleast
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
value 214
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?h WHERE { VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?y rdf:type ?g } GROUP BY ?h } . FILTER ( ?n >= 214 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P495
Q223393 Q1137468
USER
How many literary genres or aerial bombs originated in that administrative territory ?
(c(Q223393),P495,Q43) (c(Q1137468),P495,Q43) (c(Q223393),P495,Q43) (c(Q1137468),P495,Q43) (c(Q223393),P495,Q30) (c(Q1137468),P495,Q30) (c(Q223393),P495,Q38) (c(Q1137468),P495,Q38)
[{'concept': 'Q223393'}, 'P495', 'Q43'] [{'concept': 'Q1137468'}, 'P495', 'Q43'] [{'concept': 'Q223393'}, 'P495', 'Q43'] [{'concept': 'Q1137468'}, 'P495', 'Q43'] [{'concept': 'Q223393'}, 'P495', 'Q30'] [{'concept': 'Q1137468'}, 'P495', 'Q30'] [{'concept': 'Q223393'}, 'P495', 'Q38'] [{'concept': 'Q1137468'}, 'P495', 'Q38']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q2024092 } UNION { ?y property:P495 resource:Q2024092 } UNION { ?z property:P495 resource:Q2024092 } UNION { ?y property:P495 resource:Q2024092 } UNION { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } UNION { ?z property:P495 resource:Q977238 } UNION { ?y property:P495 resource:Q977238 } } . ?z rdf:type ontology:Q223393 . ?y rdf:type ontology:Q1137468 }
[{'concept': 'literary genre'}, 'country of origin', 'Turkey'] [{'concept': 'aerial bomb'}, 'country of origin', 'Turkey'] [{'concept': 'literary genre'}, 'country of origin', 'Turkey'] [{'concept': 'aerial bomb'}, 'country of origin', 'Turkey'] [{'concept': 'literary genre'}, 'country of origin', 'United States of America'] [{'concept': 'aerial bomb'}, 'country of origin', 'United States of America'] [{'concept': 'literary genre'}, 'country of origin', 'Italy'] [{'concept': 'aerial bomb'}, 'country of origin', 'Italy']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:Turkey } UNION { ?y property:country_of_origin resource:Turkey } UNION { ?z property:country_of_origin resource:Turkey } UNION { ?y property:country_of_origin resource:Turkey } UNION { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } UNION { ?z property:country_of_origin resource:Italy } UNION { ?y property:country_of_origin resource:Italy } } . ?z rdf:type ontology:literary_genre . ?y rdf:type ontology:aerial_bomb }
[]
literary genre aerial bomb
Quantitative|Count|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q2024092 } UNION { ?y property:P495 resource:Q2024092 } UNION { ?z property:P495 resource:Q2024092 } UNION { ?y property:P495 resource:Q2024092 } UNION { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } UNION { ?z property:P495 resource:Q977238 } UNION { ?y property:P495 resource:Q977238 } } . ?z rdf:type ontology:Q223393 . ?y rdf:type ontology:Q1137468 }
Did you mean United States of America ?
United States of America
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:Turkey } UNION { ?y property:country_of_origin resource:Turkey } UNION { ?z property:country_of_origin resource:Turkey } UNION { ?y property:country_of_origin resource:Turkey } UNION { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } UNION { ?z property:country_of_origin resource:Italy } UNION { ?y property:country_of_origin resource:Italy } } . ?z rdf:type ontology:literary_genre . ?y rdf:type ontology:aerial_bomb }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Turkey. Could you tell me the answer for that?
(c(Q223393),P495,Q43) (c(Q1137468),P495,Q43) (c(Q223393),P495,Q43) (c(Q1137468),P495,Q43) (c(Q223393),P495,Q30) (c(Q1137468),P495,Q30) (c(Q223393),P495,Q38) (c(Q1137468),P495,Q38)
Q43
[{'concept': 'Q223393'}, 'P495', 'Q43'] [{'concept': 'Q1137468'}, 'P495', 'Q43'] [{'concept': 'Q223393'}, 'P495', 'Q43'] [{'concept': 'Q1137468'}, 'P495', 'Q43'] [{'concept': 'Q223393'}, 'P495', 'Q30'] [{'concept': 'Q1137468'}, 'P495', 'Q30'] [{'concept': 'Q223393'}, 'P495', 'Q38'] [{'concept': 'Q1137468'}, 'P495', 'Q38']
[{'concept': 'literary genre'}, 'country of origin', 'Turkey'] [{'concept': 'aerial bomb'}, 'country of origin', 'Turkey'] [{'concept': 'literary genre'}, 'country of origin', 'Turkey'] [{'concept': 'aerial bomb'}, 'country of origin', 'Turkey'] [{'concept': 'literary genre'}, 'country of origin', 'United States of America'] [{'concept': 'aerial bomb'}, 'country of origin', 'United States of America'] [{'concept': 'literary genre'}, 'country of origin', 'Italy'] [{'concept': 'aerial bomb'}, 'country of origin', 'Italy']
[]
SYSTEM
2
Q5629539 Q2330561
(c(Q223393),P495,Q43) (c(Q1137468),P495,Q43) (c(Q223393),P495,Q43) (c(Q1137468),P495,Q43) (c(Q223393),P495,Q30) (c(Q1137468),P495,Q30) (c(Q223393),P495,Q38) (c(Q1137468),P495,Q38)
[ANSWER]
[{'concept': 'Q223393'}, 'P495', 'Q43'] [{'concept': 'Q1137468'}, 'P495', 'Q43'] [{'concept': 'Q223393'}, 'P495', 'Q43'] [{'concept': 'Q1137468'}, 'P495', 'Q43'] [{'concept': 'Q223393'}, 'P495', 'Q30'] [{'concept': 'Q1137468'}, 'P495', 'Q30'] [{'concept': 'Q223393'}, 'P495', 'Q38'] [{'concept': 'Q1137468'}, 'P495', 'Q38']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q2024092 } UNION { ?y property:P495 resource:Q2024092 } UNION { ?z property:P495 resource:Q2024092 } UNION { ?y property:P495 resource:Q2024092 } UNION { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } UNION { ?z property:P495 resource:Q977238 } UNION { ?y property:P495 resource:Q977238 } } . ?z rdf:type ontology:Q223393 . ?y rdf:type ontology:Q1137468 }
HGK The Seven-headed Dragon
2
[{'concept': 'literary genre'}, 'country of origin', 'Turkey'] [{'concept': 'aerial bomb'}, 'country of origin', 'Turkey'] [{'concept': 'literary genre'}, 'country of origin', 'Turkey'] [{'concept': 'aerial bomb'}, 'country of origin', 'Turkey'] [{'concept': 'literary genre'}, 'country of origin', 'United States of America'] [{'concept': 'aerial bomb'}, 'country of origin', 'United States of America'] [{'concept': 'literary genre'}, 'country of origin', 'Italy'] [{'concept': 'aerial bomb'}, 'country of origin', 'Italy']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:Turkey } UNION { ?y property:country_of_origin resource:Turkey } UNION { ?z property:country_of_origin resource:Turkey } UNION { ?y property:country_of_origin resource:Turkey } UNION { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } UNION { ?z property:country_of_origin resource:Italy } UNION { ?y property:country_of_origin resource:Italy } } . ?z rdf:type ontology:literary_genre . ?y rdf:type ontology:aerial_bomb }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6056880 Q43
P47 P27
Q15617994
USER
Which administrative territories are adjacent to Turkey or are Uraz Kaygılaroğlu a civilian of ?
OR((Q43,P47,c(Q15617994)), (Q6056880,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q43
relation P47
action find
entity Q6056880
relation P27
type Q15617994
{'OR': [['Q43', 'P47', {'concept': 'Q15617994'}], ['Q6056880', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q43 property:P47 ?w } UNION { resource:Q6056880 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Uraz Kaygılaroğlu Turkey
action filter_type
action union
action find
entity Turkey
relation shares border with
action find
entity Uraz Kaygılaroğlu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Turkey', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Uraz Kaygılaroğlu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Turkey property:shares_border_with ?w } UNION { resource:Uraz_Kaygılaroğlu property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q858 Q227 Q230 Q43 Q41 Q219 Q796 Q794 Q399
SYSTEM
Syria, Azerbaijan, Georgia, Turkey, Greece, Bulgaria, Iraq, Iran, Armenia
Q858 Q227 Q230 Q43 Q41 Q219 Q796 Q794 Q399
OR((Q43,P47,c(Q15617994)), (Q6056880,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q43
relation P47
action find
entity Q6056880
relation P27
type Q15617994
[ANSWERS] are adjacent to Turkey or are Uraz Kaygılaroğlu a civilian of
{'OR': [['Q43', 'P47', {'concept': 'Q15617994'}], ['Q6056880', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q43 property:P47 ?w } UNION { resource:Q6056880 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Syria Azerbaijan Georgia Turkey Greece Bulgaria Iraq Iran Armenia
Syria, Azerbaijan, Georgia, Turkey, Greece, Bulgaria, Iraq, Iran and Armenia are adjacent to Turkey or are Uraz Kaygılaroğlu a civilian of
Syria Azerbaijan Georgia Turkey Greece Bulgaria Iraq Iran Armenia
action filter_type
action union
action find
entity Turkey
relation shares border with
action find
entity Uraz Kaygılaroğlu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Turkey', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Uraz Kaygılaroğlu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Turkey property:shares_border_with ?w } UNION { resource:Uraz_Kaygılaroğlu property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q399
P35
Q502895
USER
Which person has the highest formal authority in that administrative territory ?
(Q399,P35,c(Q502895))
action filter_type
action find
entity Q399
relation P35
type Q502895
['Q399', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q399 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Armenia
action filter_type
action find
entity Armenia
relation head of state
type common name
['Armenia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Armenia property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q219
SYSTEM
Did you mean Bulgaria ?
Q858 Q227 Q230 Q43 Q41 Q219 Q796 Q794 Q399
(Q858,P35,c(Q502895)) (Q227,P35,c(Q502895)) (Q230,P35,c(Q502895)) (Q43,P35,c(Q502895)) (Q41,P35,c(Q502895)) (Q219,P35,c(Q502895)) (Q796,P35,c(Q502895)) (Q794,P35,c(Q502895)) (Q399,P35,c(Q502895))
[ANSWER]
['Q858', 'P35', {'concept': 'Q502895'}] ['Q227', 'P35', {'concept': 'Q502895'}] ['Q230', 'P35', {'concept': 'Q502895'}] ['Q43', 'P35', {'concept': 'Q502895'}] ['Q41', 'P35', {'concept': 'Q502895'}] ['Q219', 'P35', {'concept': 'Q502895'}] ['Q796', 'P35', {'concept': 'Q502895'}] ['Q794', 'P35', {'concept': 'Q502895'}] ['Q399', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q399 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Syria Azerbaijan Georgia Turkey Greece Bulgaria Iraq Iran Armenia
Did you mean Bulgaria ?
Bulgaria
['Syria', 'head of state', {'concept': 'common name'}] ['Azerbaijan', 'head of state', {'concept': 'common name'}] ['Georgia', 'head of state', {'concept': 'common name'}] ['Turkey', 'head of state', {'concept': 'common name'}] ['Greece', 'head of state', {'concept': 'common name'}] ['Bulgaria', 'head of state', {'concept': 'common name'}] ['Iraq', 'head of state', {'concept': 'common name'}] ['Iran', 'head of state', {'concept': 'common name'}] ['Armenia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Armenia property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Armenia. Could you tell me the answer for that?
(Q399,P35,c(Q502895))
Q399
['Q399', 'P35', {'concept': 'Q502895'}]
['Armenia', 'head of state', {'concept': 'common name'}]
[]
Q612803
SYSTEM
Serzh Sargsyan
Q612803
(Q399,P35,c(Q502895))
action filter_type
action find
entity Q399
relation P35
type Q502895
[ANSWER] has the highest formal authority in that administrative territory
['Q399', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q399 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Serzh Sargsyan
Serzh Sargsyan has the highest formal authority in that administrative territory
Serzh Sargsyan
action filter_type
action find
entity Armenia
relation head of state
type common name
['Armenia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Armenia property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]