Question: What 3D movie contains a cast member whose Reddit username is IamNPH ?
Choices:
Cars
Joan of Arc
The Muppets
Frankenweenie
Piranha 3D
Avatar
The Proposition
Starship Troopers
The Smurfs
ParaNorman
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Reddit username
IamNPH
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: cast member
backward
function: FilterConcept
dependencies: 3
inputs: 3D film
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "3D film" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <Reddit_username> ?pv . ?pv <pred:value> "IamNPH" .   }
Answer: The Smurfs