Question: What is the relationship between Star Wars Episode IV: A New Hope (the one whose director is George Lucas) and Spain?
Choices:
student
film release region
product or material produced
sex or gender
place of origin (Switzerland)
history of topic
narrative location
approved by
cause of death
contributor(s) to the creative work
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Star Wars Episode IV: A New Hope" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "George Lucas" . ?e_2 <pred:name> "Spain" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: George Lucas
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Star Wars Episode IV: A New Hope
function: And
dependencies: 1
2
function: Find
inputs: Spain
function: QueryRelation
dependencies: 3
4