Simple Question (Direct)
Simple Question
Q1951892
P40
Q502895
USER
Which people are a successors of Mohammed ash-Sheikh ?
(Q1951892,P40,c(Q502895))
action filter_type
action find
entity Q1951892
relation P40
type Q502895
['Q1951892', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1951892 property:P40 ?l . ?l rdf:type ontology:Q502895 }
Mohammed ash-Sheikh
action filter_type
action find
entity Mohammed ash-Sheikh
relation child
type common name
['Mohammed ash-Sheikh', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Mohammed_ash-Sheikh property:child ?l . ?l rdf:type ontology:common_name }
[]
common name
Q400911 Q335118 Q307619
SYSTEM
Ahmad al-Mansur, Abu Marwan Abd al-Malik I Saadi, Abdallah al-Ghalib
Q400911 Q335118 Q307619
(Q1951892,P40,c(Q502895))
action filter_type
action find
entity Q1951892
relation P40
type Q502895
[ANSWERS] are a successors of Mohammed ash-Sheikh
['Q1951892', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1951892 property:P40 ?l . ?l rdf:type ontology:Q502895 }
Ahmad al-Mansur Abu Marwan Abd al-Malik I Saadi Abdallah al-Ghalib
Ahmad al-Mansur, Abu Marwan Abd al-Malik I Saadi and Abdallah al-Ghalib are a successors of Mohammed ash-Sheikh
Ahmad al-Mansur Abu Marwan Abd al-Malik I Saadi Abdallah al-Ghalib
action filter_type
action find
entity Mohammed ash-Sheikh
relation child
type common name
['Mohammed ash-Sheikh', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Mohammed_ash-Sheikh property:child ?l . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q400911
P7
Q502895
USER
Who are that one a sibling of ?
(Q400911,P7,c(Q502895))
action filter_type
action find
entity Q400911
relation P7
type Q502895
['Q400911', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q400911 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Ahmad al-Mansur
action filter_type
action find
entity Ahmad al-Mansur
relation brother
type common name
['Ahmad al-Mansur', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Ahmad_al-Mansur property:brother ?i . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q335118
SYSTEM
Did you mean Abu Marwan Abd al-Malik I Saadi ?
Q400911 Q335118 Q307619
(Q400911,P7,c(Q502895)) (Q335118,P7,c(Q502895)) (Q307619,P7,c(Q502895))
[ANSWER]
['Q400911', 'P7', {'concept': 'Q502895'}] ['Q335118', 'P7', {'concept': 'Q502895'}] ['Q307619', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q400911 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Ahmad al-Mansur Abu Marwan Abd al-Malik I Saadi Abdallah al-Ghalib
Did you mean Abu Marwan Abd al-Malik I Saadi ?
Abu Marwan Abd al-Malik I Saadi
['Ahmad al-Mansur', 'brother', {'concept': 'common name'}] ['Abu Marwan Abd al-Malik I Saadi', 'brother', {'concept': 'common name'}] ['Abdallah al-Ghalib', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Ahmad_al-Mansur property:brother ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Ahmad al-Mansur. Could you tell me the answer for that?
(Q400911,P7,c(Q502895))
Q400911
['Q400911', 'P7', {'concept': 'Q502895'}]
['Ahmad al-Mansur', 'brother', {'concept': 'common name'}]
[]
Q335118 Q307619
SYSTEM
Abu Marwan Abd al-Malik I Saadi, Abdallah al-Ghalib
Q335118 Q307619
(Q400911,P7,c(Q502895))
action filter_type
action find
entity Q400911
relation P7
type Q502895
That one a sibling of are the [ANSWERS]
['Q400911', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q400911 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Abu Marwan Abd al-Malik I Saadi Abdallah al-Ghalib
That one a sibling of are the Abu Marwan Abd al-Malik I Saadi and Abdallah al-Ghalib
Abu Marwan Abd al-Malik I Saadi Abdallah al-Ghalib
action filter_type
action find
entity Ahmad al-Mansur
relation brother
type common name
['Ahmad al-Mansur', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Ahmad_al-Mansur property:brother ?i . ?i rdf:type ontology:common_name }
[]