Simple Question (Direct)
Simple Question
Q1288739
P102
Q7278
USER
Which political party is Michael Waldhelm a member of ?
(Q1288739,P102,c(Q7278))
action filter_type
action find
entity Q1288739
relation P102
type Q7278
['Q1288739', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?g WHERE { resource:Q1288739 property:P102 ?g . ?g rdf:type ontology:Q7278 }
Michael Waldhelm
action filter_type
action find
entity Michael Waldhelm
relation member of political party
type political party
['Michael Waldhelm', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?g WHERE { resource:Michael_Waldhelm property:member_of_political_party ?g . ?g rdf:type ontology:political_party }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q1288739,P102,c(Q7278))
action filter_type
action find
entity Q1288739
relation P102
type Q7278
The [ANSWER] is Michael Waldhelm a member of
['Q1288739', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?g WHERE { resource:Q1288739 property:P102 ?g . ?g rdf:type ontology:Q7278 }
Christian Democratic Union
The Christian Democratic Union is Michael Waldhelm a member of
Christian Democratic Union
action filter_type
action find
entity Michael Waldhelm
relation member of political party
type political party
['Michael Waldhelm', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?g WHERE { resource:Michael_Waldhelm property:member_of_political_party ?g . ?g rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49762
P106
Q502895
USER
Which person has the profession of that political party ?
(c(Q502895),P106,Q49762)
action filter_type
action find_reverse
entity Q49762
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q49762']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P106 resource:Q49762 }
Christian Democratic Union
action filter_type
action find_reverse
entity Christian Democratic Union
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Christian Democratic Union']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:occupation resource:Christian_Democratic_Union }
[]
common name
Q21502234
SYSTEM
Simone Schulze
Q21502234
(c(Q502895),P106,Q49762)
action filter_type
action find_reverse
entity Q49762
relation P106
type Q502895
[ANSWER] has the profession of that political party
[{'concept': 'Q502895'}, 'P106', 'Q49762']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P106 resource:Q49762 }
Simone Schulze
Simone Schulze has the profession of that political party
Simone Schulze
action filter_type
action find_reverse
entity Christian Democratic Union
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Christian Democratic Union']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:occupation resource:Christian_Democratic_Union }
[]