Question: What is the relationship between Around the World in 80 Days (the one that has Will Forte as a cast member) and Richard Branson?
Choices:
art director
languages spoken, written or signed
home world
sexual orientation
office contested
spouse
official religion
cast member
instrument
league
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> "Will Forte" . ?e_2 <pred:name> "Richard Branson" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Will Forte
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: Richard Branson
function: QueryRelation
dependencies: 3
4