SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/majorShrine> <http://dbpedia.org/resource/Tomb_of_Joshua> . ?uri <http://dbpedia.org/ontology/veneratedIn> <http://dbpedia.org/resource/Islam> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Saint>}
List the saints venerated in Islam having major shrine as Tomb of Joshua ?
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Saint . ?g property:venerated_in resource:Islam . ?g property:major_shrine resource:Tomb_of_Joshua }
Joshua
The saint whose major shrine is Tomb of Joshua and was venerated in Islam is [Joshua].
Saint, whose most important shrine is Joshua's tomb and which is worshipped in Islam, is [Joshua].