Simple Question (Direct)
Simple Question
Q1717689
P509
Q2057971
USER
How did Walter Capps die ?
(Q1717689,P509,c(Q2057971))
action filter_type
action find
entity Q1717689
relation P509
type Q2057971
['Q1717689', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?v WHERE { resource:Q1717689 property:P509 ?v . ?v rdf:type ontology:Q2057971 }
Walter Capps
action filter_type
action find
entity Walter Capps
relation cause of death
type health problem
['Walter Capps', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?v WHERE { resource:Walter_Capps property:cause_of_death ?v . ?v rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q1717689,P509,c(Q2057971))
action filter_type
action find
entity Q1717689
relation P509
type Q2057971
Walter Capps died from [ANSWER]
['Q1717689', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?v WHERE { resource:Q1717689 property:P509 ?v . ?v rdf:type ontology:Q2057971 }
myocardial infarction
Walter Capps died from myocardial infarction
myocardial infarction
action filter_type
action find
entity Walter Capps
relation cause of death
type health problem
['Walter Capps', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?v WHERE { resource:Walter_Capps property:cause_of_death ?v . ?v rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1717689
P102
Q7210356
USER
Which party is Walter Capps affiliated with ?
(Q1717689,P102,c(Q7210356))
action filter_type
action find
entity Q1717689
relation P102
type Q7210356
['Q1717689', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7210356 . resource:Q1717689 property:P102 ?u }
Walter Capps
action filter_type
action find
entity Walter Capps
relation member of political party
type political organization
['Walter Capps', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_organization . resource:Walter_Capps property:member_of_political_party ?u }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q1717689,P102,c(Q7210356))
action filter_type
action find
entity Q1717689
relation P102
type Q7210356
Walter Capps is affiliated with [ANSWER]
['Q1717689', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7210356 . resource:Q1717689 property:P102 ?u }
Democratic Party
Walter Capps is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Walter Capps
relation member of political party
type political organization
['Walter Capps', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_organization . resource:Walter_Capps property:member_of_political_party ?u }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q960370
Q7210356
USER
And how about Julian Stryjkowski?
(Q960370,P102,c(Q7210356))
action filter_type
action find
entity Q960370
relation P102
type Q7210356
['Q960370', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q960370 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Julian Stryjkowski
action filter_type
action find
entity Julian Stryjkowski
relation member of political party
type political organization
['Julian Stryjkowski', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Julian_Stryjkowski property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
political organization
Q537303
SYSTEM
Polish United Workers' Party
Q537303
(Q960370,P102,c(Q7210356))
action filter_type
action find
entity Q960370
relation P102
type Q7210356
[ANSWER]
['Q960370', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q960370 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Polish United Workers' Party
Polish United Workers' Party
action filter_type
action find
entity Julian Stryjkowski
relation member of political party
type political organization
['Julian Stryjkowski', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Julian_Stryjkowski property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q537303 Q10302
P17
Q15617994
USER
Is that political organization located in Sestriere ?
(Q537303,P17,Q10302)
action is_in
entity Q10302
action find
entity Q537303
relation P17
['Q537303', 'P17', 'Q10302']
ASK WHERE { resource:Q537303 property:P17 resource:Q10302 }
Polish United Workers' Party Sestriere
action is_in
entity Sestriere
action find
entity Polish United Workers' Party
relation country
["Polish United Workers' Party", 'country', 'Sestriere']
ASK WHERE { resource:Polish_United_Workers'_Party property:country resource:Sestriere }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q537303,P17,Q10302)
action is_in
entity Q10302
action find
entity Q537303
relation P17
[ANSWER]
['Q537303', 'P17', 'Q10302']
ASK WHERE { resource:Q537303 property:P17 resource:Q10302 }
No
action is_in
entity Sestriere
action find
entity Polish United Workers' Party
relation country
["Polish United Workers' Party", 'country', 'Sestriere']
ASK WHERE { resource:Polish_United_Workers'_Party property:country resource:Sestriere }
[]