Simple Question (Direct)
Simple Question
Q16010082
P102
Q7210356
USER
Which party is Rupert Peyton affiliated with ?
(Q16010082,P102,c(Q7210356))
action filter_type
action find
entity Q16010082
relation P102
type Q7210356
['Q16010082', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q16010082 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Rupert Peyton
action filter_type
action find
entity Rupert Peyton
relation member of political party
type political organization
['Rupert Peyton', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Rupert_Peyton property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q16010082,P102,c(Q7210356))
action filter_type
action find
entity Q16010082
relation P102
type Q7210356
Rupert Peyton is affiliated with [ANSWER]
['Q16010082', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q16010082 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Democratic Party
Rupert Peyton is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Rupert Peyton
relation member of political party
type political organization
['Rupert Peyton', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Rupert_Peyton property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16010082
P27
Q15617994
USER
Which administrative territory does Rupert Peyton belong to ?
(Q16010082,P27,c(Q15617994))
action filter_type
action find
entity Q16010082
relation P27
type Q15617994
['Q16010082', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q16010082 property:P27 ?v }
Rupert Peyton
action filter_type
action find
entity Rupert Peyton
relation country of citizenship
type designation for an administrative territorial entity
['Rupert Peyton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rupert_Peyton property:country_of_citizenship ?v }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q16010082,P27,c(Q15617994))
action filter_type
action find
entity Q16010082
relation P27
type Q15617994
Rupert Peyton belongs to [ANSWER]
['Q16010082', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q16010082 property:P27 ?v }
United States of America
Rupert Peyton belongs to United States of America
United States of America
action filter_type
action find
entity Rupert Peyton
relation country of citizenship
type designation for an administrative territorial entity
['Rupert Peyton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rupert_Peyton property:country_of_citizenship ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16010082
P1412
Q34770
USER
Which language can that person read ?
(Q30,P1412,c(Q34770))
action filter_type
action find
entity Q16010082
relation P1412
type Q34770
['Q30', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q16010082 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Rupert Peyton
action filter_type
action find
entity Rupert Peyton
relation languages spoken, written or signed
type language
['United States of America', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Rupert_Peyton property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q30,P1412,c(Q34770))
action filter_type
action find
entity Q16010082
relation P1412
type Q34770
That person can read the [ANSWER]
['Q30', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q16010082 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
English
That person can read the English
English
action filter_type
action find
entity Rupert Peyton
relation languages spoken, written or signed
type language
['United States of America', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Rupert_Peyton property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q2907839
P1412
Q502895
USER
Does Bob Spiers write that language ?
(Q2907839,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q2907839
relation P1412
['Q2907839', 'P1412', 'Q1860']
ASK WHERE { resource:Q2907839 property:P1412 resource:Q1860 }
English Bob Spiers
action is_in
entity English
action find
entity Bob Spiers
relation languages spoken, written or signed
['Bob Spiers', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Bob_Spiers property:languages_spoken,_written_or_signed resource:English }
[]
common name
SYSTEM
YES
(Q2907839,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q2907839
relation P1412
[ANSWER]
['Q2907839', 'P1412', 'Q1860']
ASK WHERE { resource:Q2907839 property:P1412 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Bob Spiers
relation languages spoken, written or signed
['Bob Spiers', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Bob_Spiers property:languages_spoken,_written_or_signed resource:English }
[]