Question: What is the connection between Hamlet (the one that was nominated for Academy Award for Best Picture) to Hamlet (the one that is cited by Star Trek Ⅵ: The Undiscovered Country)?
Choices:
distribution
based on
student
different from
territory overlaps
kit supplier
public holiday
next lower rank
performer
writing system
Program:
function: Find
inputs: Academy Award for Best Picture
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Hamlet
function: And
dependencies: 1
2
function: Find
inputs: Star Trek Ⅵ: The Undiscovered Country
function: Relate
dependencies: 4
inputs: cites
forward
function: Find
inputs: Hamlet
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hamlet" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Picture" . ?e_2 <pred:name> "Hamlet" . ?e_4 <cites> ?e_2 . ?e_4 <pred:name> "Star Trek Ⅵ: The Undiscovered Country" . ?e_1 ?p ?e_2 .  }
Answer: based on