Simple Question (Direct)
Simple Question
Q1760571
P69
Q163740
USER
Which nonprofit organization was Paul Shorey educated at ?
(Q1760571,P69,c(Q163740))
action filter_type
action find
entity Q1760571
relation P69
type Q163740
['Q1760571', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q163740 . resource:Q1760571 property:P69 ?f }
Paul Shorey
action filter_type
action find
entity Paul Shorey
relation educated at
type nonprofit organization
['Paul Shorey', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:nonprofit_organization . resource:Paul_Shorey property:educated_at ?f }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q1760571,P69,c(Q163740))
action filter_type
action find
entity Q1760571
relation P69
type Q163740
Paul Shorey was educated by [ANSWER]
['Q1760571', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q163740 . resource:Q1760571 property:P69 ?f }
Harvard University
Paul Shorey was educated by Harvard University
Harvard University
action filter_type
action find
entity Paul Shorey
relation educated at
type nonprofit organization
['Paul Shorey', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:nonprofit_organization . resource:Paul_Shorey property:educated_at ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1760571
P106
Q12737077
USER
Which occupations have Paul Shorey as his/her 's career ?
(Q1760571,P106,c(Q12737077))
action filter_type
action find
entity Q1760571
relation P106
type Q12737077
['Q1760571', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1760571 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Paul Shorey
action filter_type
action find
entity Paul Shorey
relation occupation
type occupation
['Paul Shorey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Paul_Shorey property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q16267607 Q1622272
SYSTEM
classical philologist, university teacher
Q16267607 Q1622272
(Q1760571,P106,c(Q12737077))
action filter_type
action find
entity Q1760571
relation P106
type Q12737077
The [ANSWERS] have Paul Shorey as his/her 's career
['Q1760571', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1760571 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
classical philologist university teacher
The classical philologist and university teacher have Paul Shorey as his/her 's career
classical philologist university teacher
action filter_type
action find
entity Paul Shorey
relation occupation
type occupation
['Paul Shorey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Paul_Shorey property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21536389
P106
Q502895
USER
Do Charles Rolando have career as those occupations ?
(Q21536389,P106,Q16267607) (Q21536389,P106,Q1622272)
action is_in
entity prev_answer
action find
entity Q21536389
relation P106
['Q21536389', 'P106', 'Q16267607'] ['Q21536389', 'P106', 'Q1622272']
ASK WHERE { VALUES ( ?k ) { ( resource:Q16267607 ) ( resource:Q1622272 ) } . resource:Q21536389 property:P106 ?k }
Charles Rolando
action is_in
entity prev_answer
action find
entity Charles Rolando
relation occupation
['Charles Rolando', 'occupation', 'classical philologist'] ['Charles Rolando', 'occupation', 'university teacher']
ASK WHERE { VALUES ( ?k ) { ( resource:classical_philologist ) ( resource:university_teacher ) } . resource:Charles_Rolando property:occupation ?k }
[]
common name
SYSTEM
NO
(Q21536389,P106,Q16267607) (Q21536389,P106,Q1622272)
action is_in
entity prev_answer
action find
entity Q21536389
relation P106
[ANSWER]
['Q21536389', 'P106', 'Q16267607'] ['Q21536389', 'P106', 'Q1622272']
ASK WHERE { VALUES ( ?k ) { ( resource:Q16267607 ) ( resource:Q1622272 ) } . resource:Q21536389 property:P106 ?k }
No
action is_in
entity prev_answer
action find
entity Charles Rolando
relation occupation
['Charles Rolando', 'occupation', 'classical philologist'] ['Charles Rolando', 'occupation', 'university teacher']
ASK WHERE { VALUES ( ?k ) { ( resource:classical_philologist ) ( resource:university_teacher ) } . resource:Charles_Rolando property:occupation ?k }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1622272 Q19965233 Q9438
P417
Q502895
USER
Does university teacher have Manfred Reinelt and Thomas Aquinas as their patron saint ?
(Q1622272,P417,Q19965233) (Q1622272,P417,Q9438)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q19965233
relation P417
action find_reverse
entity Q9438
relation P417
['Q1622272', 'P417', 'Q19965233'] ['Q1622272', 'P417', 'Q9438']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9438 . resource:Q1622272 property:P417 resource:Q19965233 }
university teacher Manfred Reinelt Thomas Aquinas
action is_in
entity university teacher
action intersection
action find_reverse
entity Manfred Reinelt
relation patron saint
action find_reverse
entity Thomas Aquinas
relation patron saint
['university teacher', 'patron saint', 'Manfred Reinelt'] ['university teacher', 'patron saint', 'Thomas Aquinas']
ASK WHERE { resource:university_teacher property:patron_saint resource:Thomas_Aquinas . resource:university_teacher property:patron_saint resource:Manfred_Reinelt }
[]
common name
SYSTEM
NO and YES respectively
(Q1622272,P417,Q19965233) (Q1622272,P417,Q9438)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q19965233
relation P417
action find_reverse
entity Q9438
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q19965233'] ['Q1622272', 'P417', 'Q9438']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9438 . resource:Q1622272 property:P417 resource:Q19965233 }
NO and YES respectively
action is_in
entity university teacher
action intersection
action find_reverse
entity Manfred Reinelt
relation patron saint
action find_reverse
entity Thomas Aquinas
relation patron saint
['university teacher', 'patron saint', 'Manfred Reinelt'] ['university teacher', 'patron saint', 'Thomas Aquinas']
ASK WHERE { resource:university_teacher property:patron_saint resource:Thomas_Aquinas . resource:university_teacher property:patron_saint resource:Manfred_Reinelt }
[]