Question: Which human is the director of Batman & Robin (which has Arnold Schwarzenegger as a cast member)?
Choices:
Joel Schumacher
Faye Dunaway
William Henry Harrison
Richard Gere
Oscar Wilde
David Byrne
Martin Scorsese
Sylvester Stallone
Taj Mahal
Rahul Dev Burman
Program:
function: Find
inputs: Arnold Schwarzenegger
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Batman & Robin
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director> ?e . ?e_1 <pred:name> "Batman & Robin" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Arnold Schwarzenegger" .   }
Answer: Joel Schumacher