Question: How is Beloved whose director of photography is Tak Fujimoto related to Beloved that received a Pulitzer Prize for Fiction?
Choices:
permanent resident of
based on
participant
history of topic
studied by
industry
significant event
has parts of the class
present in work
official language
Answer: based on
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Beloved" . ?e_1 <director_of_photography> ?e_3 . ?e_3 <pred:name> "Tak Fujimoto" . ?e_2 <pred:name> "Beloved" . ?e_2 <award_received> ?e_4 . ?e_4 <pred:name> "Pulitzer Prize for Fiction" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tak Fujimoto
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: Beloved
function: And
dependencies: 1
2
function: Find
inputs: Pulitzer Prize for Fiction
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: Beloved
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7