Simple Question (Direct)
Simple Question
Q16106659
P102
Q7210356
USER
Which political organization is Nick Hewer a member of ?
(Q16106659,P102,c(Q7210356))
action filter_type
action find
entity Q16106659
relation P102
type Q7210356
['Q16106659', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q16106659 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Nick Hewer
action filter_type
action find
entity Nick Hewer
relation member of political party
type political organization
['Nick Hewer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Nick_Hewer property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q16106659,P102,c(Q7210356))
action filter_type
action find
entity Q16106659
relation P102
type Q7210356
The [ANSWER] is Nick Hewer a member of
['Q16106659', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q16106659 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Labour Party
The Labour Party is Nick Hewer a member of
Labour Party
action filter_type
action find
entity Nick Hewer
relation member of political party
type political organization
['Nick Hewer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Nick_Hewer property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9630
P39
Q502895
USER
Which person was responsible for occupying the position of that political organization ?
(c(Q502895),P39,Q9630)
action filter_type
action find_reverse
entity Q9630
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q9630']
SELECT DISTINCT ?h WHERE { ?h property:P39 resource:Q9630 . ?h rdf:type ontology:Q502895 }
Labour Party
action filter_type
action find_reverse
entity Labour Party
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Labour Party']
SELECT DISTINCT ?h WHERE { ?h property:position_held resource:Labour_Party . ?h rdf:type ontology:common_name }
[]
common name
Q6204390
SYSTEM
Jo Richardson
Q6204390
(c(Q502895),P39,Q9630)
action filter_type
action find_reverse
entity Q9630
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of that political organization
[{'concept': 'Q502895'}, 'P39', 'Q9630']
SELECT DISTINCT ?h WHERE { ?h property:P39 resource:Q9630 . ?h rdf:type ontology:Q502895 }
Jo Richardson
Jo Richardson was responsible for occupying the position of that political organization
Jo Richardson
action filter_type
action find_reverse
entity Labour Party
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Labour Party']
SELECT DISTINCT ?h WHERE { ?h property:position_held resource:Labour_Party . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9630
P361
Q7210356
USER
Which political organizations are a portion of that one ?
(c(Q7210356),P361,Q6204390)
action filter_type
action find_reverse
entity Q9630
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', 'Q6204390']
SELECT DISTINCT ?i WHERE { ?i property:P361 resource:Q9630 . ?i rdf:type ontology:Q7210356 }
Labour Party
action filter_type
action find_reverse
entity Labour Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Jo Richardson']
SELECT DISTINCT ?i WHERE { ?i property:part_of resource:Labour_Party . ?i rdf:type ontology:political_organization }
[]
political organization
Q832685 Q3179541
SYSTEM
Welsh Labour, Scottish Labour Party
Q832685 Q3179541
(c(Q7210356),P361,Q6204390)
action filter_type
action find_reverse
entity Q9630
relation P361
type Q7210356
[ANSWERS] are a portion of that one
[{'concept': 'Q7210356'}, 'P361', 'Q6204390']
SELECT DISTINCT ?i WHERE { ?i property:P361 resource:Q9630 . ?i rdf:type ontology:Q7210356 }
Welsh Labour Scottish Labour Party
Welsh Labour and Scottish Labour Party are a portion of that one
Welsh Labour Scottish Labour Party
action filter_type
action find_reverse
entity Labour Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Jo Richardson']
SELECT DISTINCT ?i WHERE { ?i property:part_of resource:Labour_Party . ?i rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q832685 Q3179541
P102
Q502895
USER
Who are the members of Welsh Labour and Scottish Labour Party ?
(c(Q502895),P102,Q832685) (c(Q502895),P102,Q3179541)
action union
action filter_type
action find_reverse
entity Q832685
relation P102
type Q502895
action filter_type
action find_reverse
entity Q3179541
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q832685'] [{'concept': 'Q502895'}, 'P102', 'Q3179541']
SELECT DISTINCT ?b WHERE { { ?b property:P102 resource:Q3179541 . ?b rdf:type ontology:Q502895 } UNION { ?b rdf:type ontology:Q502895 . ?b property:P102 resource:Q832685 } }
Welsh Labour Scottish Labour Party
action union
action filter_type
action find_reverse
entity Welsh Labour
relation member of political party
type common name
action filter_type
action find_reverse
entity Scottish Labour Party
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Welsh Labour'] [{'concept': 'common name'}, 'member of political party', 'Scottish Labour Party']
SELECT DISTINCT ?b WHERE { { ?b property:member_of_political_party resource:Scottish_Labour_Party . ?b rdf:type ontology:common_name } UNION { ?b rdf:type ontology:common_name . ?b property:member_of_political_party resource:Welsh_Labour } }
[]
common name
Q333158 Q333820 Q259106
SYSTEM
Donald Dewar, Henry McLeish, Douglas Alexander
Q6175921 Q7917285 Q4737493 Q5111036 Q6838044 Q7417378 Q5254977 Q24706040 Q6297656 Q6519732 Q6709399 Q7816884 Q6308284 Q6767407 Q117720 Q4766480 Q5040766 Q6154241 Q750381 Q4737506 Q6308404 Q7681863 Q6152404 Q6847187 Q111840 Q5052945 Q390690 Q5346948 Q576121 Q6530486 Q6388501 Q7325461 Q1267804 Q526409 Q511689 Q2057182 Q544484 Q2057190 Q544755 Q1541328 Q544729 Q544089 Q912167 Q1584068 Q544715 Q1906255 Q2648077 Q727460 Q2061163 Q5585516 Q1729243 Q291748 Q7615863 Q1097337 Q917995 Q1300245 Q2149018 Q1900077 Q5931093 Q2063795 Q694797 Q1443752 Q478319 Q769138 Q584351 Q1440785 Q1064575 Q1285630 Q1701321 Q4716943 Q565600 Q333158 Q1636293 Q1324835 Q1176741 Q1557330 Q1324826 Q1669774 Q1421398 Q305347 Q1738887 Q2374216 Q912525 Q1894852 Q1344022 Q1886983 Q1735695 Q1177153 Q1894865 Q2439870 Q1051152 Q2150619 Q744632 Q333820 Q1687049 Q6167868 Q1200458 Q1265439 Q1822125 Q780646 Q259106 Q1740370 Q1929744 Q2077496 Q6530492 Q1672558 Q1701389 Q979197 Q1258767
(c(Q502895),P102,Q832685) (c(Q502895),P102,Q3179541)
action union
action filter_type
action find_reverse
entity Q832685
relation P102
type Q502895
action filter_type
action find_reverse
entity Q3179541
relation P102
type Q502895
The members of Welsh Labour and Scottish Labour Party are [ANSWERS]
[{'concept': 'Q502895'}, 'P102', 'Q832685'] [{'concept': 'Q502895'}, 'P102', 'Q3179541']
SELECT DISTINCT ?b WHERE { { ?b property:P102 resource:Q3179541 . ?b rdf:type ontology:Q502895 } UNION { ?b rdf:type ontology:Q502895 . ?b property:P102 resource:Q832685 } }
Jeffrey Cuthbert Vaughan Gething Alun Davies Christine Gwyther Mick Antoniw Sandy Mewies Delyth Evans Jeremy Miles Joyce Watson Leighton Andrews Lynne Neagle Tom Middlehurst Julie James Mark Drakeford Gwenda Thomas Ann Jones Carl Sargeant Janice Gregory Susan Jones Alun Pugh Julie Morgan Tamsin Dunwoody Jane Hutt Mike Hedges Carwyn Jones Catherine Thomas Owen Smith Edwina Hart Albert Owen Lesley Griffiths Ken Skates Richard Edwards Mary Mulligan Andy Kerr Wendy Alexander Patricia Ferguson Angus MacKay Trish Godman Susan Deacon Graeme Pearson Jackie Baillie Sarah Boyack Brian Fitzpatrick Hanzala Malik Cathie Craigie Mary Fee Allan Wilson Cathy Jamieson Paul Martin Gordon Matheson Karen Gillon Margaret Curran Stewart MacDonald Claudia Beamish Bristow Muldoon Maureen Macmillan Richard Baker Mark Griffin Hugh Henry Pauline McNeill Gregg McClymont Frank McAveety Tom Harris Rhoda Grant Jim McGovern Ian Welsh Charlie Gordon Marlyn Glen John Park Alex Eadie Anne McTaggart Donald Dewar Margaret McCulloch Elaine Thomson David Stewart Neil Bibby Elaine Murray Alasdair Morrison Iain Gray Elaine Smith Ken Macintosh Sylvia Jackson Scott Barrie Margaret Jamieson Karen Whitefield Malcolm Chisholm Kate Maclean David Whitton Margaret McDougall Michael McMahon Cathy Peattie Richard Simpson Claire Baker Henry McLeish Jenny Marra Jayne Baxter Des McNulty Duncan McNeil Lewis Macdonald Janis Hughes Douglas Alexander Kezia Dugdale Mike Watson, Baron Watson of Invergowrie Peter Peacock Lesley Hinds Irene Oldfather John Pentland Neil Findlay Drew Smith
The members of Welsh Labour and Scottish Labour Party are Donald Dewar, Henry McLeish and Douglas Alexander
Donald Dewar Henry McLeish Douglas Alexander
action union
action filter_type
action find_reverse
entity Welsh Labour
relation member of political party
type common name
action filter_type
action find_reverse
entity Scottish Labour Party
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Welsh Labour'] [{'concept': 'common name'}, 'member of political party', 'Scottish Labour Party']
SELECT DISTINCT ?b WHERE { { ?b property:member_of_political_party resource:Scottish_Labour_Party . ?b rdf:type ontology:common_name } UNION { ?b rdf:type ontology:common_name . ?b property:member_of_political_party resource:Welsh_Labour } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q333158 Q333820 Q259106
P102
Q7210356
USER
Which parties do those people belong to ?
(Q333158,P102,c(Q7210356)) (Q333820,P102,c(Q7210356)) (Q259106,P102,c(Q7210356))
action filter_type
action find
entity prev_answer
relation P102
type Q7210356
['Q333158', 'P102', {'concept': 'Q7210356'}] ['Q333820', 'P102', {'concept': 'Q7210356'}] ['Q259106', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?r ) { ( resource:Q6175921 ) ( resource:Q7917285 ) ( resource:Q4737493 ) } . ?w rdf:type ontology:Q7210356 . ?r property:P102 ?w }
Donald Dewar Henry McLeish Douglas Alexander
action filter_type
action find
entity prev_answer
relation member of political party
type political organization
['Donald Dewar', 'member of political party', {'concept': 'political organization'}] ['Henry McLeish', 'member of political party', {'concept': 'political organization'}] ['Douglas Alexander', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?r ) { ( resource:Jeffrey_Cuthbert ) ( resource:Vaughan_Gething ) ( resource:Alun_Davies ) } . ?w rdf:type ontology:political_organization . ?r property:member_of_political_party ?w }
[]
political organization
Q3179541 Q3179541 Q3179541
SYSTEM
Scottish Labour Party
Q9630 Q3179541 Q9630 Q3179541 Q9630 Q3179541
(Q333158,P102,c(Q7210356)) (Q333820,P102,c(Q7210356)) (Q259106,P102,c(Q7210356))
action filter_type
action find
entity prev_answer
relation P102
type Q7210356
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q333158', 'P102', {'concept': 'Q7210356'}] ['Q333820', 'P102', {'concept': 'Q7210356'}] ['Q259106', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?r ) { ( resource:Q6175921 ) ( resource:Q7917285 ) ( resource:Q4737493 ) } . ?w rdf:type ontology:Q7210356 . ?r property:P102 ?w }
Labour Party Scottish Labour Party Labour Party Scottish Labour Party Labour Party Scottish Labour Party
Those people belong to Scottish Labour Party, Scottish Labour Party and Scottish Labour Party
Scottish Labour Party Scottish Labour Party Scottish Labour Party
action filter_type
action find
entity prev_answer
relation member of political party
type political organization
['Donald Dewar', 'member of political party', {'concept': 'political organization'}] ['Henry McLeish', 'member of political party', {'concept': 'political organization'}] ['Douglas Alexander', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?r ) { ( resource:Jeffrey_Cuthbert ) ( resource:Vaughan_Gething ) ( resource:Alun_Davies ) } . ?w rdf:type ontology:political_organization . ?r property:member_of_political_party ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3179541
P488
Q502895
USER
Who was the chair of Scottish Labour Party ?
(Q3179541,P488,c(Q502895))
action filter_type
action find
entity Q3179541
relation P488
type Q502895
['Q3179541', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q3179541 property:P488 ?z . ?z rdf:type ontology:Q502895 }
Scottish Labour Party
action filter_type
action find
entity Scottish Labour Party
relation chairperson
type common name
['Scottish Labour Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Scottish_Labour_Party property:chairperson ?z . ?z rdf:type ontology:common_name }
[]
common name
Q1740370
SYSTEM
Kezia Dugdale
Q1740370
(Q3179541,P488,c(Q502895))
action filter_type
action find
entity Q3179541
relation P488
type Q502895
The chair of Scottish Labour Party was Mrs [ANSWER]
['Q3179541', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q3179541 property:P488 ?z . ?z rdf:type ontology:Q502895 }
Kezia Dugdale
The chair of Scottish Labour Party was Mrs Kezia Dugdale
Kezia Dugdale
action filter_type
action find
entity Scottish Labour Party
relation chairperson
type common name
['Scottish Labour Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Scottish_Labour_Party property:chairperson ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1740370
P1412
Q34770
USER
Which language does that person speak in ?
(Q1740370,P1412,c(Q34770))
action filter_type
action find
entity Q1740370
relation P1412
type Q34770
['Q1740370', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q1740370 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Kezia Dugdale
action filter_type
action find
entity Kezia Dugdale
relation languages spoken, written or signed
type language
['Kezia Dugdale', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Kezia_Dugdale property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1740370,P1412,c(Q34770))
action filter_type
action find
entity Q1740370
relation P1412
type Q34770
That person speaks the [ANSWER]
['Q1740370', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q1740370 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
English
That person speaks the English
English
action filter_type
action find
entity Kezia Dugdale
relation languages spoken, written or signed
type language
['Kezia Dugdale', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Kezia_Dugdale property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q281693 Q5329170
P361
Q5962346
USER
Is that language a component of Misumalpan languages and Anglo-Frisian languages ?
(Q1860,P361,Q281693) (Q1860,P361,Q5329170)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q281693
relation P361
action find_reverse
entity Q5329170
relation P361
['Q1860', 'P361', 'Q281693'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { resource:Q1860 property:P361 resource:Q281693 . resource:Q1860 property:P361 resource:Q5329170 }
English Misumalpan languages Anglo-Frisian languages
action is_in
entity English
action intersection
action find_reverse
entity Misumalpan languages
relation part of
action find_reverse
entity Anglo-Frisian languages
relation part of
['English', 'part of', 'Misumalpan languages'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:English property:part_of resource:Misumalpan_languages . resource:English property:part_of resource:Anglo-Frisian_languages }
[]
classification scheme
SYSTEM
NO and YES respectively
(Q1860,P361,Q281693) (Q1860,P361,Q5329170)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q281693
relation P361
action find_reverse
entity Q5329170
relation P361
[ANSWER]
['Q1860', 'P361', 'Q281693'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { resource:Q1860 property:P361 resource:Q281693 . resource:Q1860 property:P361 resource:Q5329170 }
NO and YES respectively
action is_in
entity English
action intersection
action find_reverse
entity Misumalpan languages
relation part of
action find_reverse
entity Anglo-Frisian languages
relation part of
['English', 'part of', 'Misumalpan languages'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:English property:part_of resource:Misumalpan_languages . resource:English property:part_of resource:Anglo-Frisian_languages }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3179541
P1142
Q7257
USER
Which ideology does Scottish Labour Party believe in ?
(Q3179541,P1142,c(Q7257))
action filter_type
action find
entity Q3179541
relation P1142
type Q7257
['Q3179541', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?d WHERE { resource:Q3179541 property:P1142 ?d . ?d rdf:type ontology:Q7257 }
Scottish Labour Party
action filter_type
action find
entity Scottish Labour Party
relation political ideology
type ideology
['Scottish Labour Party', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?d WHERE { resource:Scottish_Labour_Party property:political_ideology ?d . ?d rdf:type ontology:ideology }
[]
ideology
Q121254
SYSTEM
social democracy
Q121254
(Q3179541,P1142,c(Q7257))
action filter_type
action find
entity Q3179541
relation P1142
type Q7257
Scottish Labour Party believes in [ANSWER]
['Q3179541', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?d WHERE { resource:Q3179541 property:P1142 ?d . ?d rdf:type ontology:Q7257 }
social democracy
Scottish Labour Party believes in social democracy
social democracy
action filter_type
action find
entity Scottish Labour Party
relation political ideology
type ideology
['Scottish Labour Party', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?d WHERE { resource:Scottish_Labour_Party property:political_ideology ?d . ?d rdf:type ontology:ideology }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3179541
P159
Q56061
USER
Which administrative territory is the head office of that political organization ?
(Q121254,P159,c(Q56061))
action filter_type
action find
entity Q3179541
relation P159
type Q56061
['Q121254', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q3179541 property:P159 ?b . ?b rdf:type ontology:Q56061 }
Scottish Labour Party
action filter_type
action find
entity Scottish Labour Party
relation headquarters location
type administrative territorial entity
['social democracy', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Scottish_Labour_Party property:headquarters_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4093
SYSTEM
Glasgow
Q4093
(Q121254,P159,c(Q56061))
action filter_type
action find
entity Q3179541
relation P159
type Q56061
[ANSWER] is the head office of that political organization
['Q121254', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q3179541 property:P159 ?b . ?b rdf:type ontology:Q56061 }
Glasgow
Glasgow is the head office of that political organization
Glasgow
action filter_type
action find
entity Scottish Labour Party
relation headquarters location
type administrative territorial entity
['social democracy', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Scottish_Labour_Party property:headquarters_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4093 Q614066 Q5015782
P190
Q15617994
USER
Is Glasgow twin town of Anyuan District and Cabot Public Schools ?
(Q4093,P190,Q614066) (Q4093,P190,Q5015782)
action is_in
entity Q4093
action intersection
action find_reverse
entity Q614066
relation P190
action find_reverse
entity Q5015782
relation P190
['Q4093', 'P190', 'Q614066'] ['Q4093', 'P190', 'Q5015782']
ASK WHERE { resource:Q4093 property:P190 resource:Q614066 . resource:Q4093 property:P190 resource:Q5015782 }
Glasgow Anyuan District Cabot Public Schools
action is_in
entity Glasgow
action intersection
action find_reverse
entity Anyuan District
relation sister city
action find_reverse
entity Cabot Public Schools
relation sister city
['Glasgow', 'sister city', 'Anyuan District'] ['Glasgow', 'sister city', 'Cabot Public Schools']
ASK WHERE { resource:Glasgow property:sister_city resource:Anyuan_District . resource:Glasgow property:sister_city resource:Cabot_Public_Schools }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4093,P190,Q614066) (Q4093,P190,Q5015782)
action is_in
entity Q4093
action intersection
action find_reverse
entity Q614066
relation P190
action find_reverse
entity Q5015782
relation P190
[ANSWER]
['Q4093', 'P190', 'Q614066'] ['Q4093', 'P190', 'Q5015782']
ASK WHERE { resource:Q4093 property:P190 resource:Q614066 . resource:Q4093 property:P190 resource:Q5015782 }
No
action is_in
entity Glasgow
action intersection
action find_reverse
entity Anyuan District
relation sister city
action find_reverse
entity Cabot Public Schools
relation sister city
['Glasgow', 'sister city', 'Anyuan District'] ['Glasgow', 'sister city', 'Cabot Public Schools']
ASK WHERE { resource:Glasgow property:sister_city resource:Anyuan_District . resource:Glasgow property:sister_city resource:Cabot_Public_Schools }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q333820
P6
Q35798
USER
Which executive branches have a government lead by Henry McLeish ?
(c(Q35798),P6,Q333820)
action filter_type
action find_reverse
entity Q333820
relation P6
type Q35798
[{'concept': 'Q35798'}, 'P6', 'Q333820']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q35798 . ?v property:P6 resource:Q333820 }
Henry McLeish
action filter_type
action find_reverse
entity Henry McLeish
relation head of government
type executive branch
[{'concept': 'executive branch'}, 'head of government', 'Henry McLeish']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:executive_branch . ?v property:head_of_government resource:Henry_McLeish }
[]
executive branch
Q3112283 Q5589361
SYSTEM
McLeish government, Government of the 1st Scottish Parliament
Q3112283 Q5589361
(c(Q35798),P6,Q333820)
action filter_type
action find_reverse
entity Q333820
relation P6
type Q35798
The [ANSWERS] have a government lead by Henry McLeish
[{'concept': 'Q35798'}, 'P6', 'Q333820']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q35798 . ?v property:P6 resource:Q333820 }
McLeish government Government of the 1st Scottish Parliament
The McLeish government and Government of the 1st Scottish Parliament have a government lead by Henry McLeish
McLeish government Government of the 1st Scottish Parliament
action filter_type
action find_reverse
entity Henry McLeish
relation head of government
type executive branch
[{'concept': 'executive branch'}, 'head of government', 'Henry McLeish']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:executive_branch . ?v property:head_of_government resource:Henry_McLeish }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q333820
P106
Q12737077
USER
What are the job of that person ?
(Q3112283,P106,c(Q12737077)) (Q5589361,P106,c(Q12737077))
action filter_type
action find
entity Q333820
relation P106
type Q12737077
['Q3112283', 'P106', {'concept': 'Q12737077'}] ['Q5589361', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q333820 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Henry McLeish
action filter_type
action find
entity Henry McLeish
relation occupation
type occupation
['McLeish government', 'occupation', {'concept': 'occupation'}] ['Government of the 1st Scottish Parliament', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Henry_McLeish property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857 Q82955 Q864380
SYSTEM
association football player, politician, biographer
Q937857 Q82955 Q864380
(Q3112283,P106,c(Q12737077)) (Q5589361,P106,c(Q12737077))
action filter_type
action find
entity Q333820
relation P106
type Q12737077
The job of that person are an [ANSWERS]
['Q3112283', 'P106', {'concept': 'Q12737077'}] ['Q5589361', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q333820 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player politician biographer
The job of that person are an association football player, politician and biographer
association football player politician biographer
action filter_type
action find
entity Henry McLeish
relation occupation
type occupation
['McLeish government', 'occupation', {'concept': 'occupation'}] ['Government of the 1st Scottish Parliament', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Henry_McLeish property:occupation ?z . ?z rdf:type ontology:occupation }
[]