Question: What is the connection between Around the World in 80 Days (the one that has Eric Idle as a cast member) to Pierce Brosnan?
Choices:
part of
studied by
cast member
model item
office held by head of government
affiliation
opposite of
maintained by
filmography
legal form
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Around the World in 80 Days" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Eric Idle" . ?e_2 <pred:name> "Pierce Brosnan" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Eric Idle
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Around the World in 80 Days
function: And
dependencies: 1
2
function: Find
inputs: Pierce Brosnan
function: QueryRelation
dependencies: 3
4