What is the {written work} for {based on} of {Die Hard}
Which book is Kick the bucket Difficult based on?
Which book is Die Hard based on?
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:written_work . resource:Die_Hard property:based_on ?w }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q105598> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P144> . ?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/Q47461344> } 
 select distinct ?obj where { wd:Q105598 wdt:P144 ?obj . ?obj wdt:P31 wd:Q47461344 } 
Nothing Lasts Forever