Question: What is the connection between Gladiator (the one whose genre is teen film) to Columbia Pictures?
Choices:
official residence
country of citizenship
depicted by
office held by head of government
distributor
country for sport
basin country
voice actor
ethnic group
located on terrain feature
Program:
function: Find
inputs: teen film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Gladiator
function: And
dependencies: 1
2
function: Find
inputs: Columbia Pictures
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gladiator" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "teen film" . ?e_2 <pred:name> "Columbia Pictures" . ?e_1 ?p ?e_2 .  }
Answer: distributor