Question: What connection is there between the film Back to the Future (that has Billy Zane as a cast member) and Michael J. Fox?
Choices: Wikidata property
has parts of the class
parent organization
location of formation
ancestral home
health specialty
original film format
family name
cast member
practiced by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Back to the Future" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Billy Zane" . ?e_2 <pred:name> "Michael J. Fox" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Billy Zane
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Back to the Future
function: And
dependencies: 1
2
function: Find
inputs: Michael J. Fox
function: QueryRelation
dependencies: 3
4
Answer: cast member