Simple Question (Direct)
Simple Question
Q5262369
P106
Q12737077
USER
What do Derek Smith do for a living ?
(Q5262369,P106,c(Q12737077))
action filter_type
action find
entity Q5262369
relation P106
type Q12737077
['Q5262369', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q5262369 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Derek Smith
action filter_type
action find
entity Derek Smith
relation occupation
type occupation
['Derek Smith', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Derek_Smith property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q5262369,P106,c(Q12737077))
action filter_type
action find
entity Q5262369
relation P106
type Q12737077
Derek Smith do for a living as [ANSWERS]
['Q5262369', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q5262369 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football manager association football player
Derek Smith do for a living as association football manager and association football player
association football manager association football player
action filter_type
action find
entity Derek Smith
relation occupation
type occupation
['Derek Smith', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Derek_Smith property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q628099
P39
Q502895
USER
Who held the position of that occupation ?
(c(Q502895),P39,Q628099)
action filter_type
action find_reverse
entity Q628099
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q628099']
SELECT DISTINCT ?t WHERE { ?t property:P39 resource:Q628099 . ?t rdf:type ontology:Q502895 }
association football manager
action filter_type
action find_reverse
entity association football manager
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'association football manager']
SELECT DISTINCT ?t WHERE { ?t property:position_held resource:association_football_manager . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q937857
SYSTEM
Did you mean association football player ?
Q628099 Q937857
(c(Q502895),P39,Q628099) (c(Q502895),P39,Q937857)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q628099'] [{'concept': 'Q502895'}, 'P39', 'Q937857']
SELECT DISTINCT ?t WHERE { ?t property:P39 resource:Q628099 . ?t rdf:type ontology:Q502895 }
association football manager association football player
Did you mean association football player ?
association football player
[{'concept': 'common name'}, 'position held', 'association football manager'] [{'concept': 'common name'}, 'position held', 'association football player']
SELECT DISTINCT ?t WHERE { ?t property:position_held resource:association_football_manager . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant association football manager. Could you tell me the answer for that?
(c(Q502895),P39,Q628099)
Q628099
[{'concept': 'Q502895'}, 'P39', 'Q628099']
[{'concept': 'common name'}, 'position held', 'association football manager']
[]
Q352236
SYSTEM
Wim Jonk
Q352236
(c(Q502895),P39,Q628099)
action filter_type
action find_reverse
entity Q628099
relation P39
type Q502895
[ANSWER] held the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q628099']
SELECT DISTINCT ?t WHERE { ?t property:P39 resource:Q628099 . ?t rdf:type ontology:Q502895 }
Wim Jonk
Wim Jonk held the position of that occupation
Wim Jonk
action filter_type
action find_reverse
entity association football manager
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'association football manager']
SELECT DISTINCT ?t WHERE { ?t property:position_held resource:association_football_manager . ?t rdf:type ontology:common_name }
[]