What is the {railway} for {owned by} of {Milwaukee}
What is the Milwaukee railway for?
What is the Milwaukee railway for?
SELECT DISTINCT ?e WHERE { ?e property:owned_by resource:Milwaukee . ?e rdf:type ontology:railway }
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/P127> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q37836> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q22667> } 
 select distinct ?sbj where { ?sbj wdt:P127 wd:Q37836 . ?sbj wdt:P31 wd:Q22667 } 