Simple Question (Direct)
Simple Question
Q272864
P1196
Q1190554
USER
Which situation led to the death of James II of Scotland ?
(Q272864,P1196,c(Q1190554))
action filter_type
action find
entity Q272864
relation P1196
type Q1190554
['Q272864', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?q WHERE { resource:Q272864 property:P1196 ?q . ?q rdf:type ontology:Q1190554 }
James II of Scotland
action filter_type
action find
entity James II of Scotland
relation manner of death
type event
['James II of Scotland', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?q WHERE { resource:James_II_of_Scotland property:manner_of_death ?q . ?q rdf:type ontology:event }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q272864,P1196,c(Q1190554))
action filter_type
action find
entity Q272864
relation P1196
type Q1190554
The [ANSWER] led to the death of James II of Scotland
['Q272864', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?q WHERE { resource:Q272864 property:P1196 ?q . ?q rdf:type ontology:Q1190554 }
accident
The accident led to the death of James II of Scotland
accident
action filter_type
action find
entity James II of Scotland
relation manner of death
type event
['James II of Scotland', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?q WHERE { resource:James_II_of_Scotland property:manner_of_death ?q . ?q rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q272864
P7
Q502895
USER
Which person is the brother of James II of Scotland ?
(Q272864,P7,c(Q502895))
action filter_type
action find
entity Q272864
relation P7
type Q502895
['Q272864', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q272864 property:P7 ?l . ?l rdf:type ontology:Q502895 }
James II of Scotland
action filter_type
action find
entity James II of Scotland
relation brother
type common name
['James II of Scotland', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:James_II_of_Scotland property:brother ?l . ?l rdf:type ontology:common_name }
[]
common name
Q2834059
SYSTEM
Alexander Stewart, Duke of Rothesay
Q2834059
(Q272864,P7,c(Q502895))
action filter_type
action find
entity Q272864
relation P7
type Q502895
[ANSWER] is the brother of James II of Scotland
['Q272864', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q272864 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Alexander Stewart, Duke of Rothesay
Alexander Stewart, Duke of Rothesay is the brother of James II of Scotland
Alexander Stewart, Duke of Rothesay
action filter_type
action find
entity James II of Scotland
relation brother
type common name
['James II of Scotland', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:James_II_of_Scotland property:brother ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q272864
P53
Q13417114
USER
What is the noble family that James II of Scotland belongs to ?
(Q272864,P53,c(Q13417114))
action filter_type
action find
entity Q272864
relation P53
type Q13417114
['Q272864', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?d WHERE { resource:Q272864 property:P53 ?d . ?d rdf:type ontology:Q13417114 }
James II of Scotland
action filter_type
action find
entity James II of Scotland
relation noble family
type noble family
['James II of Scotland', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?d WHERE { resource:James_II_of_Scotland property:noble_family ?d . ?d rdf:type ontology:noble_family }
[]
noble family
Q179840
SYSTEM
House of Stuart
Q179840
(Q272864,P53,c(Q13417114))
action filter_type
action find
entity Q272864
relation P53
type Q13417114
The noble family that James II of Scotland belongs to is the [ANSWER]
['Q272864', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?d WHERE { resource:Q272864 property:P53 ?d . ?d rdf:type ontology:Q13417114 }
House of Stuart
The noble family that James II of Scotland belongs to is the House of Stuart
House of Stuart
action filter_type
action find
entity James II of Scotland
relation noble family
type noble family
['James II of Scotland', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?d WHERE { resource:James_II_of_Scotland property:noble_family ?d . ?d rdf:type ontology:noble_family }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7283473
Q13417114
USER
And how about Rahma bint El Hassan?
(Q7283473,P53,c(Q13417114))
action filter_type
action find
entity Q7283473
relation P53
type Q13417114
['Q7283473', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?r WHERE { resource:Q7283473 property:P53 ?r . ?r rdf:type ontology:Q13417114 }
Rahma bint El Hassan
action filter_type
action find
entity Rahma bint El Hassan
relation noble family
type noble family
['Rahma bint El Hassan', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?r WHERE { resource:Rahma_bint_El_Hassan property:noble_family ?r . ?r rdf:type ontology:noble_family }
[]
noble family
Q1774915
SYSTEM
Hashemite
Q1774915
(Q7283473,P53,c(Q13417114))
action filter_type
action find
entity Q7283473
relation P53
type Q13417114
[ANSWER]
['Q7283473', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?r WHERE { resource:Q7283473 property:P53 ?r . ?r rdf:type ontology:Q13417114 }
Hashemite
Hashemite
action filter_type
action find
entity Rahma bint El Hassan
relation noble family
type noble family
['Rahma bint El Hassan', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?r WHERE { resource:Rahma_bint_El_Hassan property:noble_family ?r . ?r rdf:type ontology:noble_family }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1774915 Q17428539 Q4750586
P112
Q502895
USER
Was that noble family established by Wibo Sjerp Lans and Anabel Solís ?
(Q1774915,P112,Q17428539) (Q1774915,P112,Q4750586)
action is_in
entity Q1774915
action intersection
action find_reverse
entity Q17428539
relation P112
action find_reverse
entity Q4750586
relation P112
['Q1774915', 'P112', 'Q17428539'] ['Q1774915', 'P112', 'Q4750586']
ASK WHERE { resource:Q1774915 property:P112 resource:Q17428539 . resource:Q1774915 property:P112 resource:Q4750586 }
Hashemite Wibo Sjerp Lans Anabel Solís
action is_in
entity Hashemite
action intersection
action find_reverse
entity Wibo Sjerp Lans
relation founder
action find_reverse
entity Anabel Solís
relation founder
['Hashemite', 'founder', 'Wibo Sjerp Lans'] ['Hashemite', 'founder', 'Anabel Solís']
ASK WHERE { resource:Hashemite property:founder resource:Wibo_Sjerp_Lans . resource:Hashemite property:founder resource:Anabel_Solís }
[]
common name
SYSTEM
NO
(Q1774915,P112,Q17428539) (Q1774915,P112,Q4750586)
action is_in
entity Q1774915
action intersection
action find_reverse
entity Q17428539
relation P112
action find_reverse
entity Q4750586
relation P112
[ANSWER]
['Q1774915', 'P112', 'Q17428539'] ['Q1774915', 'P112', 'Q4750586']
ASK WHERE { resource:Q1774915 property:P112 resource:Q17428539 . resource:Q1774915 property:P112 resource:Q4750586 }
No
action is_in
entity Hashemite
action intersection
action find_reverse
entity Wibo Sjerp Lans
relation founder
action find_reverse
entity Anabel Solís
relation founder
['Hashemite', 'founder', 'Wibo Sjerp Lans'] ['Hashemite', 'founder', 'Anabel Solís']
ASK WHERE { resource:Hashemite property:founder resource:Wibo_Sjerp_Lans . resource:Hashemite property:founder resource:Anabel_Solís }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q272864 Q235234 Q24459571
P22
Q502895
USER
Does James II of Scotland have James I of Scotland and Naum Kostov as a parent ?
(Q272864,P22,Q235234) (Q272864,P22,Q24459571)
action is_in
entity Q272864
action intersection
action find_reverse
entity Q235234
relation P22
action find_reverse
entity Q24459571
relation P22
['Q272864', 'P22', 'Q235234'] ['Q272864', 'P22', 'Q24459571']
ASK WHERE { resource:Q272864 property:P22 resource:Q235234 . resource:Q272864 property:P22 resource:Q24459571 }
James II of Scotland James I of Scotland Naum Kostov
action is_in
entity James II of Scotland
action intersection
action find_reverse
entity James I of Scotland
relation father
action find_reverse
entity Naum Kostov
relation father
['James II of Scotland', 'father', 'James I of Scotland'] ['James II of Scotland', 'father', 'Naum Kostov']
ASK WHERE { resource:James_II_of_Scotland property:father resource:James_I_of_Scotland . resource:James_II_of_Scotland property:father resource:Naum_Kostov }
[]
common name
SYSTEM
YES and NO respectively
(Q272864,P22,Q235234) (Q272864,P22,Q24459571)
action is_in
entity Q272864
action intersection
action find_reverse
entity Q235234
relation P22
action find_reverse
entity Q24459571
relation P22
[ANSWER]
['Q272864', 'P22', 'Q235234'] ['Q272864', 'P22', 'Q24459571']
ASK WHERE { resource:Q272864 property:P22 resource:Q235234 . resource:Q272864 property:P22 resource:Q24459571 }
YES and NO respectively
action is_in
entity James II of Scotland
action intersection
action find_reverse
entity James I of Scotland
relation father
action find_reverse
entity Naum Kostov
relation father
['James II of Scotland', 'father', 'James I of Scotland'] ['James II of Scotland', 'father', 'Naum Kostov']
ASK WHERE { resource:James_II_of_Scotland property:father resource:James_I_of_Scotland . resource:James_II_of_Scotland property:father resource:Naum_Kostov }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1774915 Q128906
P112
Q502895
USER
Is Hussein bin Ali, Sharif of Mecca the name of the founder of Hashemite ?
(Q1774915,P112,Q128906)
action is_in
entity Q128906
action find
entity Q1774915
relation P112
['Q1774915', 'P112', 'Q128906']
ASK WHERE { resource:Q1774915 property:P112 resource:Q128906 }
Hashemite Hussein bin Ali, Sharif of Mecca
action is_in
entity Hussein bin Ali, Sharif of Mecca
action find
entity Hashemite
relation founder
['Hashemite', 'founder', 'Hussein bin Ali, Sharif of Mecca']
ASK WHERE { resource:Hashemite property:founder resource:Hussein_bin_Ali,_Sharif_of_Mecca }
[]
common name
SYSTEM
YES
(Q1774915,P112,Q128906)
action is_in
entity Q128906
action find
entity Q1774915
relation P112
[ANSWER]
['Q1774915', 'P112', 'Q128906']
ASK WHERE { resource:Q1774915 property:P112 resource:Q128906 }
Yes
action is_in
entity Hussein bin Ali, Sharif of Mecca
action find
entity Hashemite
relation founder
['Hashemite', 'founder', 'Hussein bin Ali, Sharif of Mecca']
ASK WHERE { resource:Hashemite property:founder resource:Hussein_bin_Ali,_Sharif_of_Mecca }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q179840 Q107931
P112
Q502895
USER
House of Stuart ?
(Q179840,P112,Q107931)
action is_in
entity Q107931
action find
entity Q179840
relation P112
['Q179840', 'P112', 'Q107931']
ASK WHERE { resource:Q179840 property:P112 resource:Q107931 }
House of Stuart Carl Benda
action is_in
entity Carl Benda
action find
entity House of Stuart
relation founder
['House of Stuart', 'founder', 'Carl Benda']
ASK WHERE { resource:House_of_Stuart property:founder resource:Carl_Benda }
[]
common name
SYSTEM
NO
(Q179840,P112,Q107931)
action is_in
entity Q107931
action find
entity Q179840
relation P112
[ANSWER]
['Q179840', 'P112', 'Q107931']
ASK WHERE { resource:Q179840 property:P112 resource:Q107931 }
No
action is_in
entity Carl Benda
action find
entity House of Stuart
relation founder
['House of Stuart', 'founder', 'Carl Benda']
ASK WHERE { resource:House_of_Stuart property:founder resource:Carl_Benda }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1774915
P172
Q502895
USER
Which people have Hashemite as ethnic group ?
(c(Q502895),P172,Q1774915)
action filter_type
action find_reverse
entity Q1774915
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q1774915']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P172 resource:Q1774915 }
Hashemite
action filter_type
action find_reverse
entity Hashemite
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Hashemite']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:ethnic_group resource:Hashemite }
[]
common name
Q39619 Q112128 Q182914
SYSTEM
Alī ibn Abī Ṭālib, Husayn ibn Ali, Hasan ibn Ali
Q297913 Q423600 Q182914 Q314978 Q180123 Q315031 Q770033 Q315377 Q39619 Q315920 Q8917042 Q1147498 Q25088 Q112128 Q380479 Q34408 Q293599
(c(Q502895),P172,Q1774915)
action filter_type
action find_reverse
entity Q1774915
relation P172
type Q502895
[ANSWERS] have Hashemite as ethnic group
[{'concept': 'Q502895'}, 'P172', 'Q1774915']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P172 resource:Q1774915 }
Abu Talib ibn ‘Abd al-Muttalib `Abd Allah ibn `Abbas Hasan ibn Ali Ali ibn al-Husayn Zayn al-'Abidin Fatimah Zahra Musa al-Kadhim Hamza ibn ‘Abd al-Muttalib Ali al-Hadi Alī ibn Abī Ṭālib Hasan al-Askari Muhammad al-Mahdi Ja'far ibn Abī Tālib Muhammad al-Jawad Husayn ibn Ali Abdul Muttalib Abdullah ibn Abdul-Muttalib Abbas ibn Abd al-Muttalib
Alī ibn Abī Ṭālib, Husayn ibn Ali and Hasan ibn Ali have Hashemite as ethnic group
Alī ibn Abī Ṭālib Husayn ibn Ali Hasan ibn Ali
action filter_type
action find_reverse
entity Hashemite
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Hashemite']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:ethnic_group resource:Hashemite }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39619
P40
Q502895
USER
Which people are children of Alī ibn Abī Ṭālib ?
(Q39619,P40,c(Q502895))
action filter_type
action find
entity Q39619
relation P40
type Q502895
['Q39619', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q39619 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Alī ibn Abī Ṭālib
action filter_type
action find
entity Alī ibn Abī Ṭālib
relation child
type common name
['Alī ibn Abī Ṭālib', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Alī_ibn_Abī_Ṭālib property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q112128 Q182914 Q1111208
SYSTEM
Husayn ibn Ali, Hasan ibn Ali, Zaynab bint Ali
Q293538 Q939884 Q182914 Q12264773 Q6121767 Q4165342 Q112128 Q13400692 Q12265188 Q1111208 Q510433 Q4666107
(Q39619,P40,c(Q502895))
action filter_type
action find
entity Q39619
relation P40
type Q502895
[ANSWERS] are children of Alī ibn Abī Ṭālib
['Q39619', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q39619 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Al-Abbas ibn Ali Muhammad ibn al-Hanafiyyah Hasan ibn Ali Hilal ibn Ali Jafar ibn Ali Muhsin ibn Ali Husayn ibn Ali Ruqayya Mashhad Uthman ibn Ali Zaynab bint Ali Umm Kulthum bint Ali Abdullah ibn Ali
Husayn ibn Ali, Hasan ibn Ali and Zaynab bint Ali are children of Alī ibn Abī Ṭālib
Husayn ibn Ali Hasan ibn Ali Zaynab bint Ali
action filter_type
action find
entity Alī ibn Abī Ṭālib
relation child
type common name
['Alī ibn Abī Ṭālib', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Alī_ibn_Abī_Ṭālib property:child ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39619
P26
Q502895
USER
Which people are married to Alī ibn Abī Ṭālib ?
(c(Q502895),P26,Q39619)
action filter_type
action find
entity Q39619
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q39619']
SELECT DISTINCT ?x WHERE { resource:Q39619 property:P26 ?x . ?x rdf:type ontology:Q502895 }
Alī ibn Abī Ṭālib
action filter_type
action find
entity Alī ibn Abī Ṭālib
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Alī ibn Abī Ṭālib']
SELECT DISTINCT ?x WHERE { resource:Alī_ibn_Abī_Ṭālib property:spouse ?x . ?x rdf:type ontology:common_name }
[]
common name
Q180123 Q2739346 Q1111135
SYSTEM
Fatimah Zahra, Asma bint Umays, Umm ul-Banin
Q180123 Q1025219 Q2739346 Q1111135 Q1111147
(c(Q502895),P26,Q39619)
action filter_type
action find
entity Q39619
relation P26
type Q502895
[ANSWERS] are married to Alī ibn Abī Ṭālib
[{'concept': 'Q502895'}, 'P26', 'Q39619']
SELECT DISTINCT ?x WHERE { resource:Q39619 property:P26 ?x . ?x rdf:type ontology:Q502895 }
Fatimah Zahra Khawlah bint Ja'far Asma bint Umays Umm ul-Banin Umamah bint Zainab
Fatimah Zahra, Asma bint Umays and Umm ul-Banin are married to Alī ibn Abī Ṭālib
Fatimah Zahra Asma bint Umays Umm ul-Banin
action filter_type
action find
entity Alī ibn Abī Ṭālib
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Alī ibn Abī Ṭālib']
SELECT DISTINCT ?x WHERE { resource:Alī_ibn_Abī_Ṭālib property:spouse ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q180123 Q2739346 Q1111135
P25
Q502895
USER
Which people have Fatimah Zahra, Asma bint Umays and Umm ul-Banin as mother ?
(c(Q502895),P25,Q180123) (c(Q502895),P25,Q2739346) (c(Q502895),P25,Q1111135)
action union
action filter_type
action find_reverse
entity Q180123
relation P25
type Q502895
action filter_type
action find_reverse
entity Q2739346
relation P25
type Q502895
action filter_type
action find_reverse
entity Q1111135
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q180123'] [{'concept': 'Q502895'}, 'P25', 'Q2739346'] [{'concept': 'Q502895'}, 'P25', 'Q1111135']
SELECT DISTINCT ?z WHERE { ?z property:P25 ?y . VALUES ( ?y ) { ( resource:Q180123 ) ( resource:Q2739346 ) } }
Fatimah Zahra Asma bint Umays Umm ul-Banin
action union
action filter_type
action find_reverse
entity Fatimah Zahra
relation mother
type common name
action filter_type
action find_reverse
entity Asma bint Umays
relation mother
type common name
action filter_type
action find_reverse
entity Umm ul-Banin
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Fatimah Zahra'] [{'concept': 'common name'}, 'mother', 'Asma bint Umays'] [{'concept': 'common name'}, 'mother', 'Umm ul-Banin']
SELECT DISTINCT ?z WHERE { ?z property:mother ?y . VALUES ( ?y ) { ( resource:Fatimah_Zahra ) ( resource:Asma_bint_Umays ) } }
[]
common name
Q112128 Q182914 Q1111208
SYSTEM
Husayn ibn Ali, Hasan ibn Ali, Zaynab bint Ali
Q1111208 Q4165342 Q510433 Q182914 Q112128 Q1112754 Q4666107 Q293538 Q6121767 Q12265188
(c(Q502895),P25,Q180123) (c(Q502895),P25,Q2739346) (c(Q502895),P25,Q1111135)
action union
action filter_type
action find_reverse
entity Q180123
relation P25
type Q502895
action filter_type
action find_reverse
entity Q2739346
relation P25
type Q502895
action filter_type
action find_reverse
entity Q1111135
relation P25
type Q502895
[ANSWERS] have Fatimah Zahra, Asma bint Umays and Umm ul-Banin as mother
[{'concept': 'Q502895'}, 'P25', 'Q180123'] [{'concept': 'Q502895'}, 'P25', 'Q2739346'] [{'concept': 'Q502895'}, 'P25', 'Q1111135']
SELECT DISTINCT ?z WHERE { ?z property:P25 ?y . VALUES ( ?y ) { ( resource:Q180123 ) ( resource:Q2739346 ) } }
Zaynab bint Ali Muhsin ibn Ali Umm Kulthum bint Ali Hasan ibn Ali Husayn ibn Ali Muhammad ibn Abi Bakr Abdullah ibn Ali Al-Abbas ibn Ali Jafar ibn Ali Uthman ibn Ali
Husayn ibn Ali, Hasan ibn Ali and Zaynab bint Ali have Fatimah Zahra, Asma bint Umays and Umm ul-Banin as mother
Husayn ibn Ali Hasan ibn Ali Zaynab bint Ali
action union
action filter_type
action find_reverse
entity Fatimah Zahra
relation mother
type common name
action filter_type
action find_reverse
entity Asma bint Umays
relation mother
type common name
action filter_type
action find_reverse
entity Umm ul-Banin
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Fatimah Zahra'] [{'concept': 'common name'}, 'mother', 'Asma bint Umays'] [{'concept': 'common name'}, 'mother', 'Umm ul-Banin']
SELECT DISTINCT ?z WHERE { ?z property:mother ?y . VALUES ( ?y ) { ( resource:Fatimah_Zahra ) ( resource:Asma_bint_Umays ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q112128 Q182914 Q1111208
P7
Q502895
USER
Who have Husayn ibn Ali, Hasan ibn Ali and Zaynab bint Ali as their sibling ?
(Q112128,P7,c(Q502895)) (Q182914,P7,c(Q502895)) (Q1111208,P7,c(Q502895))
action union
action filter_type
action find
entity Q112128
relation P7
type Q502895
action filter_type
action find
entity Q182914
relation P7
type Q502895
action filter_type
action find
entity Q1111208
relation P7
type Q502895
['Q112128', 'P7', {'concept': 'Q502895'}] ['Q182914', 'P7', {'concept': 'Q502895'}] ['Q1111208', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?p ) { ( resource:Q182914 ) ( resource:Q112128 ) } . ?p property:P7 ?x }
Husayn ibn Ali Hasan ibn Ali Zaynab bint Ali
action union
action filter_type
action find
entity Husayn ibn Ali
relation brother
type common name
action filter_type
action find
entity Hasan ibn Ali
relation brother
type common name
action filter_type
action find
entity Zaynab bint Ali
relation brother
type common name
['Husayn ibn Ali', 'brother', {'concept': 'common name'}] ['Hasan ibn Ali', 'brother', {'concept': 'common name'}] ['Zaynab bint Ali', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?p ) { ( resource:Hasan_ibn_Ali ) ( resource:Husayn_ibn_Ali ) } . ?p property:brother ?x }
[]
common name
Q112128 Q112128 Q9458
SYSTEM
Muhammad for 3rd, Husayn ibn Ali for 1st, 2nd
Q293538 Q939884 Q182914 Q12264773 Q4165342 Q6121767 Q12265188 Q4666107 Q293538 Q939884 Q4165342 Q12264773 Q112128 Q6121767 Q12265188 Q4666107 Q293538 Q939884 Q182914 Q4165342 Q12264773 Q112128 Q6121767 Q12265188 Q9458 Q4666107
(Q112128,P7,c(Q502895)) (Q182914,P7,c(Q502895)) (Q1111208,P7,c(Q502895))
action union
action filter_type
action find
entity Q112128
relation P7
type Q502895
action filter_type
action find
entity Q182914
relation P7
type Q502895
action filter_type
action find
entity Q1111208
relation P7
type Q502895
[ANSWERS]
['Q112128', 'P7', {'concept': 'Q502895'}] ['Q182914', 'P7', {'concept': 'Q502895'}] ['Q1111208', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?p ) { ( resource:Q182914 ) ( resource:Q112128 ) } . ?p property:P7 ?x }
Al-Abbas ibn Ali Muhammad ibn al-Hanafiyyah Hasan ibn Ali Hilal ibn Ali Muhsin ibn Ali Jafar ibn Ali Uthman ibn Ali Abdullah ibn Ali Al-Abbas ibn Ali Muhammad ibn al-Hanafiyyah Muhsin ibn Ali Hilal ibn Ali Husayn ibn Ali Jafar ibn Ali Uthman ibn Ali Abdullah ibn Ali Al-Abbas ibn Ali Muhammad ibn al-Hanafiyyah Hasan ibn Ali Muhsin ibn Ali Hilal ibn Ali Husayn ibn Ali Jafar ibn Ali Uthman ibn Ali Muhammad Abdullah ibn Ali
Husayn ibn Ali, Husayn ibn Ali and Muhammad have Husayn ibn Ali, Hasan ibn Ali and Zaynab bint Ali as their sibling
Husayn ibn Ali Husayn ibn Ali Muhammad
action union
action filter_type
action find
entity Husayn ibn Ali
relation brother
type common name
action filter_type
action find
entity Hasan ibn Ali
relation brother
type common name
action filter_type
action find
entity Zaynab bint Ali
relation brother
type common name
['Husayn ibn Ali', 'brother', {'concept': 'common name'}] ['Hasan ibn Ali', 'brother', {'concept': 'common name'}] ['Zaynab bint Ali', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?p ) { ( resource:Hasan_ibn_Ali ) ( resource:Husayn_ibn_Ali ) } . ?p property:brother ?x }
[]