SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/cities> <http://dbpedia.org/resource/Rostock> . ?uri <http://dbpedia.org/ontology/location> <http://dbpedia.org/resource/Europe> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Sea>}
Name the sea located near Europe and has a nearby city as Rostock ?
SELECT DISTINCT ?i WHERE { ?i property:cities resource:Rostock . ?i rdf:type ontology:Sea . ?i property:location resource:Europe }
Baltic Sea
[Baltic Sea] is the sea with city Rostock and located in Europe.
The [Baltic Sea] is a sea with Osaka and is located in Europe.