Simple Question (Direct)
Simple Question
Q15114148
P102
Q7278
USER
Which political party is Bernd Westphal a member of ?
(Q15114148,P102,c(Q7278))
action filter_type
action find
entity Q15114148
relation P102
type Q7278
['Q15114148', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?x WHERE { resource:Q15114148 property:P102 ?x . ?x rdf:type ontology:Q7278 }
Bernd Westphal
action filter_type
action find
entity Bernd Westphal
relation member of political party
type political party
['Bernd Westphal', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?x WHERE { resource:Bernd_Westphal property:member_of_political_party ?x . ?x rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q15114148,P102,c(Q7278))
action filter_type
action find
entity Q15114148
relation P102
type Q7278
Party [ANSWER] is Bernd Westphal a member of
['Q15114148', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?x WHERE { resource:Q15114148 property:P102 ?x . ?x rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Bernd Westphal a member of
Social Democratic Party of Germany
action filter_type
action find
entity Bernd Westphal
relation member of political party
type political party
['Bernd Westphal', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?x WHERE { resource:Bernd_Westphal property:member_of_political_party ?x . ?x rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15114148
P937
Q56061
USER
What is the location where that person worked ?
(Q49768,P937,c(Q56061))
action filter_type
action find
entity Q15114148
relation P937
type Q56061
['Q49768', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q15114148 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Bernd Westphal
action filter_type
action find
entity Bernd Westphal
relation work location
type administrative territorial entity
['Social Democratic Party of Germany', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Bernd_Westphal property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q49768,P937,c(Q56061))
action filter_type
action find
entity Q15114148
relation P937
type Q56061
The location that person worked is in [ANSWER]
['Q49768', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q15114148 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Berlin
The location that person worked is in Berlin
Berlin
action filter_type
action find
entity Bernd Westphal
relation work location
type administrative territorial entity
['Social Democratic Party of Germany', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Bernd_Westphal property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15114148
P39
Q12737077
USER
What was the position held by that person ?
(Q64,P39,c(Q12737077))
action filter_type
action find
entity Q15114148
relation P39
type Q12737077
['Q64', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q15114148 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Bernd Westphal
action filter_type
action find
entity Bernd Westphal
relation position held
type occupation
['Berlin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Bernd_Westphal property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q1939555
SYSTEM
member of the German Bundestag
Q1939555
(Q64,P39,c(Q12737077))
action filter_type
action find
entity Q15114148
relation P39
type Q12737077
The position held by that person was a [ANSWER]
['Q64', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q15114148 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
member of the German Bundestag
The position held by that person was a member of the German Bundestag
member of the German Bundestag
action filter_type
action find
entity Bernd Westphal
relation position held
type occupation
['Berlin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Bernd_Westphal property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15114148
P106
Q12737077
USER
What does that person do for a living ?
(Q1939555,P106,c(Q12737077))
action filter_type
action find
entity Q15114148
relation P106
type Q12737077
['Q1939555', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q15114148 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Bernd Westphal
action filter_type
action find
entity Bernd Westphal
relation occupation
type occupation
['member of the German Bundestag', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Bernd_Westphal property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1939555,P106,c(Q12737077))
action filter_type
action find
entity Q15114148
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q1939555', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q15114148 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
politician
Politician that person does for a living
politician
action filter_type
action find
entity Bernd Westphal
relation occupation
type occupation
['member of the German Bundestag', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Bernd_Westphal property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q82955 Q12300886
P106
Q502895
USER
Does Albert de Thurah have that occupation as his/her means of employment ?
(Q12300886,P106,Q82955)
action is_in
entity Q12300886
action find
entity Q82955
relation P106
['Q12300886', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q12300886 }
politician Albert de Thurah
action is_in
entity Albert de Thurah
action find
entity politician
relation occupation
['Albert de Thurah', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Albert_de_Thurah }
[]
common name
SYSTEM
NO
(Q12300886,P106,Q82955)
action is_in
entity Q12300886
action find
entity Q82955
relation P106
[ANSWER]
['Q12300886', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q12300886 }
No
action is_in
entity Albert de Thurah
action find
entity politician
relation occupation
['Albert de Thurah', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Albert_de_Thurah }
[]