Question: Which human is a cast member of both Alien: Resurrection (playing the character role of Ron Johner) and Chuck (which mainly depicts boxing)?
Choices:
Ron Perlman
Paul Simon
Simon Cowell
David Byrne
William Henry Harrison
Sylvester Stallone
James E. Reilly
Max Fleischer
Richard Gere
Rahul Dev Burman
Program:
function: Find
inputs: Alien: Resurrection
function: Relate
dependencies: 0
inputs: cast member
forward
function: QFilterStr
dependencies: 1
inputs: character role
Ron Johner
function: FilterConcept
dependencies: 2
inputs: human
function: Find
inputs: boxing
function: Relate
dependencies: 4
inputs: main subject
backward
function: Find
inputs: Chuck
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: cast member
forward
function: FilterConcept
dependencies: 8
inputs: human
function: And
dependencies: 3
9
function: What
dependencies: 10
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Alien: Resurrection" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Ron Johner" . ?e_2 <cast_member> ?e . ?e_2 <pred:name> "Chuck" . ?e_2 <main_subject> ?e_3 . ?e_3 <pred:name> "boxing" .  }
Answer: Ron Perlman