Simple Question (Direct)
Simple Question
Q2384645
P106
Q12737077
USER
What do Roch Carrier do for a living ?
(Q2384645,P106,c(Q12737077))
action filter_type
action find
entity Q2384645
relation P106
type Q12737077
['Q2384645', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q2384645 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Roch Carrier
action filter_type
action find
entity Roch Carrier
relation occupation
type occupation
['Roch Carrier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Roch_Carrier property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q4853732 Q182436 Q36180
SYSTEM
children's writer, librarian, writer
Q4853732 Q182436 Q36180
(Q2384645,P106,c(Q12737077))
action filter_type
action find
entity Q2384645
relation P106
type Q12737077
Roch Carrier do for a living as [ANSWERS]
['Q2384645', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q2384645 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
children's writer librarian writer
Roch Carrier do for a living as children's writer, librarian and writer
children's writer librarian writer
action filter_type
action find
entity Roch Carrier
relation occupation
type occupation
['Roch Carrier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Roch_Carrier property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4853732
P101
Q502895
USER
Which person has field of work as that occupation ?
(c(Q502895),P101,Q4853732)
action filter_type
action find_reverse
entity Q4853732
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q4853732']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q4853732 . ?b rdf:type ontology:Q502895 }
children's writer
action filter_type
action find_reverse
entity children's writer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', "children's writer"]
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:children's_writer . ?b rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q182436
SYSTEM
Did you mean librarian ?
Q4853732 Q182436 Q36180
(c(Q502895),P101,Q4853732) (c(Q502895),P101,Q182436) (c(Q502895),P101,Q36180)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q4853732'] [{'concept': 'Q502895'}, 'P101', 'Q182436'] [{'concept': 'Q502895'}, 'P101', 'Q36180']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q4853732 . ?b rdf:type ontology:Q502895 }
children's writer librarian writer
Did you mean librarian ?
librarian
[{'concept': 'common name'}, 'field of work', "children's writer"] [{'concept': 'common name'}, 'field of work', 'librarian'] [{'concept': 'common name'}, 'field of work', 'writer']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:children's_writer . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant children's writer. Could you tell me the answer for that?
(c(Q502895),P101,Q4853732)
Q4853732
[{'concept': 'Q502895'}, 'P101', 'Q4853732']
[{'concept': 'common name'}, 'field of work', "children's writer"]
[]
Q1944623
SYSTEM
Monika Finsterbusch
Q1944623
(c(Q502895),P101,Q4853732)
action filter_type
action find_reverse
entity Q4853732
relation P101
type Q502895
[ANSWER] has field of work as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q4853732']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q4853732 . ?b rdf:type ontology:Q502895 }
Monika Finsterbusch
Monika Finsterbusch has field of work as that occupation
Monika Finsterbusch
action filter_type
action find_reverse
entity children's writer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', "children's writer"]
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:children's_writer . ?b rdf:type ontology:common_name }
[]