What is {brother or sister} of {Khadijah bint Khuwaylid}, that has {marry} is {Safiyyah bint ‘Abd al-Muttalib} ?
"Who is {brother or sister} of {Khadijah bint Khuwaylid}, which has {wed} is {Safiyyah bint ‘Abd al-Muttalib} ?"
"Who is {brother or sister} of {Khadijah bint Khuwaylid}, which has {marry} is {Safiyyah bint ‘Abd al-Muttalib} ?"
SELECT ?m WHERE { resource:Khadija_bint_Khuwaylid property:sibling ?m . ?m property:spouse resource:Safiyyah_bint_‘Abd_al-Muttalib }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42034> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3373>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2740828> . }
SELECT ?answer WHERE { wd:Q42034 wdt:P3373 ?answer . ?answer wdt:P26 wd:Q2740828}
Awwam ibn Khuwaylid