What is the {miniseries} for {characters} of {John Paul II}
The character of John Paul II is of which miniseries?
John Paul II is a character of which miniseries ?
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:miniseries . ?t property:characters resource:John_Paul_II }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P674> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q989> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1259759> } 
 select distinct ?sbj where { ?sbj wdt:P674 wd:Q989 . ?sbj wdt:P31 wd:Q1259759 } 
Karol: The Pope, The Man