What is the {house} for {commissioned by} of {James Watt}
Which is the house commissioned by James Watt?
Which is the house commissioned by James Watt?
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:house . ?o property:commissioned_by resource:James_Watt }
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/P88> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q9041> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3947> } 
 select distinct ?sbj where { ?sbj wdt:P88 wd:Q9041 . ?sbj wdt:P31 wd:Q3947 } 
Heathfield Hall