Question: How is The Hunchback of Notre Dame, published in 1996, related to The Hunchback of Notre Dame, distributed by Walt Disney Studios?
Choices:
candidacy in election
production company
edition or translation of
published in
contributing factor of
commander of
home world
religious order
head coach
country
Answer: published in
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Hunchback of Notre Dame" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1996 . ?e_2 <pred:name> "The Hunchback of Notre Dame" . ?e_2 <distributor> ?e_3 . ?e_3 <pred:name> "Walt Disney Studios Motion Pictures" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Hunchback of Notre Dame
function: FilterYear
dependencies: 0
inputs: publication date
1996
=
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 2
inputs: distributor
backward
function: Find
inputs: The Hunchback of Notre Dame
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5