Simple Question (Direct)
Simple Question
Q291683
P102
Q7210356
USER
Which political organization is Jim Cunningham a member of ?
(Q291683,P102,c(Q7210356))
action filter_type
action find
entity Q291683
relation P102
type Q7210356
['Q291683', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q291683 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Jim Cunningham
action filter_type
action find
entity Jim Cunningham
relation member of political party
type political organization
['Jim Cunningham', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Jim_Cunningham property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q291683,P102,c(Q7210356))
action filter_type
action find
entity Q291683
relation P102
type Q7210356
The [ANSWER] is Jim Cunningham a member of
['Q291683', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q291683 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Labour Party
The Labour Party is Jim Cunningham a member of
Labour Party
action filter_type
action find
entity Jim Cunningham
relation member of political party
type political organization
['Jim Cunningham', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Jim_Cunningham property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9630
P463
Q502895
USER
Which people are a part 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 ?b WHERE { ?b property:P463 resource:Q9630 . ?b 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 ?b WHERE { ?b property:member_of resource:Labour_Party . ?b 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
[ANSWERS] are a part of that political organization
[{'concept': 'Q502895'}, 'P463', 'Q9630']
SELECT DISTINCT ?b WHERE { ?b property:P463 resource:Q9630 . ?b rdf:type ontology:Q502895 }
Harriet Harman Hugh Henry Allen Adams Barbara Castle, Baroness Castle of Blackburn
Harriet Harman, Barbara Castle, Baroness Castle of Blackburn and Allen Adams are a part of that political organization
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 ?b WHERE { ?b property:member_of resource:Labour_Party . ?b rdf:type ontology:common_name }
[]