Question: Which TV movie is composed by John Williams (the one that is the composer of Hook)?
Choices:
The Goodbye Girl
Indiana Jones and the Kingdom of the Crystal Skull
Splash
Jane Eyre
Shackleton
Jurassic Park
The Count of Monte Cristo
The Music Man
Sleepers
Indiana Jones and the Temple of Doom
Program:
function: Find
inputs: Hook
function: Relate
dependencies: 0
inputs: composer
forward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
backward
function: FilterConcept
dependencies: 4
inputs: television film
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" . ?e <composer> ?e_1 . ?e_1 <pred:name> "John Williams" . ?e_2 <composer> ?e_1 . ?e_2 <pred:name> "Hook" .   }
Answer: Jane Eyre