Simple Question (Direct)
Simple Question
Q284051
P40
Q502895
USER
Who are the children of Makram Khoury ?
(Q284051,P40,c(Q502895))
action filter_type
action find
entity Q284051
relation P40
type Q502895
['Q284051', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q284051 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Makram Khoury
action filter_type
action find
entity Makram Khoury
relation child
type common name
['Makram Khoury', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Makram_Khoury property:child ?o . ?o rdf:type ontology:common_name }
[]
common name
Q3161569 Q452025
SYSTEM
Jamil Khoury, Clara Khoury
Q3161569 Q452025
(Q284051,P40,c(Q502895))
action filter_type
action find
entity Q284051
relation P40
type Q502895
The children of Makram Khoury are called [ANSWERS]
['Q284051', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q284051 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Jamil Khoury Clara Khoury
The children of Makram Khoury are called Jamil Khoury and Clara Khoury
Jamil Khoury Clara Khoury
action filter_type
action find
entity Makram Khoury
relation child
type common name
['Makram Khoury', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Makram_Khoury property:child ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3161569 Q452025
P21
Q290
USER
Which sexes do those people belong to ?
(Q3161569,P21,c(Q290)) (Q452025,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q3161569', 'P21', {'concept': 'Q290'}] ['Q452025', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . VALUES ( ?c ) { ( resource:Q3161569 ) ( resource:Q452025 ) } . ?c property:P21 ?m }
Jamil Khoury Clara Khoury
action filter_type
action find
entity prev_answer
relation gender
type sex
['Jamil Khoury', 'gender', {'concept': 'sex'}] ['Clara Khoury', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . VALUES ( ?c ) { ( resource:Jamil_Khoury ) ( resource:Clara_Khoury ) } . ?c property:gender ?m }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
(Q3161569,P21,c(Q290)) (Q452025,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWERS]
['Q3161569', 'P21', {'concept': 'Q290'}] ['Q452025', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . VALUES ( ?c ) { ( resource:Q3161569 ) ( resource:Q452025 ) } . ?c property:P21 ?m }
male female
Those people belong to male and female
male female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Jamil Khoury', 'gender', {'concept': 'sex'}] ['Clara Khoury', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . VALUES ( ?c ) { ( resource:Jamil_Khoury ) ( resource:Clara_Khoury ) } . ?c property:gender ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q284051
P22
Q502895
USER
Which people have Makram Khoury as dad ?
(c(Q502895),P22,Q284051)
action filter_type
action find_reverse
entity Q284051
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q284051']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q284051 . ?x rdf:type ontology:Q502895 }
Makram Khoury
action filter_type
action find_reverse
entity Makram Khoury
relation father
type common name
[{'concept': 'common name'}, 'father', 'Makram Khoury']
SELECT DISTINCT ?x WHERE { ?x property:father resource:Makram_Khoury . ?x rdf:type ontology:common_name }
[]
common name
Q3161569 Q452025
SYSTEM
Jamil Khoury, Clara Khoury
Q3161569 Q452025
(c(Q502895),P22,Q284051)
action filter_type
action find_reverse
entity Q284051
relation P22
type Q502895
[ANSWERS] have Makram Khoury as dad
[{'concept': 'Q502895'}, 'P22', 'Q284051']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q284051 . ?x rdf:type ontology:Q502895 }
Jamil Khoury Clara Khoury
Jamil Khoury and Clara Khoury have Makram Khoury as dad
Jamil Khoury Clara Khoury
action filter_type
action find_reverse
entity Makram Khoury
relation father
type common name
[{'concept': 'common name'}, 'father', 'Makram Khoury']
SELECT DISTINCT ?x WHERE { ?x property:father resource:Makram_Khoury . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q452025
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q452025,P106,c(Q12737077))
action filter_type
action find
entity Q452025
relation P106
type Q12737077
['Q452025', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q452025 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Clara Khoury
action filter_type
action find
entity Clara Khoury
relation occupation
type occupation
['Clara Khoury', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Clara_Khoury property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q452025
SYSTEM
Did you mean Clara Khoury ?
Q3161569 Q452025
(Q3161569,P106,c(Q12737077)) (Q452025,P106,c(Q12737077))
[ANSWER]
['Q3161569', 'P106', {'concept': 'Q12737077'}] ['Q452025', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q452025 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Jamil Khoury Clara Khoury
Did you mean Clara Khoury ?
Clara Khoury
['Jamil Khoury', 'occupation', {'concept': 'occupation'}] ['Clara Khoury', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Clara_Khoury property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(Q452025,P106,c(Q12737077))
['Q452025', 'P106', {'concept': 'Q12737077'}]
['Clara Khoury', 'occupation', {'concept': 'occupation'}]
[]
Q33999
SYSTEM
actor
Q33999
(Q452025,P106,c(Q12737077))
action filter_type
action find
entity Q452025
relation P106
type Q12737077
[ANSWER] has that person as his/her 's career
['Q452025', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q452025 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
actor
Actor has that person as his/her 's career
actor
action filter_type
action find
entity Clara Khoury
relation occupation
type occupation
['Clara Khoury', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Clara_Khoury property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q33999 Q5285672
P106
Q502895
USER
Does Dmitriy Strijkov have a job as that occupation ?
(Q5285672,P106,Q33999)
action is_in
entity Q5285672
action find
entity Q33999
relation P106
['Q5285672', 'P106', 'Q33999']
ASK WHERE { resource:Q33999 property:P106 resource:Q5285672 }
actor Dmitriy Strijkov
action is_in
entity Dmitriy Strijkov
action find
entity actor
relation occupation
['Dmitriy Strijkov', 'occupation', 'actor']
ASK WHERE { resource:actor property:occupation resource:Dmitriy_Strijkov }
[]
common name
SYSTEM
NO
(Q5285672,P106,Q33999)
action is_in
entity Q5285672
action find
entity Q33999
relation P106
[ANSWER]
['Q5285672', 'P106', 'Q33999']
ASK WHERE { resource:Q33999 property:P106 resource:Q5285672 }
No
action is_in
entity Dmitriy Strijkov
action find
entity actor
relation occupation
['Dmitriy Strijkov', 'occupation', 'actor']
ASK WHERE { resource:actor property:occupation resource:Dmitriy_Strijkov }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q452025 Q41621
P19
Q56061
USER
Was Haifa Clara Khoury born ?
(Q452025,P19,Q41621)
action is_in
entity Q41621
action find
entity Q452025
relation P19
['Q452025', 'P19', 'Q41621']
ASK WHERE { resource:Q452025 property:P19 resource:Q41621 }
Clara Khoury Haifa
action is_in
entity Haifa
action find
entity Clara Khoury
relation place of birth
['Clara Khoury', 'place of birth', 'Haifa']
ASK WHERE { resource:Clara_Khoury property:place_of_birth resource:Haifa }
[]
administrative territorial entity
SYSTEM
YES
(Q452025,P19,Q41621)
action is_in
entity Q41621
action find
entity Q452025
relation P19
[ANSWER]
['Q452025', 'P19', 'Q41621']
ASK WHERE { resource:Q452025 property:P19 resource:Q41621 }
Yes
action is_in
entity Haifa
action find
entity Clara Khoury
relation place of birth
['Clara Khoury', 'place of birth', 'Haifa']
ASK WHERE { resource:Clara_Khoury property:place_of_birth resource:Haifa }
[]