SELECT DISTINCT ?uri WHERE { ?uri <http://dbpedia.org/property/cities> <http://dbpedia.org/resource/Rostock> . ?uri <http://dbpedia.org/property/cities> <http://dbpedia.org/resource/Oulu> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Sea>}
Rostock and Oulu is the shore cities on which sea ?
SELECT DISTINCT ?u WHERE { ?u property:cities resource:Oulu . ?u rdf:type ontology:Sea . ?u property:cities resource:Rostock }
Baltic Sea
[Baltic Sea] is the sea with Rostock and Oulu cities.
The [Baltic Sea] is a sea with the cities of Rostock and Oulu.