Simple Question (Direct)
Simple Question
Q6243127
P106
Q12737077
USER
What are the job of John King ?
(Q6243127,P106,c(Q12737077))
action filter_type
action find
entity Q6243127
relation P106
type Q12737077
['Q6243127', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q6243127 property:P106 ?e }
John King
action filter_type
action find
entity John King
relation occupation
type occupation
['John King', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:John_King property:occupation ?e }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q6243127,P106,c(Q12737077))
action filter_type
action find
entity Q6243127
relation P106
type Q12737077
The job of John King are both [ANSWERS]
['Q6243127', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q6243127 property:P106 ?e }
association football manager association football player
The job of John King are both association football manager and association football player
association football manager association football player
action filter_type
action find
entity John King
relation occupation
type occupation
['John King', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:John_King property:occupation ?e }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q628099 Q937857
P425
Q349
USER
Who are associated with the field of occupation those ones ?
(Q628099,P425,c(Q349)) (Q937857,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
['Q628099', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?q ) { ( resource:Q628099 ) ( resource:Q937857 ) } . ?m rdf:type ontology:Q349 . ?q property:P425 ?m }
association football manager association football player
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['association football manager', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?q ) { ( resource:association_football_manager ) ( resource:association_football_player ) } . ?m rdf:type ontology:sport . ?q property:field_of_this_occupation ?m }
[]
sport
Q2736 Q2736
SYSTEM
association football
Q2736 Q2736
(Q628099,P425,c(Q349)) (Q937857,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
And [ANSWER] and [ANSWER] are associated with the field of occupation those ones
['Q628099', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?q ) { ( resource:Q628099 ) ( resource:Q937857 ) } . ?m rdf:type ontology:Q349 . ?q property:P425 ?m }
association football association football
And association football and association football are associated with the field of occupation those ones
association football association football
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['association football manager', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?q ) { ( resource:association_football_manager ) ( resource:association_football_player ) } . ?m rdf:type ontology:sport . ?q property:field_of_this_occupation ?m }
[]