Simple Question (Direct)
Simple Question
Q4663558
P7
Q502895
USER
Who are Abassa a sibling of ?
(Q4663558,P7,c(Q502895))
action filter_type
action find
entity Q4663558
relation P7
type Q502895
['Q4663558', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q4663558 property:P7 ?p }
Abassa
action filter_type
action find
entity Abassa
relation brother
type common name
['Abassa', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Abassa property:brother ?p }
[]
common name
Q131002 Q293490
SYSTEM
Harun al-Rashid, Al-Hadi
Q131002 Q293490
(Q4663558,P7,c(Q502895))
action filter_type
action find
entity Q4663558
relation P7
type Q502895
Abassa a sibling of are [ANSWERS]
['Q4663558', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q4663558 property:P7 ?p }
Harun al-Rashid Al-Hadi
Abassa a sibling of are Harun al-Rashid and Al-Hadi
Harun al-Rashid Al-Hadi
action filter_type
action find
entity Abassa
relation brother
type common name
['Abassa', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Abassa property:brother ?p }
[]
Clarification
Simple Question|Single Entity|Indirect
Q131002
P40
Q502895
USER
Which people have that one as an offspring ?
(c(Q502895),P40,Q131002)
action filter_type
action find_reverse
entity Q131002
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q131002']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q131002 . ?i rdf:type ontology:Q502895 }
Harun al-Rashid
action filter_type
action find_reverse
entity Harun al-Rashid
relation child
type common name
[{'concept': 'common name'}, 'child', 'Harun al-Rashid']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Harun_al-Rashid . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q293490
SYSTEM
Did you mean Al-Hadi ?
Q131002 Q293490
(c(Q502895),P40,Q131002) (c(Q502895),P40,Q293490)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q131002'] [{'concept': 'Q502895'}, 'P40', 'Q293490']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q131002 . ?i rdf:type ontology:Q502895 }
Harun al-Rashid Al-Hadi
Did you mean Al-Hadi ?
Al-Hadi
[{'concept': 'common name'}, 'child', 'Harun al-Rashid'] [{'concept': 'common name'}, 'child', 'Al-Hadi']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Harun_al-Rashid . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Harun al-Rashid. Could you tell me the answer for that?
(c(Q502895),P40,Q131002)
Q131002
[{'concept': 'Q502895'}, 'P40', 'Q131002']
[{'concept': 'common name'}, 'child', 'Harun al-Rashid']
[]
Q293482 Q642283
SYSTEM
Al-Mahdi, Al-Khayzuran
Q293482 Q642283
(c(Q502895),P40,Q131002)
action filter_type
action find_reverse
entity Q131002
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q131002']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q131002 . ?i rdf:type ontology:Q502895 }
Al-Mahdi Al-Khayzuran
Al-Mahdi and Al-Khayzuran have that one as an offspring
Al-Mahdi Al-Khayzuran
action filter_type
action find_reverse
entity Harun al-Rashid
relation child
type common name
[{'concept': 'common name'}, 'child', 'Harun al-Rashid']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Harun_al-Rashid . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131002
P921
Q191067
USER
Which article has Harun al-Rashid as its main topic ?
(c(Q191067),P921,Q131002)
action filter_type
action find_reverse
entity Q131002
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q131002']
SELECT DISTINCT ?p WHERE { ?p property:P921 resource:Q131002 . ?p rdf:type ontology:Q191067 }
Harun al-Rashid
action filter_type
action find_reverse
entity Harun al-Rashid
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Harun al-Rashid']
SELECT DISTINCT ?p WHERE { ?p property:main_subject resource:Harun_al-Rashid . ?p rdf:type ontology:article }
[]
article
Q20643966
SYSTEM
EB-11 / Hārūn al-Rashīd
Q20643966
(c(Q191067),P921,Q131002)
action filter_type
action find_reverse
entity Q131002
relation P921
type Q191067
[ANSWER] has Harun al-Rashid as its main topic
[{'concept': 'Q191067'}, 'P921', 'Q131002']
SELECT DISTINCT ?p WHERE { ?p property:P921 resource:Q131002 . ?p rdf:type ontology:Q191067 }
EB-11 / Hārūn al-Rashīd
EB-11 / Hārūn al-Rashīd has Harun al-Rashid as its main topic
EB-11 / Hārūn al-Rashīd
action filter_type
action find_reverse
entity Harun al-Rashid
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Harun al-Rashid']
SELECT DISTINCT ?p WHERE { ?p property:main_subject resource:Harun_al-Rashid . ?p rdf:type ontology:article }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q293482
P22
Q502895
USER
Who have Al-Mahdi as a father ?
(c(Q502895),P22,Q293482)
action filter_type
action find_reverse
entity Q293482
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q293482']
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q293482 . ?y rdf:type ontology:Q502895 }
Al-Mahdi
action filter_type
action find_reverse
entity Al-Mahdi
relation father
type common name
[{'concept': 'common name'}, 'father', 'Al-Mahdi']
SELECT DISTINCT ?y WHERE { ?y property:father resource:Al-Mahdi . ?y rdf:type ontology:common_name }
[]
common name
Q131002 Q293490 Q4663558
SYSTEM
Harun al-Rashid, Al-Hadi, Abassa
Q4663558 Q13369891 Q293490 Q131002
(c(Q502895),P22,Q293482)
action filter_type
action find_reverse
entity Q293482
relation P22
type Q502895
[ANSWERS] have Al-Mahdi as a father
[{'concept': 'Q502895'}, 'P22', 'Q293482']
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q293482 . ?y rdf:type ontology:Q502895 }
Abassa Banuqa Al-Hadi Harun al-Rashid
Harun al-Rashid, Al-Hadi and Abassa have Al-Mahdi as a father
Harun al-Rashid Al-Hadi Abassa
action filter_type
action find_reverse
entity Al-Mahdi
relation father
type common name
[{'concept': 'common name'}, 'father', 'Al-Mahdi']
SELECT DISTINCT ?y WHERE { ?y property:father resource:Al-Mahdi . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q131002 Q293490 Q4663558
P21
Q290
USER
Which sexes do those people possess ?
(Q131002,P21,c(Q290)) (Q293490,P21,c(Q290)) (Q4663558,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q131002', 'P21', {'concept': 'Q290'}] ['Q293490', 'P21', {'concept': 'Q290'}] ['Q4663558', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . ?e property:P21 ?g . VALUES ( ?e ) { ( resource:Q4663558 ) ( resource:Q13369891 ) ( resource:Q293490 ) } }
Harun al-Rashid Al-Hadi Abassa
action filter_type
action find
entity prev_answer
relation gender
type sex
['Harun al-Rashid', 'gender', {'concept': 'sex'}] ['Al-Hadi', 'gender', {'concept': 'sex'}] ['Abassa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . ?e property:gender ?g . VALUES ( ?e ) { ( resource:Abassa ) ( resource:Banuqa ) ( resource:Al-Hadi ) } }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072
(Q131002,P21,c(Q290)) (Q293490,P21,c(Q290)) (Q4663558,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q131002', 'P21', {'concept': 'Q290'}] ['Q293490', 'P21', {'concept': 'Q290'}] ['Q4663558', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . ?e property:P21 ?g . VALUES ( ?e ) { ( resource:Q4663558 ) ( resource:Q13369891 ) ( resource:Q293490 ) } }
male male female
Those people possess a male, male and female
male male female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Harun al-Rashid', 'gender', {'concept': 'sex'}] ['Al-Hadi', 'gender', {'concept': 'sex'}] ['Abassa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . ?e property:gender ?g . VALUES ( ?e ) { ( resource:Abassa ) ( resource:Banuqa ) ( resource:Al-Hadi ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131002
P802
Q502895
USER
Who was a notable student of Harun al-Rashid ?
(c(Q502895),P802,Q131002)
action filter_type
action find_reverse
entity Q131002
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q131002']
SELECT DISTINCT ?g WHERE { ?g property:P802 resource:Q131002 . ?g rdf:type ontology:Q502895 }
Harun al-Rashid
action filter_type
action find_reverse
entity Harun al-Rashid
relation student
type common name
[{'concept': 'common name'}, 'student', 'Harun al-Rashid']
SELECT DISTINCT ?g WHERE { ?g property:student resource:Harun_al-Rashid . ?g rdf:type ontology:common_name }
[]
common name
Q12218841
SYSTEM
Shu'ba Ibn al-Ḥajjāj
Q12218841
(c(Q502895),P802,Q131002)
action filter_type
action find_reverse
entity Q131002
relation P802
type Q502895
Was a notable student of Harun al-Rashid Ibn [ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q131002']
SELECT DISTINCT ?g WHERE { ?g property:P802 resource:Q131002 . ?g rdf:type ontology:Q502895 }
Shu'ba Ibn al-Ḥajjāj
Was a notable student of Harun al-Rashid Ibn Shu'ba Ibn al-Ḥajjāj
Shu'ba Ibn al-Ḥajjāj
action filter_type
action find_reverse
entity Harun al-Rashid
relation student
type common name
[{'concept': 'common name'}, 'student', 'Harun al-Rashid']
SELECT DISTINCT ?g WHERE { ?g property:student resource:Harun_al-Rashid . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12218841
P1066
Q502895
USER
Which people were the teachers of that one ?
(Q12218841,P1066,c(Q502895))
action filter_type
action find
entity Q12218841
relation P1066
type Q502895
['Q12218841', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q12218841 property:P1066 ?s . ?s rdf:type ontology:Q502895 }
Shu'ba Ibn al-Ḥajjāj
action filter_type
action find
entity Shu'ba Ibn al-Ḥajjāj
relation student of
type common name
["Shu'ba Ibn al-Ḥajjāj", 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Shu'ba_Ibn_al-Ḥajjāj property:student_of ?s . ?s rdf:type ontology:common_name }
[]
common name
Q12201128 Q2121486
SYSTEM
Ayoub al-Sakhtiyani, Qatāda ibn Diʿāma
Q12201128 Q2121486
(Q12218841,P1066,c(Q502895))
action filter_type
action find
entity Q12218841
relation P1066
type Q502895
[ANSWERS] were the teachers of that one
['Q12218841', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q12218841 property:P1066 ?s . ?s rdf:type ontology:Q502895 }
Ayoub al-Sakhtiyani Qatāda ibn Diʿāma
Ayoub al-Sakhtiyani and Qatāda ibn Diʿāma were the teachers of that one
Ayoub al-Sakhtiyani Qatāda ibn Diʿāma
action filter_type
action find
entity Shu'ba Ibn al-Ḥajjāj
relation student of
type common name
["Shu'ba Ibn al-Ḥajjāj", 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Shu'ba_Ibn_al-Ḥajjāj property:student_of ?s . ?s rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12201128
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q12201128,P20,c(Q56061))
action filter_type
action find
entity Q12201128
relation P20
type Q56061
['Q12201128', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q12201128 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Ayoub al-Sakhtiyani
action filter_type
action find
entity Ayoub al-Sakhtiyani
relation place of death
type administrative territorial entity
['Ayoub al-Sakhtiyani', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ayoub_al-Sakhtiyani property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q2121486
SYSTEM
Did you mean Qatāda ibn Diʿāma ?
Q12201128 Q2121486
(Q12201128,P20,c(Q56061)) (Q2121486,P20,c(Q56061))
[ANSWER]
['Q12201128', 'P20', {'concept': 'Q56061'}] ['Q2121486', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q12201128 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Ayoub al-Sakhtiyani Qatāda ibn Diʿāma
Did you mean Qatāda ibn Diʿāma ?
Qatāda ibn Diʿāma
['Ayoub al-Sakhtiyani', 'place of death', {'concept': 'administrative territorial entity'}] ['Qatāda ibn Diʿāma', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ayoub_al-Sakhtiyani property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Ayoub al-Sakhtiyani. Could you tell me the answer for that?
(Q12201128,P20,c(Q56061))
Q12201128
['Q12201128', 'P20', {'concept': 'Q56061'}]
['Ayoub al-Sakhtiyani', 'place of death', {'concept': 'administrative territorial entity'}]
[]
Q48195
SYSTEM
Basra
Q48195
(Q12201128,P20,c(Q56061))
action filter_type
action find
entity Q12201128
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q12201128', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q12201128 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Basra
Basra is the place of death of that person
Basra
action filter_type
action find
entity Ayoub al-Sakhtiyani
relation place of death
type administrative territorial entity
['Ayoub al-Sakhtiyani', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ayoub_al-Sakhtiyani property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48195
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
(Q48195,P17,c(Q15617994))
action filter_type
action find
entity Q48195
relation P17
type Q15617994
['Q48195', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q48195 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Basra
action filter_type
action find
entity Basra
relation country
type designation for an administrative territorial entity
['Basra', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Basra property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q796
SYSTEM
Iraq
Q796
(Q48195,P17,c(Q15617994))
action filter_type
action find
entity Q48195
relation P17
type Q15617994
That administrative territory is situated in [ANSWER]
['Q48195', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q48195 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Iraq
That administrative territory is situated in Iraq
Iraq
action filter_type
action find
entity Basra
relation country
type designation for an administrative territorial entity
['Basra', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Basra property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q796
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that administrative territory ?
(Q796,P1313,c(Q12737077))
action filter_type
action find
entity Q796
relation P1313
type Q12737077
['Q796', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q796 property:P1313 ?r . ?r rdf:type ontology:Q12737077 }
Iraq
action filter_type
action find
entity Iraq
relation office held by head of government
type occupation
['Iraq', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Iraq property:office_held_by_head_of_government ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q1476165
SYSTEM
Prime Minister of Iraq
Q1476165
(Q796,P1313,c(Q12737077))
action filter_type
action find
entity Q796
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
['Q796', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q796 property:P1313 ?r . ?r rdf:type ontology:Q12737077 }
Prime Minister of Iraq
The Prime Minister of Iraq serves as the political office that is fulfilled by the head of the government of that administrative territory
Prime Minister of Iraq
action filter_type
action find
entity Iraq
relation office held by head of government
type occupation
['Iraq', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Iraq property:office_held_by_head_of_government ?r . ?r rdf:type ontology:occupation }
[]