Question: What is the connection between Beauty and the Beast (the one whose distributor is United Artists) to United Artists?
Choices:
set in period
head of government
distributor
home world
subsidiary
item operated
office held by head of government
twinned administrative body
sports season of league or competition
indigenous to
Answer: distributor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Beauty and the Beast" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "United Artists" . ?e_2 <pred:name> "United Artists" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Artists
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Find
inputs: United Artists
function: QueryRelation
dependencies: 3
4