Simple Question (Direct)
Simple Question
Q1094552
P106
Q12737077
USER
Which occupations are the professions of Michel Lentz ?
(Q1094552,P106,c(Q12737077))
action filter_type
action find
entity Q1094552
relation P106
type Q12737077
['Q1094552', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q1094552 property:P106 ?i }
Michel Lentz
action filter_type
action find
entity Michel Lentz
relation occupation
type occupation
['Michel Lentz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Michel_Lentz property:occupation ?i }
[]
occupation
Q36180 Q49757
SYSTEM
writer, poet
Q36180 Q49757
(Q1094552,P106,c(Q12737077))
action filter_type
action find
entity Q1094552
relation P106
type Q12737077
The professions of Michel Lentz are the [ANSWERS]
['Q1094552', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q1094552 property:P106 ?i }
writer poet
The professions of Michel Lentz are the writer and poet
writer poet
action filter_type
action find
entity Michel Lentz
relation occupation
type occupation
['Michel Lentz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Michel_Lentz property:occupation ?i }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q36180 Q49757
P937
Q502895
USER
Who have those occupations as their work location ?
(c(Q502895),P937,Q36180) (c(Q502895),P937,Q49757)
action filter_type
action find_reverse
entity prev_answer
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q36180'] [{'concept': 'Q502895'}, 'P937', 'Q49757']
SELECT DISTINCT ?z WHERE { VALUES ( ?b ) { ( resource:Q36180 ) ( resource:Q49757 ) } . ?z property:P937 ?b . ?z rdf:type ontology:Q502895 }
writer poet
action filter_type
action find_reverse
entity prev_answer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'writer'] [{'concept': 'common name'}, 'work location', 'poet']
SELECT DISTINCT ?z WHERE { VALUES ( ?b ) { ( resource:writer ) ( resource:poet ) } . ?z property:work_location ?b . ?z rdf:type ontology:common_name }
[]
common name
Q3398852
SYSTEM
Lidija Dimkovska
Q3398852
(c(Q502895),P937,Q36180) (c(Q502895),P937,Q49757)
action filter_type
action find_reverse
entity prev_answer
relation P937
type Q502895
[ANSWER] have those occupations as their work location
[{'concept': 'Q502895'}, 'P937', 'Q36180'] [{'concept': 'Q502895'}, 'P937', 'Q49757']
SELECT DISTINCT ?z WHERE { VALUES ( ?b ) { ( resource:Q36180 ) ( resource:Q49757 ) } . ?z property:P937 ?b . ?z rdf:type ontology:Q502895 }
Lidija Dimkovska
Lidija Dimkovska have those occupations as their work location
Lidija Dimkovska
action filter_type
action find_reverse
entity prev_answer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'writer'] [{'concept': 'common name'}, 'work location', 'poet']
SELECT DISTINCT ?z WHERE { VALUES ( ?b ) { ( resource:writer ) ( resource:poet ) } . ?z property:work_location ?b . ?z rdf:type ontology:common_name }
[]