Question: From what written work is The Shining (the film that was released in Portugal) adapted?
Choices:
The Shining
Starship Troopers
Psycho
The Pianist
The Painted Veil
The Hours
Murder on the Orient Express
Live and Let Die
A Single Man
criminology
Program:
function: Find
inputs: Portugal
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Shining
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
backward
function: FilterConcept
dependencies: 4
inputs: written work
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "The Shining" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> "Portugal" .   }
Answer: The Shining