What is {location of work} of {Patrick Swayze}, that has {also known as} is {Welthauptstadt} ?
which location of work of Patrick Swayze known as Welthauptstadt?
Name the location of work of Patrick Swayze and is also knows as Welthauptstadt.
SELECT ?u WHERE { FILTER ( CONTAINS ( ?p , 'Welthauptstadt' ) ) . ?u property:nickname ?p . resource:Patrick_Swayze property:work_location ?u }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q49004> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P937>. ?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/P1449> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <Welthauptstadt> . }
SELECT ?answer WHERE { wd:Q49004 wdt:P937 ?answer . ?answer wdt:P1449 ?x FILTER(contains(?x , 'Welthauptstadt'))}