Question: What activity was deriver from Harry Potter and the Philosopher's Stone (where Daniel Radcliffe was cast) ?
Choices:
Battleship
Guitar Hero 5
Eragon
Harry Potter and the Half-Blood Prince
Batman
Shrek 2
Harry Potter and the Philosopher's Stone
music video game
Harry Potter and the Order of the Phoenix
Indiana Jones and the Temple of Doom
Program:
function: Find
inputs: Daniel Radcliffe
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Harry Potter and the Philosopher's Stone
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: activity
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Harry Potter and the Philosopher's Stone" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Daniel Radcliffe" .   }
Answer: Harry Potter and the Philosopher's Stone