Question: For how long has Cardinal Mazarin been the Bishop of Metz
Paraphrase: What was the duration Cardinal Mazarin served as Bishop of Metz?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q166056 p:P39 ?s . ?s ps:P39 wd:Q15729481 . ?s pq:P582 ?value}