What is the {fictional building} for {present in work} of {Harry Potter}
[]
What is the main building "Harry Potter" is set in?
SELECT DISTINCT ?o WHERE { ?o property:present_in_work resource:Harry_Potter . ?o rdf:type ontology:fictional_building }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1441> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8337> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q15720793> } 
 select distinct ?sbj where { ?sbj wdt:P1441 wd:Q8337 . ?sbj wdt:P31 wd:Q15720793 } 
Shell Cottage Malfoy Manor