what is the {of} for {Besançon} has {instance of} as {capital} ?
What is the capital of Besancon?
SELECT ?value WHERE { wd:Q37776 p:P31 ?s . ?s ps:P31 wd:Q5119 . ?s pq:P642 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q37776> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q5119> .
?statement <http://www.wikidata.org/entity/P642> ?value. 
} 

Name the capital of Besancon.