Question: What is the connection between Labyrinth (the one whose publication date is 2012) to Ridley Scott?
Choices:
broadcast by
followed by
home port
professorship
contains settlement
facet of
voice actor
sidekick of
producer
symptoms
Answer: producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Labyrinth" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 2012 . ?e_2 <pred:name> "Ridley Scott" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Labyrinth
function: FilterYear
dependencies: 0
inputs: publication date
2012
=
function: Find
inputs: Ridley Scott
function: QueryRelation
dependencies: 1
2