Simple Question (Direct)
Simple Question
Q6529207
P641
Q349
USER
What was the sport that Les Barrett was a part of ?
(Q6529207,P641,c(Q349))
action filter_type
action find
entity Q6529207
relation P641
type Q349
['Q6529207', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q6529207 property:P641 ?y . ?y rdf:type ontology:Q349 }
Les Barrett
action filter_type
action find
entity Les Barrett
relation sport
type sport
['Les Barrett', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Les_Barrett property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6529207,P641,c(Q349))
action filter_type
action find
entity Q6529207
relation P641
type Q349
The sport that Les Barrett was a part of was [ANSWER]
['Q6529207', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q6529207 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
The sport that Les Barrett was a part of was association football
association football
action filter_type
action find
entity Les Barrett
relation sport
type sport
['Les Barrett', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Les_Barrett property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6529207
P106
Q12737077
USER
What does that person do for a living ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q6529207
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q6529207 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Les Barrett
action filter_type
action find
entity Les Barrett
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Les_Barrett property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q6529207
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q6529207 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Les Barrett
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Les_Barrett property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q1457956
P106
Q502895
USER
Does John Robson have the profession of that occupation ?
(Q1457956,P106,Q937857)
action is_in
entity Q937857
action find
entity Q1457956
relation P106
['Q1457956', 'P106', 'Q937857']
ASK WHERE { resource:Q1457956 property:P106 resource:Q937857 }
association football player John Robson
action is_in
entity association football player
action find
entity John Robson
relation occupation
['John Robson', 'occupation', 'association football player']
ASK WHERE { resource:John_Robson property:occupation resource:association_football_player }
[]
common name
SYSTEM
YES
(Q1457956,P106,Q937857)
action is_in
entity Q937857
action find
entity Q1457956
relation P106
[ANSWER]
['Q1457956', 'P106', 'Q937857']
ASK WHERE { resource:Q1457956 property:P106 resource:Q937857 }
Yes
action is_in
entity association football player
action find
entity John Robson
relation occupation
['John Robson', 'occupation', 'association football player']
ASK WHERE { resource:John_Robson property:occupation resource:association_football_player }
[]