Question: What is the relation from Beauty and the beast, the one with actor Mark Damon, to United Artists?
Choices:
participant
distributor
narrative location
does not have part
office contested
color
ancestral home
film release region
tributary
record label
Answer: distributor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Beauty and the Beast" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Mark Damon" . ?e_2 <pred:name> "United Artists" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Mark Damon
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Find
inputs: United Artists
function: QueryRelation
dependencies: 3
4