What is {moveable object location} of {Siege of Jerusalem}, that has {legal name} is {القدس} ?
What mobile protest found in Attack of Jerusalem has the lawful title القدس?
What movable object located in Siege of Jerusalem has the legal name القدس?
SELECT ?t WHERE { resource:Siege_of_Jerusalem_(1099) property:location ?t . ?t property:official_name ?s . FILTER ( CONTAINS ( ?s , 'القدس' ) ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q456993> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P276>. ?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/P1448> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <القدس> . }
SELECT ?answer WHERE { wd:Q456993 wdt:P276 ?answer . ?answer wdt:P1448 ?x FILTER(contains(?x , 'القدس'))}