Question: How is Star Wars Episode V: The Empire Strikes Back, with Julian Glover as a cast member, linked to Lucasfilm?
Choices:
ancestral home
commander of
religion
production company
permanent resident of
penalty
soundtrack album
performer
relative
named after
Program:
function: Find
inputs: Julian Glover
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: Lucasfilm
function: QueryRelation
dependencies: 3
4
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> "Julian Glover" . ?e_2 <pred:name> "Lucasfilm" . ?e_1 ?p ?e_2 .  }
Answer: production company