Question: What is the connection between Star Wars Episode V: The Empire Strikes Back (the one that has John Ratzenberger as a cast member) to Julian Glover?
Choices:
next lower rank
killed by
territory overlaps
currency
month of the year
works in collection
dissertation submitted to
cast member
derivative work
official symbol
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Star Wars Episode V: The Empire Strikes Back" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "John Ratzenberger" . ?e_2 <pred:name> "Julian Glover" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Ratzenberger
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Star Wars Episode V: The Empire Strikes Back
function: And
dependencies: 1
2
function: Find
inputs: Julian Glover
function: QueryRelation
dependencies: 3
4