Simple Question (Direct)
Simple Question
Q49936
P106
Q12737077
USER
What does Yoshihisa Inoue do for a living ?
(Q49936,P106,c(Q12737077))
action filter_type
action find
entity Q49936
relation P106
type Q12737077
['Q49936', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q49936 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Yoshihisa Inoue
action filter_type
action find
entity Yoshihisa Inoue
relation occupation
type occupation
['Yoshihisa Inoue', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Yoshihisa_Inoue property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q49936,P106,c(Q12737077))
action filter_type
action find
entity Q49936
relation P106
type Q12737077
Yoshihisa Inoue does a [ANSWER] for a living
['Q49936', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q49936 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
politician
Yoshihisa Inoue does a politician for a living
politician
action filter_type
action find
entity Yoshihisa Inoue
relation occupation
type occupation
['Yoshihisa Inoue', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Yoshihisa_Inoue property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49936
P102
Q7210356
USER
Which parties are that person affiliated with ?
(Q82955,P102,c(Q7210356))
action filter_type
action find
entity Q49936
relation P102
type Q7210356
['Q82955', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q49936 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Yoshihisa Inoue
action filter_type
action find
entity Yoshihisa Inoue
relation member of political party
type political organization
['politician', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Yoshihisa_Inoue property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
political organization
Q1979567 Q1061354
SYSTEM
New Frontier Party, Komeito
Q1979567 Q1061354
(Q82955,P102,c(Q7210356))
action filter_type
action find
entity Q49936
relation P102
type Q7210356
That person are affiliated with [ANSWERS]
['Q82955', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q49936 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
New Frontier Party Komeito
That person are affiliated with New Frontier Party and Komeito
New Frontier Party Komeito
action filter_type
action find
entity Yoshihisa Inoue
relation member of political party
type political organization
['politician', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Yoshihisa_Inoue property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49936
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q1979567,P27,c(Q15617994)) (Q1061354,P27,c(Q15617994))
action filter_type
action find
entity Q49936
relation P27
type Q15617994
['Q1979567', 'P27', {'concept': 'Q15617994'}] ['Q1061354', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q49936 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Yoshihisa Inoue
action filter_type
action find
entity Yoshihisa Inoue
relation country of citizenship
type designation for an administrative territorial entity
['New Frontier Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Komeito', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Yoshihisa_Inoue property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q1979567,P27,c(Q15617994)) (Q1061354,P27,c(Q15617994))
action filter_type
action find
entity Q49936
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q1979567', 'P27', {'concept': 'Q15617994'}] ['Q1061354', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q49936 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Japan
The Japan is that person an inhabitant of
Japan
action filter_type
action find
entity Yoshihisa Inoue
relation country of citizenship
type designation for an administrative territorial entity
['New Frontier Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Komeito', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Yoshihisa_Inoue property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q17 Q11368398
P27
Q502895
USER
Is Yasuhiro Maruta a civilian of that administrative territory ?
(Q11368398,P27,Q17)
action is_in
entity Q17
action find
entity Q11368398
relation P27
['Q11368398', 'P27', 'Q17']
ASK WHERE { resource:Q11368398 property:P27 resource:Q17 }
Japan Yasuhiro Maruta
action is_in
entity Japan
action find
entity Yasuhiro Maruta
relation country of citizenship
['Yasuhiro Maruta', 'country of citizenship', 'Japan']
ASK WHERE { resource:Yasuhiro_Maruta property:country_of_citizenship resource:Japan }
[]
common name
SYSTEM
YES
(Q11368398,P27,Q17)
action is_in
entity Q17
action find
entity Q11368398
relation P27
[ANSWER]
['Q11368398', 'P27', 'Q17']
ASK WHERE { resource:Q11368398 property:P27 resource:Q17 }
Yes
action is_in
entity Japan
action find
entity Yasuhiro Maruta
relation country of citizenship
['Yasuhiro Maruta', 'country of citizenship', 'Japan']
ASK WHERE { resource:Yasuhiro_Maruta property:country_of_citizenship resource:Japan }
[]