Simple Question (Direct)
Simple Question
Q16003888
P39
Q12737077
USER
Which occupation was a position occupied by James Dixon Murray ?
(Q16003888,P39,c(Q12737077))
action filter_type
action find
entity Q16003888
relation P39
type Q12737077
['Q16003888', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q16003888 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
James Dixon Murray
action filter_type
action find
entity James Dixon Murray
relation position held
type occupation
['James Dixon Murray', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:James_Dixon_Murray property:position_held ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q16003888,P39,c(Q12737077))
action filter_type
action find
entity Q16003888
relation P39
type Q12737077
[ANSWER] was a position occupied by James Dixon Murray
['Q16003888', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q16003888 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom was a position occupied by James Dixon Murray
Member of Parliament in the United Kingdom
action filter_type
action find
entity James Dixon Murray
relation position held
type occupation
['James Dixon Murray', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:James_Dixon_Murray property:position_held ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16003888
P106
Q12737077
USER
What is the job of that person ?
(Q16707842,P106,c(Q12737077))
action filter_type
action find
entity Q16003888
relation P106
type Q12737077
['Q16707842', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q16003888 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
James Dixon Murray
action filter_type
action find
entity James Dixon Murray
relation occupation
type occupation
['Member of Parliament in the United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:James_Dixon_Murray property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16707842,P106,c(Q12737077))
action filter_type
action find
entity Q16003888
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q16707842', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q16003888 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity James Dixon Murray
relation occupation
type occupation
['Member of Parliament in the United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:James_Dixon_Murray property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16003888
P1412
Q34770
USER
Which language can that person understand ?
(Q82955,P1412,c(Q34770))
action filter_type
action find
entity Q16003888
relation P1412
type Q34770
['Q82955', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q16003888 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
James Dixon Murray
action filter_type
action find
entity James Dixon Murray
relation languages spoken, written or signed
type language
['politician', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:James_Dixon_Murray property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q82955,P1412,c(Q34770))
action filter_type
action find
entity Q16003888
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q82955', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q16003888 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
English
That person can understand the English
English
action filter_type
action find
entity James Dixon Murray
relation languages spoken, written or signed
type language
['politician', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:James_Dixon_Murray property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16003888
P937
Q56061
USER
Where did that person work ?
(Q1860,P937,c(Q56061))
action filter_type
action find
entity Q16003888
relation P937
type Q56061
['Q1860', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q16003888 property:P937 ?m . ?m rdf:type ontology:Q56061 }
James Dixon Murray
action filter_type
action find
entity James Dixon Murray
relation work location
type administrative territorial entity
['English', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:James_Dixon_Murray property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q1860,P937,c(Q56061))
action filter_type
action find
entity Q16003888
relation P937
type Q56061
That person worked in [ANSWER]
['Q1860', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q16003888 property:P937 ?m . ?m rdf:type ontology:Q56061 }
London
That person worked in London
London
action filter_type
action find
entity James Dixon Murray
relation work location
type administrative territorial entity
['English', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:James_Dixon_Murray property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16003888
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q84,P102,c(Q7210356))
action filter_type
action find
entity Q16003888
relation P102
type Q7210356
['Q84', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7210356 . resource:Q16003888 property:P102 ?p }
James Dixon Murray
action filter_type
action find
entity James Dixon Murray
relation member of political party
type political organization
['London', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_organization . resource:James_Dixon_Murray property:member_of_political_party ?p }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q84,P102,c(Q7210356))
action filter_type
action find
entity Q16003888
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q84', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q7210356 . resource:Q16003888 property:P102 ?p }
Labour Party
That person is affiliated with Labour Party
Labour Party
action filter_type
action find
entity James Dixon Murray
relation member of political party
type political organization
['London', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_organization . resource:James_Dixon_Murray property:member_of_political_party ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9630
P463
Q502895
USER
Who are a member of that political organization ?
(c(Q502895),P463,Q9630)
action filter_type
action find_reverse
entity Q9630
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q9630']
SELECT DISTINCT ?u WHERE { ?u property:P463 resource:Q9630 . ?u rdf:type ontology:Q502895 }
Labour Party
action filter_type
action find_reverse
entity Labour Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Labour Party']
SELECT DISTINCT ?u WHERE { ?u property:member_of resource:Labour_Party . ?u rdf:type ontology:common_name }
[]
common name
Q234182 Q2883936 Q4731502
SYSTEM
Harriet Harman, Barbara Castle, Baroness Castle of Blackburn, Allen Adams
Q234182 Q5931093 Q4731502 Q2883936
(c(Q502895),P463,Q9630)
action filter_type
action find_reverse
entity Q9630
relation P463
type Q502895
A member of that political organization are [ANSWERS]
[{'concept': 'Q502895'}, 'P463', 'Q9630']
SELECT DISTINCT ?u WHERE { ?u property:P463 resource:Q9630 . ?u rdf:type ontology:Q502895 }
Harriet Harman Hugh Henry Allen Adams Barbara Castle, Baroness Castle of Blackburn
A member of that political organization are Harriet Harman, Barbara Castle, Baroness Castle of Blackburn and Allen Adams
Harriet Harman Barbara Castle, Baroness Castle of Blackburn Allen Adams
action filter_type
action find_reverse
entity Labour Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Labour Party']
SELECT DISTINCT ?u WHERE { ?u property:member_of resource:Labour_Party . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q234182 Q2883936 Q4731502
P1412
Q34770
USER
Which languages are those people capable of writing ?
(Q234182,P1412,c(Q34770)) (Q2883936,P1412,c(Q34770)) (Q4731502,P1412,c(Q34770))
action filter_type
action find
entity prev_answer
relation P1412
type Q34770
['Q234182', 'P1412', {'concept': 'Q34770'}] ['Q2883936', 'P1412', {'concept': 'Q34770'}] ['Q4731502', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { ?r property:P1412 ?w . ?w rdf:type ontology:Q34770 . VALUES ( ?r ) { ( resource:Q234182 ) ( resource:Q5931093 ) ( resource:Q4731502 ) } }
Harriet Harman Barbara Castle, Baroness Castle of Blackburn Allen Adams
action filter_type
action find
entity prev_answer
relation languages spoken, written or signed
type language
['Harriet Harman', 'languages spoken, written or signed', {'concept': 'language'}] ['Barbara Castle, Baroness Castle of Blackburn', 'languages spoken, written or signed', {'concept': 'language'}] ['Allen Adams', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { ?r property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language . VALUES ( ?r ) { ( resource:Harriet_Harman ) ( resource:Hugh_Henry ) ( resource:Allen_Adams ) } }
[]
language
Q1860 Q1860 Q1860
SYSTEM
English
Q1860 Q1860 Q1860
(Q234182,P1412,c(Q34770)) (Q2883936,P1412,c(Q34770)) (Q4731502,P1412,c(Q34770))
action filter_type
action find
entity prev_answer
relation P1412
type Q34770
[ANSWER], [ANSWER] and [ANSWER] are those people capable of writing
['Q234182', 'P1412', {'concept': 'Q34770'}] ['Q2883936', 'P1412', {'concept': 'Q34770'}] ['Q4731502', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { ?r property:P1412 ?w . ?w rdf:type ontology:Q34770 . VALUES ( ?r ) { ( resource:Q234182 ) ( resource:Q5931093 ) ( resource:Q4731502 ) } }
English English English
English, English and English are those people capable of writing
English English English
action filter_type
action find
entity prev_answer
relation languages spoken, written or signed
type language
['Harriet Harman', 'languages spoken, written or signed', {'concept': 'language'}] ['Barbara Castle, Baroness Castle of Blackburn', 'languages spoken, written or signed', {'concept': 'language'}] ['Allen Adams', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { ?r property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language . VALUES ( ?r ) { ( resource:Harriet_Harman ) ( resource:Hugh_Henry ) ( resource:Allen_Adams ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q234182
P69
Q3918
USER
Which university is Harriet Harman an alumni of ?
(Q234182,P69,c(Q3918))
action filter_type
action find
entity Q234182
relation P69
type Q3918
['Q234182', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?f WHERE { resource:Q234182 property:P69 ?f . ?f rdf:type ontology:Q3918 }
Harriet Harman
action filter_type
action find
entity Harriet Harman
relation educated at
type university
['Harriet Harman', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?f WHERE { resource:Harriet_Harman property:educated_at ?f . ?f rdf:type ontology:university }
[]
university
Q967165
SYSTEM
University of York
Q967165
(Q234182,P69,c(Q3918))
action filter_type
action find
entity Q234182
relation P69
type Q3918
The [ANSWER] is Harriet Harman an alumni of
['Q234182', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?f WHERE { resource:Q234182 property:P69 ?f . ?f rdf:type ontology:Q3918 }
University of York
The University of York is Harriet Harman an alumni of
University of York
action filter_type
action find
entity Harriet Harman
relation educated at
type university
['Harriet Harman', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?f WHERE { resource:Harriet_Harman property:educated_at ?f . ?f rdf:type ontology:university }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7369520
Q3918
USER
And what about Ross McNicol?
(Q7369520,P69,c(Q3918))
action filter_type
action find
entity Q7369520
relation P69
type Q3918
['Q7369520', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?h WHERE { resource:Q7369520 property:P69 ?h . ?h rdf:type ontology:Q3918 }
Ross McNicol
action filter_type
action find
entity Ross McNicol
relation educated at
type university
['Ross McNicol', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?h WHERE { resource:Ross_McNicol property:educated_at ?h . ?h rdf:type ontology:university }
[]
university
Q245247
SYSTEM
King's College London
Q245247
(Q7369520,P69,c(Q3918))
action filter_type
action find
entity Q7369520
relation P69
type Q3918
[ANSWER]
['Q7369520', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?h WHERE { resource:Q7369520 property:P69 ?h . ?h rdf:type ontology:Q3918 }
King's College London
King's College London
action filter_type
action find
entity Ross McNicol
relation educated at
type university
['Ross McNicol', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?h WHERE { resource:Ross_McNicol property:educated_at ?h . ?h rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q245247 Q6816884
P108
Q502895
USER
Does Menelas N. Pangalos have that university as its employer ?
(Q6816884,P108,Q245247)
action is_in
entity Q245247
action find
entity Q6816884
relation P108
['Q6816884', 'P108', 'Q245247']
ASK WHERE { resource:Q6816884 property:P108 resource:Q245247 }
King's College London Menelas N. Pangalos
action is_in
entity King's College London
action find
entity Menelas N. Pangalos
relation employer
['Menelas N. Pangalos', 'employer', "King's College London"]
ASK WHERE { resource:Menelas_N._Pangalos property:employer resource:King's_College_London }
[]
common name
SYSTEM
YES
(Q6816884,P108,Q245247)
action is_in
entity Q245247
action find
entity Q6816884
relation P108
[ANSWER]
['Q6816884', 'P108', 'Q245247']
ASK WHERE { resource:Q6816884 property:P108 resource:Q245247 }
Yes
action is_in
entity King's College London
action find
entity Menelas N. Pangalos
relation employer
['Menelas N. Pangalos', 'employer', "King's College London"]
ASK WHERE { resource:Menelas_N._Pangalos property:employer resource:King's_College_London }
[]