Simple Question (Direct)
Simple Question
Q1714165
P106
Q12737077
USER
Which occupations are the professions of Justin Amash ?
(Q1714165,P106,c(Q12737077))
action filter_type
action find
entity Q1714165
relation P106
type Q12737077
['Q1714165', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1714165 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Justin Amash
action filter_type
action find
entity Justin Amash
relation occupation
type occupation
['Justin Amash', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Justin_Amash property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q188094 Q82955
SYSTEM
economist, politician
Q188094 Q82955
(Q1714165,P106,c(Q12737077))
action filter_type
action find
entity Q1714165
relation P106
type Q12737077
The professions of Justin Amash are an [ANSWERS]
['Q1714165', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1714165 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
economist politician
The professions of Justin Amash are an economist and politician
economist politician
action filter_type
action find
entity Justin Amash
relation occupation
type occupation
['Justin Amash', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Justin_Amash property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1714165
P102
Q7210356
USER
Which party does that person belong to ?
(Q188094,P102,c(Q7210356)) (Q82955,P102,c(Q7210356))
action filter_type
action find
entity Q1714165
relation P102
type Q7210356
['Q188094', 'P102', {'concept': 'Q7210356'}] ['Q82955', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q1714165 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Justin Amash
action filter_type
action find
entity Justin Amash
relation member of political party
type political organization
['economist', 'member of political party', {'concept': 'political organization'}] ['politician', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Justin_Amash property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q188094,P102,c(Q7210356)) (Q82955,P102,c(Q7210356))
action filter_type
action find
entity Q1714165
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q188094', 'P102', {'concept': 'Q7210356'}] ['Q82955', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q1714165 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Republican Party
That person belongs to Republican Party
Republican Party
action filter_type
action find
entity Justin Amash
relation member of political party
type political organization
['economist', 'member of political party', {'concept': 'political organization'}] ['politician', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Justin_Amash property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29468 Q436784
P102
Q502895
USER
Is Joel McCrea affiliated to that political organization ?
(Q436784,P102,Q29468)
action is_in
entity Q29468
action find
entity Q436784
relation P102
['Q436784', 'P102', 'Q29468']
ASK WHERE { resource:Q436784 property:P102 resource:Q29468 }
Republican Party Joel McCrea
action is_in
entity Republican Party
action find
entity Joel McCrea
relation member of political party
['Joel McCrea', 'member of political party', 'Republican Party']
ASK WHERE { resource:Joel_McCrea property:member_of_political_party resource:Republican_Party }
[]
common name
SYSTEM
YES
(Q436784,P102,Q29468)
action is_in
entity Q29468
action find
entity Q436784
relation P102
[ANSWER]
['Q436784', 'P102', 'Q29468']
ASK WHERE { resource:Q436784 property:P102 resource:Q29468 }
Yes
action is_in
entity Republican Party
action find
entity Joel McCrea
relation member of political party
['Joel McCrea', 'member of political party', 'Republican Party']
ASK WHERE { resource:Joel_McCrea property:member_of_political_party resource:Republican_Party }
[]