Question: Is Brian Cox (the one that is a cast member of Rise of the Planet of the Apes) from Coriolanus (the one that origins from United Kingdom)?
Choices: official residence
seed team
location of formation
given name
language used
office held by head of government
has parts of the class
cast member
honorific prefix
part of the series
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Coriolanus" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "Brian Cox" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "Rise of the Planet of the Apes" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Coriolanus
function: And
dependencies: 1
2
function: Find
inputs: Rise of the Planet of the Apes
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Brian Cox
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: cast member