Simple Question (Direct)
Simple Question
Q120865
P106
Q12737077
USER
Which occupations are the professions of Adolf Gasser ?
(Q120865,P106,c(Q12737077))
action filter_type
action find
entity Q120865
relation P106
type Q12737077
['Q120865', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q120865 property:P106 ?o }
Adolf Gasser
action filter_type
action find
entity Adolf Gasser
relation occupation
type occupation
['Adolf Gasser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Adolf_Gasser property:occupation ?o }
[]
occupation
Q201788 Q82955 Q1622272
SYSTEM
historian, politician, university teacher
Q201788 Q82955 Q1622272
(Q120865,P106,c(Q12737077))
action filter_type
action find
entity Q120865
relation P106
type Q12737077
The professions of Adolf Gasser are [ANSWERS]
['Q120865', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q120865 property:P106 ?o }
historian politician university teacher
The professions of Adolf Gasser are historian, politician and university teacher
historian politician university teacher
action filter_type
action find
entity Adolf Gasser
relation occupation
type occupation
['Adolf Gasser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Adolf_Gasser property:occupation ?o }
[]
Clarification
Simple Question|Single Entity|Indirect
Q201788
P101
Q502895
USER
Who works in the domain of that occupation ?
(c(Q502895),P101,Q201788)
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q201788']
SELECT DISTINCT ?o WHERE { ?o property:P101 resource:Q201788 . ?o rdf:type ontology:Q502895 }
historian
action filter_type
action find_reverse
entity historian
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'historian']
SELECT DISTINCT ?o WHERE { ?o property:field_of_work resource:historian . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q82955
SYSTEM
Did you mean politician ?
Q201788 Q82955 Q1622272
(c(Q502895),P101,Q201788) (c(Q502895),P101,Q82955) (c(Q502895),P101,Q1622272)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q201788'] [{'concept': 'Q502895'}, 'P101', 'Q82955'] [{'concept': 'Q502895'}, 'P101', 'Q1622272']
SELECT DISTINCT ?o WHERE { ?o property:P101 resource:Q201788 . ?o rdf:type ontology:Q502895 }
historian politician university teacher
Did you mean politician ?
politician
[{'concept': 'common name'}, 'field of work', 'historian'] [{'concept': 'common name'}, 'field of work', 'politician'] [{'concept': 'common name'}, 'field of work', 'university teacher']
SELECT DISTINCT ?o WHERE { ?o property:field_of_work resource:historian . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant historian. Could you tell me the answer for that?
(c(Q502895),P101,Q201788)
Q201788
[{'concept': 'Q502895'}, 'P101', 'Q201788']
[{'concept': 'common name'}, 'field of work', 'historian']
[]
Q981839 Q60217 Q61648
SYSTEM
Frederick Copleston, Johann Gustav Droysen, Georg Gottfried Gervinus
Q14436716 Q21042244 Q60217 Q75371 Q61648 Q101339 Q15432799 Q2408608 Q981839
(c(Q502895),P101,Q201788)
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
[ANSWERS] work in the domain of that occupation
[{'concept': 'Q502895'}, 'P101', 'Q201788']
SELECT DISTINCT ?o WHERE { ?o property:P101 resource:Q201788 . ?o rdf:type ontology:Q502895 }
Knut Mykland Vicent Baydal Johann Gustav Droysen Johannes Fallati Georg Gottfried Gervinus Gustav Adolf Harald Stenzel Hugo Weczerka Patrick Cabanel Frederick Copleston
Frederick Copleston, Johann Gustav Droysen and Georg Gottfried Gervinus work in the domain of that occupation
Frederick Copleston Johann Gustav Droysen Georg Gottfried Gervinus
action filter_type
action find_reverse
entity historian
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'historian']
SELECT DISTINCT ?o WHERE { ?o property:field_of_work resource:historian . ?o rdf:type ontology:common_name }
[]