Simple Question (Direct)
Simple Question
Q986164
P106
Q12737077
USER
What do Aldo Anzuini do for a living ?
(Q986164,P106,c(Q12737077))
action filter_type
action find
entity Q986164
relation P106
type Q12737077
['Q986164', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q986164 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Aldo Anzuini
action filter_type
action find
entity Aldo Anzuini
relation occupation
type occupation
['Aldo Anzuini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Aldo_Anzuini property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q986164,P106,c(Q12737077))
action filter_type
action find
entity Q986164
relation P106
type Q12737077
Aldo Anzuini do for a living [ANSWERS]
['Q986164', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q986164 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
association football manager association football player
Aldo Anzuini do for a living association football manager and association football player
association football manager association football player
action filter_type
action find
entity Aldo Anzuini
relation occupation
type occupation
['Aldo Anzuini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Aldo_Anzuini property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q628099 Q937857
P425
Q349
USER
Which sports 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 ?r WHERE { ?r rdf:type ontology:Q349 . ?f property:P425 ?r . VALUES ( ?f ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
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 ?r WHERE { ?r rdf:type ontology:sport . ?f property:field_of_this_occupation ?r . VALUES ( ?f ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
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 ?r WHERE { ?r rdf:type ontology:Q349 . ?f property:P425 ?r . VALUES ( ?f ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
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 ?r WHERE { ?r rdf:type ontology:sport . ?f property:field_of_this_occupation ?r . VALUES ( ?f ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]