What is {tenant} of {Windsor Castle}, that has {employment} is {postage stamp designer} ?
"Who is inhabitant of Windsor Castle , that has work as postage stamp planner ?"
"Who is {tenant} of {Windsor Castle}, that has {employment} as {postage stamp designer} ?"
SELECT ?k WHERE { resource:Windsor_Castle property:occupant ?k . ?k property:occupation resource:postage_stamp_designer }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42646> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P466>. ?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/P106> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2000124> . }
SELECT ?answer WHERE { wd:Q42646 wdt:P466 ?answer . ?answer wdt:P106 wd:Q2000124}
George V