SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/cities> <http://dbpedia.org/resource/Helsinki> . ?uri <http://dbpedia.org/property/outflow> <http://dbpedia.org/resource/Danish_straits> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Sea>}
Name the sea with Helsinki as one of the shore city and is also an outflow for Danish straits?
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Sea . ?u property:cities resource:Helsinki . ?u property:outflow resource:Danish_straits }
Baltic Sea
[Baltic Sea] is the sea whose shore city is Helsinki and outflow is Danish straits.
The [Baltic Sea] is a sea with Heleni as its coastal city and the Danish Strait as its outlet.