Simple Question (Direct)
Simple Question
Q1426498
P106
Q12737077
USER
What do Hermann Langer do for a living ?
(Q1426498,P106,c(Q12737077))
action filter_type
action find
entity Q1426498
relation P106
type Q12737077
['Q1426498', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1426498 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Hermann Langer
action filter_type
action find
entity Hermann Langer
relation occupation
type occupation
['Hermann Langer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Hermann_Langer property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q158852 Q1622272
SYSTEM
conductor, university teacher
Q158852 Q1622272
(Q1426498,P106,c(Q12737077))
action filter_type
action find
entity Q1426498
relation P106
type Q12737077
Hermann Langer do for a living as [ANSWERS]
['Q1426498', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1426498 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
conductor university teacher
Hermann Langer do for a living as conductor and university teacher
conductor university teacher
action filter_type
action find
entity Hermann Langer
relation occupation
type occupation
['Hermann Langer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Hermann_Langer property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q158852
P101
Q502895
USER
Which person has specialisation in that occupation ?
(c(Q502895),P101,Q158852)
action filter_type
action find_reverse
entity Q158852
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q158852']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P101 resource:Q158852 }
conductor
action filter_type
action find_reverse
entity conductor
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'conductor']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:field_of_work resource:conductor }
[]
common name
Clarification for simple ques.
Q1622272
SYSTEM
Did you mean university teacher ?
Q158852 Q1622272
(c(Q502895),P101,Q158852) (c(Q502895),P101,Q1622272)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q158852'] [{'concept': 'Q502895'}, 'P101', 'Q1622272']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P101 resource:Q158852 }
conductor university teacher
Did you mean university teacher ?
university teacher
[{'concept': 'common name'}, 'field of work', 'conductor'] [{'concept': 'common name'}, 'field of work', 'university teacher']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:field_of_work resource:conductor }
[]
Simple Question (Coreferenced)
USER
No, I meant conductor. Could you tell me the answer for that?
(c(Q502895),P101,Q158852)
Q158852
[{'concept': 'Q502895'}, 'P101', 'Q158852']
[{'concept': 'common name'}, 'field of work', 'conductor']
[]
Q554775
SYSTEM
Frans Bak
Q554775
(c(Q502895),P101,Q158852)
action filter_type
action find_reverse
entity Q158852
relation P101
type Q502895
[ANSWER] has specialisation in that occupation
[{'concept': 'Q502895'}, 'P101', 'Q158852']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P101 resource:Q158852 }
Frans Bak
Frans Bak has specialisation in that occupation
Frans Bak
action filter_type
action find_reverse
entity conductor
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'conductor']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:field_of_work resource:conductor }
[]