What is the {position} for {office held by head of government} of {Bilbao}
What is the position held by the head of Bilbao?
SELECT DISTINCT ?m WHERE { resource:Bilbao property:office_held_by_head_of_government ?m . ?m rdf:type ontology:position }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8692> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1313> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q4164871> } 
 select distinct ?obj where { wd:Q8692 wdt:P1313 ?obj . ?obj wdt:P31 wd:Q4164871 } 
mayor of Bilbao