SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/routeJunction> <http://dbpedia.org/resource/Kensington,_Maryland> . ?x <http://dbpedia.org/ontology/state> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Road>}
Through which states does the road go, which has a junction on Keningston Maryland?
SELECT DISTINCT ?a WHERE { ?i rdf:type ontology:Road . ?i property:route_junction resource:Kensington,_Maryland . ?i property:state ?a }
Maryland
The state of the road with a junction on Kensington, Maryland is [Maryland].
States through which the road with a junction on Kensington, Maryland go is  [Maryland].