Question: Star Wars Episode V: The Empire Strikes Back, originating in the UK, has what connection with John Williams, a winner at the 55th Academy Awards?
Choices:
copyright representative
has effect
nominated for
member of sports team
performer
home world
subject has role
member of political party
used by
lowest point
Answer: performer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Star Wars Episode V: The Empire Strikes Back" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "John Williams" . ?e_2 <award_received> ?e_4 . ?e_4 <pred:name> "55th Academy Awards" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Star Wars Episode V: The Empire Strikes Back
function: And
dependencies: 1
2
function: Find
inputs: 55th Academy Awards
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: John Williams
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7