SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/routeEnd> <http://dbpedia.org/resource/Union_Station_(Washington,_D.C.)> . ?x <http://dbpedia.org/property/owner> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/RailwayLine>}
Who holds stock in the railway lines ending in Washington DC?
SELECT DISTINCT ?n WHERE { ?q rdf:type ontology:Railway_Line . ?q property:owner ?n . ?q property:route_end resource:Union_Station_(_Washington,_D._C.) }
Amtrak, Metro-North Railroad, Massachusetts, Connecticut Department of Transportation, Amtrak
The stockholder of the railway lines which end route is Washington DC are [Amtrak, Metro-North Railroad, Massachusetts, Connecticut Department of Transportation, Amtrak].
Stockholders on rail lines whose final stop is Washington, DC [Amtrak, Metro-North Railroad, Massachusetts, Connecticut Department of Transportation, Amtrak].