SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/education> <http://dbpedia.org/resource/Saint_Petersburg> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Writer>}
List few authors whose education took place in Saint Petersburg ?
SELECT DISTINCT ?x WHERE { ?x property:education resource:Saint_Petersburg . ?x rdf:type ontology:Writer }
Fyodor Dostoyevsky
The writer whose education was in Saint Petersburg is [Fyodor Dostoyevsky].
The writer, who was educated in St. Petersburg, [Fedor Dostoyevsky].