Simple Question (Direct)
Simple Question
Q816171
P19
Q20667921
USER
Where was Belsazar Hacquet born ?
(Q816171,P19,c(Q20667921))
action filter_type
action find
entity Q816171
relation P19
type Q20667921
['Q816171', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q816171 property:P19 ?c . ?c rdf:type ontology:Q20667921 }
Belsazar Hacquet
action filter_type
action find
entity Belsazar Hacquet
relation place of birth
type type of french administrative division
['Belsazar Hacquet', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Belsazar_Hacquet property:place_of_birth ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q326149
SYSTEM
Le Conquet
Q326149
(Q816171,P19,c(Q20667921))
action filter_type
action find
entity Q816171
relation P19
type Q20667921
Belsazar Hacquet was born in [ANSWER]
['Q816171', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q816171 property:P19 ?c . ?c rdf:type ontology:Q20667921 }
Le Conquet
Belsazar Hacquet was born in Le Conquet
Le Conquet
action filter_type
action find
entity Belsazar Hacquet
relation place of birth
type type of french administrative division
['Belsazar Hacquet', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Belsazar_Hacquet property:place_of_birth ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q816171
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q326149,P106,c(Q12737077))
action filter_type
action find
entity Q816171
relation P106
type Q12737077
['Q326149', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q816171 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Belsazar Hacquet
action filter_type
action find
entity Belsazar Hacquet
relation occupation
type occupation
['Le Conquet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Belsazar_Hacquet property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q593644 Q1622272 Q774306
SYSTEM
chemist, university teacher, surgeon
Q593644 Q1622272 Q774306
(Q326149,P106,c(Q12737077))
action filter_type
action find
entity Q816171
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q326149', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q816171 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
chemist university teacher surgeon
Chemist, university teacher and surgeon have that person as his/her 's career
chemist university teacher surgeon
action filter_type
action find
entity Belsazar Hacquet
relation occupation
type occupation
['Le Conquet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Belsazar_Hacquet property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q774306
P425
Q1047113
USER
What has that one as the associated field of occupation ?
(Q774306,P425,c(Q1047113))
action filter_type
action find
entity Q774306
relation P425
type Q1047113
['Q774306', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?x WHERE { resource:Q774306 property:P425 ?x . ?x rdf:type ontology:Q1047113 }
surgeon
action filter_type
action find
entity surgeon
relation field of this occupation
type special field
['surgeon', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?x WHERE { resource:surgeon property:field_of_this_occupation ?x . ?x rdf:type ontology:special_field }
[]
special field
Clarification for simple ques.
Q593644
SYSTEM
Did you mean chemist ?
Q593644 Q1622272 Q774306
(Q593644,P425,c(Q1047113)) (Q1622272,P425,c(Q1047113)) (Q774306,P425,c(Q1047113))
[ANSWER]
['Q593644', 'P425', {'concept': 'Q1047113'}] ['Q1622272', 'P425', {'concept': 'Q1047113'}] ['Q774306', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?x WHERE { resource:Q774306 property:P425 ?x . ?x rdf:type ontology:Q1047113 }
chemist university teacher surgeon
Did you mean chemist ?
chemist
['chemist', 'field of this occupation', {'concept': 'special field'}] ['university teacher', 'field of this occupation', {'concept': 'special field'}] ['surgeon', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?x WHERE { resource:surgeon property:field_of_this_occupation ?x . ?x rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
USER
No, I meant surgeon. Could you tell me the answer for that?
(Q774306,P425,c(Q1047113))
Q774306
['Q774306', 'P425', {'concept': 'Q1047113'}]
['surgeon', 'field of this occupation', {'concept': 'special field'}]
[]
Q40821
SYSTEM
surgery
Q40821
(Q774306,P425,c(Q1047113))
action filter_type
action find
entity Q774306
relation P425
type Q1047113
[ANSWER] has that one as the associated field of occupation
['Q774306', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?x WHERE { resource:Q774306 property:P425 ?x . ?x rdf:type ontology:Q1047113 }
surgery
Surgery has that one as the associated field of occupation
surgery
action filter_type
action find
entity surgeon
relation field of this occupation
type special field
['surgeon', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?x WHERE { resource:surgeon property:field_of_this_occupation ?x . ?x rdf:type ontology:special_field }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q40821 Q11884112
P101
Q502895
USER
Does Ned Dearborn have his/her area as that special field ?
(Q11884112,P101,Q40821)
action is_in
entity Q11884112
action find
entity Q40821
relation P101
['Q11884112', 'P101', 'Q40821']
ASK WHERE { resource:Q40821 property:P101 resource:Q11884112 }
surgery Ned Dearborn
action is_in
entity Ned Dearborn
action find
entity surgery
relation field of work
['Ned Dearborn', 'field of work', 'surgery']
ASK WHERE { resource:surgery property:field_of_work resource:Ned_Dearborn }
[]
common name
SYSTEM
NO
(Q11884112,P101,Q40821)
action is_in
entity Q11884112
action find
entity Q40821
relation P101
[ANSWER]
['Q11884112', 'P101', 'Q40821']
ASK WHERE { resource:Q40821 property:P101 resource:Q11884112 }
No
action is_in
entity Ned Dearborn
action find
entity surgery
relation field of work
['Ned Dearborn', 'field of work', 'surgery']
ASK WHERE { resource:surgery property:field_of_work resource:Ned_Dearborn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40821
P425
Q12737077
USER
Which occupation does that special field belong to ?
action filter_type
action find_reverse
entity Q40821
relation P425
type Q12737077
SELECT DISTINCT ?o WHERE { ?o property:P425 resource:Q40821 . ?o rdf:type ontology:Q12737077 }
surgery
action filter_type
action find_reverse
entity surgery
relation field of this occupation
type occupation
SELECT DISTINCT ?o WHERE { ?o property:field_of_this_occupation resource:surgery . ?o rdf:type ontology:occupation }
[]
occupation
Q774306
SYSTEM
surgeon
Q774306
action filter_type
action find_reverse
entity Q40821
relation P425
type Q12737077
That special field belongs to the [ANSWER]
SELECT DISTINCT ?o WHERE { ?o property:P425 resource:Q40821 . ?o rdf:type ontology:Q12737077 }
surgeon
That special field belongs to the surgeon
surgeon
action filter_type
action find_reverse
entity surgery
relation field of this occupation
type occupation
SELECT DISTINCT ?o WHERE { ?o property:field_of_this_occupation resource:surgery . ?o rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q774306 Q1894817 Q16853831
P417
Q502895
USER
Is Tommaso Costantino and Gennaro Negri a patron saint of Q774306 ?
(Q774306,P417,Q1894817) (Q774306,P417,Q16853831)
action is_in
entity Q774306
action intersection
action find_reverse
entity Q1894817
relation P417
action find_reverse
entity Q16853831
relation P417
['Q774306', 'P417', 'Q1894817'] ['Q774306', 'P417', 'Q16853831']
ASK WHERE { resource:Q774306 property:P417 resource:Q1894817 . resource:Q774306 property:P417 resource:Q16853831 }
surgeon Tommaso Costantino Gennaro Negri
action is_in
entity surgeon
action intersection
action find_reverse
entity Tommaso Costantino
relation patron saint
action find_reverse
entity Gennaro Negri
relation patron saint
['surgeon', 'patron saint', 'Tommaso Costantino'] ['surgeon', 'patron saint', 'Gennaro Negri']
ASK WHERE { resource:surgeon property:patron_saint resource:Tommaso_Costantino . resource:surgeon property:patron_saint resource:Gennaro_Negri }
[]
common name
SYSTEM
NO
(Q774306,P417,Q1894817) (Q774306,P417,Q16853831)
action is_in
entity Q774306
action intersection
action find_reverse
entity Q1894817
relation P417
action find_reverse
entity Q16853831
relation P417
[ANSWER]
['Q774306', 'P417', 'Q1894817'] ['Q774306', 'P417', 'Q16853831']
ASK WHERE { resource:Q774306 property:P417 resource:Q1894817 . resource:Q774306 property:P417 resource:Q16853831 }
No
action is_in
entity surgeon
action intersection
action find_reverse
entity Tommaso Costantino
relation patron saint
action find_reverse
entity Gennaro Negri
relation patron saint
['surgeon', 'patron saint', 'Tommaso Costantino'] ['surgeon', 'patron saint', 'Gennaro Negri']
ASK WHERE { resource:surgeon property:patron_saint resource:Tommaso_Costantino . resource:surgeon property:patron_saint resource:Gennaro_Negri }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q816171
P184
Q502895
USER
Who has Belsazar Hacquet as doctor advisor ?
(c(Q502895),P184,Q816171)
action filter_type
action find_reverse
entity Q816171
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q816171']
SELECT DISTINCT ?t WHERE { ?t property:P184 resource:Q816171 . ?t rdf:type ontology:Q502895 }
Belsazar Hacquet
action filter_type
action find_reverse
entity Belsazar Hacquet
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Belsazar Hacquet']
SELECT DISTINCT ?t WHERE { ?t property:doctoral_advisor resource:Belsazar_Hacquet . ?t rdf:type ontology:common_name }
[]
common name
Q2658277
SYSTEM
Wilibald Swibert Joseph Gottlieb von Besser
Q2658277
(c(Q502895),P184,Q816171)
action filter_type
action find_reverse
entity Q816171
relation P184
type Q502895
[ANSWER] has Belsazar Hacquet as doctor advisor
[{'concept': 'Q502895'}, 'P184', 'Q816171']
SELECT DISTINCT ?t WHERE { ?t property:P184 resource:Q816171 . ?t rdf:type ontology:Q502895 }
Wilibald Swibert Joseph Gottlieb von Besser
Wilibald Swibert Joseph Gottlieb von Besser has Belsazar Hacquet as doctor advisor
Wilibald Swibert Joseph Gottlieb von Besser
action filter_type
action find_reverse
entity Belsazar Hacquet
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Belsazar Hacquet']
SELECT DISTINCT ?t WHERE { ?t property:doctoral_advisor resource:Belsazar_Hacquet . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2658277
P108
Q2385804
USER
Which educational institution does that person work for ?
(Q2658277,P108,c(Q2385804))
action filter_type
action find
entity Q2658277
relation P108
type Q2385804
['Q2658277', 'P108', {'concept': 'Q2385804'}]
SELECT DISTINCT ?s WHERE { resource:Q2658277 property:P108 ?s . ?s rdf:type ontology:Q2385804 }
Wilibald Swibert Joseph Gottlieb von Besser
action filter_type
action find
entity Wilibald Swibert Joseph Gottlieb von Besser
relation employer
type educational institution
['Wilibald Swibert Joseph Gottlieb von Besser', 'employer', {'concept': 'educational institution'}]
SELECT DISTINCT ?s WHERE { resource:Wilibald_Swibert_Joseph_Gottlieb_von_Besser property:employer ?s . ?s rdf:type ontology:educational_institution }
[]
educational institution
Q2421697
SYSTEM
Liceum Krzemienieckie
Q2421697
(Q2658277,P108,c(Q2385804))
action filter_type
action find
entity Q2658277
relation P108
type Q2385804
That person works at [ANSWER]
['Q2658277', 'P108', {'concept': 'Q2385804'}]
SELECT DISTINCT ?s WHERE { resource:Q2658277 property:P108 ?s . ?s rdf:type ontology:Q2385804 }
Liceum Krzemienieckie
That person works at Liceum Krzemienieckie
Liceum Krzemienieckie
action filter_type
action find
entity Wilibald Swibert Joseph Gottlieb von Besser
relation employer
type educational institution
['Wilibald Swibert Joseph Gottlieb von Besser', 'employer', {'concept': 'educational institution'}]
SELECT DISTINCT ?s WHERE { resource:Wilibald_Swibert_Joseph_Gottlieb_von_Besser property:employer ?s . ?s rdf:type ontology:educational_institution }
[]