What is {official language} of {Vantaa} that is {object has role} is {minority language} ?
What is Vantaa's official language?
What is the official language of Vantaa?
SELECT ?y WHERE { ?f property:object_has_role resource:minority_language . ?f property:official_language ?y . resource:Vantaa property:official_language ?f }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q127623> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P37> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P3831> <http://wikidata.dbpedia.org/resource/Q61566>
} 

SELECT ?obj WHERE { wd:Q127623 p:P37 ?s . ?s ps:P37 ?obj . ?s pq:P3831 wd:Q61566 }