What is the {television film} for {characters} of {John Paul II}
Which Television film depends on pope John Paul II ?
Which Television film is based on pope John Paul II ?
SELECT DISTINCT ?s WHERE { ?s property:characters resource:John_Paul_II . ?s rdf:type ontology:television_film }
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/Q506240> } 
 select distinct ?sbj where { ?sbj wdt:P674 wd:Q989 . ?sbj wdt:P31 wd:Q506240 } 
Karol: A Man Who Became Pope Karol: The Pope, The Man