Question: What is the connection between Star Wars Episode IV: A New Hope (the one whose genre is classical music) to United Kingdom?
Choices:
filmography
edition or translation of
country of origin
home world
history of topic
properties for this type
theme music
after a work by
characters
killed by
Program:
function: Find
inputs: classical music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Star Wars Episode IV: A New Hope
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Star Wars Episode IV: A New Hope" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "classical music" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country of origin