Simple Question (Direct)
Simple Question
Q3751651
P106
Q12737077
USER
Which occupations have Franco Varisco as his/her 's career ?
(Q3751651,P106,c(Q12737077))
action filter_type
action find
entity Q3751651
relation P106
type Q12737077
['Q3751651', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3751651 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Franco Varisco
action filter_type
action find
entity Franco Varisco
relation occupation
type occupation
['Franco Varisco', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Franco_Varisco property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q859528 Q937857
SYSTEM
association football referee, association football player
Q859528 Q937857
(Q3751651,P106,c(Q12737077))
action filter_type
action find
entity Q3751651
relation P106
type Q12737077
As [ANSWERS] have Franco Varisco as his/her 's career
['Q3751651', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q3751651 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
association football referee association football player
As association football referee and association football player have Franco Varisco as his/her 's career
association football referee association football player
action filter_type
action find
entity Franco Varisco
relation occupation
type occupation
['Franco Varisco', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Franco_Varisco property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q937857
P101
Q502895
USER
Who works in the domain of that occupation ?
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P101 resource:Q937857 }
association football player
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:field_of_work resource:association_football_player }
[]
common name
Clarification for simple ques.
Q937857
SYSTEM
Did you mean association football player ?
Q859528 Q937857
(c(Q502895),P101,Q859528) (c(Q502895),P101,Q937857)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q859528'] [{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P101 resource:Q937857 }
association football referee association football player
Did you mean association football player ?
association football player
[{'concept': 'common name'}, 'field of work', 'association football referee'] [{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:field_of_work resource:association_football_player }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P101,Q937857)
[{'concept': 'Q502895'}, 'P101', 'Q937857']
[{'concept': 'common name'}, 'field of work', 'association football player']
[]
Q2089026
SYSTEM
Akaki Devadze
Q2089026
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[ANSWER] works in the domain of that occupation
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P101 resource:Q937857 }
Akaki Devadze
Akaki Devadze works in the domain of that occupation
Akaki Devadze
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:field_of_work resource:association_football_player }
[]