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/Kaliningrad> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Sea>}
Which sea is surrounded by Rostock and Kaliningrad?
SELECT DISTINCT ?n WHERE { ?n property:cities resource:Rostock . ?n rdf:type ontology:Sea . ?n property:cities resource:Kaliningrad }
Baltic Sea
The sea surrounded by Rostock and Laliningrad is [Baltic Sea].
[Baltic Sea] is surrounded by the Baltic Sea and Kaliningrad.
[Baltic Sea] is the sea whose citiess are Rostock and Kaliningrad.
[The Baltic Sea] is a sea of which is surrounded by the two cities.