Simple Question (Direct)
Simple Question
Q662218
P937
Q56061
USER
Which is the work location of Pinhas Lavon ?
(Q662218,P937,c(Q56061))
action filter_type
action find
entity Q662218
relation P937
type Q56061
['Q662218', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q662218 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Pinhas Lavon
action filter_type
action find
entity Pinhas Lavon
relation work location
type administrative territorial entity
['Pinhas Lavon', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Pinhas_Lavon property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1218
SYSTEM
Jerusalem
Q1218
(Q662218,P937,c(Q56061))
action filter_type
action find
entity Q662218
relation P937
type Q56061
The work location of Pinhas Lavon is in [ANSWER]
['Q662218', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q662218 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Jerusalem
The work location of Pinhas Lavon is in Jerusalem
Jerusalem
action filter_type
action find
entity Pinhas Lavon
relation work location
type administrative territorial entity
['Pinhas Lavon', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Pinhas_Lavon property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q662218
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q1218,P102,c(Q7210356))
action filter_type
action find
entity Q662218
relation P102
type Q7210356
['Q1218', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q662218 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Pinhas Lavon
action filter_type
action find
entity Pinhas Lavon
relation member of political party
type political organization
['Jerusalem', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Pinhas_Lavon property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q210703
SYSTEM
Israeli Labor Party
Q210703
(Q1218,P102,c(Q7210356))
action filter_type
action find
entity Q662218
relation P102
type Q7210356
The [ANSWER] is that person a member of
['Q1218', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q662218 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Israeli Labor Party
The Israeli Labor Party is that person a member of
Israeli Labor Party
action filter_type
action find
entity Pinhas Lavon
relation member of political party
type political organization
['Jerusalem', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Pinhas_Lavon property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q210703 Q295141
P102
Q502895
USER
Is Chaim Herzog a member of that political organization ?
(Q295141,P102,Q210703)
action is_in
entity Q210703
action find
entity Q295141
relation P102
['Q295141', 'P102', 'Q210703']
ASK WHERE { resource:Q295141 property:P102 resource:Q210703 }
Israeli Labor Party Chaim Herzog
action is_in
entity Israeli Labor Party
action find
entity Chaim Herzog
relation member of political party
['Chaim Herzog', 'member of political party', 'Israeli Labor Party']
ASK WHERE { resource:Chaim_Herzog property:member_of_political_party resource:Israeli_Labor_Party }
[]
common name
SYSTEM
YES
(Q295141,P102,Q210703)
action is_in
entity Q210703
action find
entity Q295141
relation P102
[ANSWER]
['Q295141', 'P102', 'Q210703']
ASK WHERE { resource:Q295141 property:P102 resource:Q210703 }
Yes
action is_in
entity Israeli Labor Party
action find
entity Chaim Herzog
relation member of political party
['Chaim Herzog', 'member of political party', 'Israeli Labor Party']
ASK WHERE { resource:Chaim_Herzog property:member_of_political_party resource:Israeli_Labor_Party }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1218 Q676953
P6
Q502895
USER
Does Jerusalem serve as the head of government for Daniel Auster ?
(Q1218,P6,Q676953)
action is_in
entity Q676953
action find
entity Q1218
relation P6
['Q1218', 'P6', 'Q676953']
ASK WHERE { resource:Q1218 property:P6 resource:Q676953 }
Jerusalem Daniel Auster
action is_in
entity Daniel Auster
action find
entity Jerusalem
relation head of government
['Jerusalem', 'head of government', 'Daniel Auster']
ASK WHERE { resource:Jerusalem property:head_of_government resource:Daniel_Auster }
[]
common name
SYSTEM
YES
(Q1218,P6,Q676953)
action is_in
entity Q676953
action find
entity Q1218
relation P6
[ANSWER]
['Q1218', 'P6', 'Q676953']
ASK WHERE { resource:Q1218 property:P6 resource:Q676953 }
Yes
action is_in
entity Daniel Auster
action find
entity Jerusalem
relation head of government
['Jerusalem', 'head of government', 'Daniel Auster']
ASK WHERE { resource:Jerusalem property:head_of_government resource:Daniel_Auster }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q662218 Q853697
P27
Q15617994
USER
Is historical province of Finland the country of citizenship of Pinhas Lavon ?
(Q662218,P27,Q853697)
action is_in
entity Q853697
action find
entity Q662218
relation P27
['Q662218', 'P27', 'Q853697']
ASK WHERE { resource:Q662218 property:P27 resource:Q853697 }
Pinhas Lavon historical province of Finland
action is_in
entity historical province of Finland
action find
entity Pinhas Lavon
relation country of citizenship
['Pinhas Lavon', 'country of citizenship', 'historical province of Finland']
ASK WHERE { resource:Pinhas_Lavon property:country_of_citizenship resource:historical_province_of_Finland }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q662218,P27,Q853697)
action is_in
entity Q853697
action find
entity Q662218
relation P27
[ANSWER]
['Q662218', 'P27', 'Q853697']
ASK WHERE { resource:Q662218 property:P27 resource:Q853697 }
No
action is_in
entity historical province of Finland
action find
entity Pinhas Lavon
relation country of citizenship
['Pinhas Lavon', 'country of citizenship', 'historical province of Finland']
ASK WHERE { resource:Pinhas_Lavon property:country_of_citizenship resource:historical_province_of_Finland }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1218
P840
Q15416
USER
Which television programs have their narrative set in Jerusalem ?
(c(Q15416),P840,Q1218)
action filter_type
action find_reverse
entity Q1218
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q1218']
SELECT DISTINCT ?r WHERE { ?r property:P840 resource:Q1218 . ?r rdf:type ontology:Q15416 }
Jerusalem
action filter_type
action find_reverse
entity Jerusalem
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Jerusalem']
SELECT DISTINCT ?r WHERE { ?r property:narrative_location resource:Jerusalem . ?r rdf:type ontology:television_program }
[]
television program
Q2133214 Q7586586 Q6878481
SYSTEM
The Master and Margarita, Srugim, Shtisel
Q2133214 Q7586586 Q6878481
(c(Q15416),P840,Q1218)
action filter_type
action find_reverse
entity Q1218
relation P840
type Q15416
[ANSWERS] have their narrative set in Jerusalem
[{'concept': 'Q15416'}, 'P840', 'Q1218']
SELECT DISTINCT ?r WHERE { ?r property:P840 resource:Q1218 . ?r rdf:type ontology:Q15416 }
The Master and Margarita Srugim Shtisel
The Master and Margarita, Srugim and Shtisel have their narrative set in Jerusalem
The Master and Margarita Srugim Shtisel
action filter_type
action find_reverse
entity Jerusalem
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Jerusalem']
SELECT DISTINCT ?r WHERE { ?r property:narrative_location resource:Jerusalem . ?r rdf:type ontology:television_program }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6878481
P58
Q502895
USER
Who wrote the script for that television program ?
(Q6878481,P58,c(Q502895))
action filter_type
action find
entity Q6878481
relation P58
type Q502895
['Q6878481', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q6878481 property:P58 ?r . ?r rdf:type ontology:Q502895 }
Shtisel
action filter_type
action find
entity Shtisel
relation screenwriter
type common name
['Shtisel', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Shtisel property:screenwriter ?r . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q7586586
SYSTEM
Did you mean Srugim ?
Q2133214 Q7586586 Q6878481
(Q2133214,P58,c(Q502895)) (Q7586586,P58,c(Q502895)) (Q6878481,P58,c(Q502895))
[ANSWER]
['Q2133214', 'P58', {'concept': 'Q502895'}] ['Q7586586', 'P58', {'concept': 'Q502895'}] ['Q6878481', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q6878481 property:P58 ?r . ?r rdf:type ontology:Q502895 }
The Master and Margarita Srugim Shtisel
Did you mean Srugim ?
Srugim
['The Master and Margarita', 'screenwriter', {'concept': 'common name'}] ['Srugim', 'screenwriter', {'concept': 'common name'}] ['Shtisel', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Shtisel property:screenwriter ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Shtisel. Could you tell me the answer for that?
(Q6878481,P58,c(Q502895))
Q6878481
['Q6878481', 'P58', {'concept': 'Q502895'}]
['Shtisel', 'screenwriter', {'concept': 'common name'}]
[]
Q6600183 Q12407850
SYSTEM
Ori Elon, Yehonatan Indursky
Q6600183 Q12407850
(Q6878481,P58,c(Q502895))
action filter_type
action find
entity Q6878481
relation P58
type Q502895
[ANSWERS] wrote the script for that television program
['Q6878481', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q6878481 property:P58 ?r . ?r rdf:type ontology:Q502895 }
Ori Elon Yehonatan Indursky
Ori Elon and Yehonatan Indursky wrote the script for that television program
Ori Elon Yehonatan Indursky
action filter_type
action find
entity Shtisel
relation screenwriter
type common name
['Shtisel', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Shtisel property:screenwriter ?r . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6600183
P21
Q290
USER
What is the sex of that person ?
(Q6600183,P21,c(Q290))
action filter_type
action find
entity Q6600183
relation P21
type Q290
['Q6600183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q6600183 property:P21 ?p . ?p rdf:type ontology:Q290 }
Ori Elon
action filter_type
action find
entity Ori Elon
relation gender
type sex
['Ori Elon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Ori_Elon property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q12407850
SYSTEM
Did you mean Yehonatan Indursky ?
Q6600183 Q12407850
(Q6600183,P21,c(Q290)) (Q12407850,P21,c(Q290))
[ANSWER]
['Q6600183', 'P21', {'concept': 'Q290'}] ['Q12407850', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q6600183 property:P21 ?p . ?p rdf:type ontology:Q290 }
Ori Elon Yehonatan Indursky
Did you mean Yehonatan Indursky ?
Yehonatan Indursky
['Ori Elon', 'gender', {'concept': 'sex'}] ['Yehonatan Indursky', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Ori_Elon property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Ori Elon. Could you tell me the answer for that?
(Q6600183,P21,c(Q290))
Q6600183
['Q6600183', 'P21', {'concept': 'Q290'}]
['Ori Elon', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q6600183,P21,c(Q290))
action filter_type
action find
entity Q6600183
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q6600183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q6600183 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Ori Elon
relation gender
type sex
['Ori Elon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Ori_Elon property:gender ?p . ?p rdf:type ontology:sex }
[]