Question: How is the 20th Century Fox-distributed Alien connected to Ridley Scott?
Choices: commander of
director
organizer
shares border with
different from
architect
officially opened by
eye color
color
owner of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alien" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "20th Century Fox" . ?e_2 <pred:name> "Ridley Scott" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Alien
function: And
dependencies: 1
2
function: Find
inputs: Ridley Scott
function: QueryRelation
dependencies: 3
4
Answer: director