Question: What is the connection between Piranha 3D to Christopher Lloyd (the one that has the occupation of character actor)?
Choices:
award received
lyrics by
published in
publisher
academic degree
color
costume designer
cast member
political alignment
inspired by
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Piranha 3D" . ?e_2 <pred:name> "Christopher Lloyd" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "character actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Piranha 3D
function: Find
inputs: character actor
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Christopher Lloyd
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4