Question: What is the connection between Carrie (the one whose distributor is Sony Pictures) to teen film?
Choices:
genre
geography of topic
candidacy in election
depicted by
based on
chairperson
edition or translation of
partially contains
captain
named after
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carrie" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Sony Pictures" . ?e_2 <pred:name> "teen film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sony Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Carrie
function: And
dependencies: 1
2
function: Find
inputs: teen film
function: QueryRelation
dependencies: 3
4