Question: What is the relationship between Hamlet (the one that was nominated for Golden Globe Award for Best Foreign Language Film) to Hamlet (the one whose title is The Tragedy of Hamlet, Prince of Denmark)?
Choices:
draft pick from school
operating system
replaces
place of death
conferred by
worshipped by
based on
filmography
feast day
domain of saint or deity
Program:
function: Find
inputs: Golden Globe Award for Best Foreign Language Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Hamlet
function: And
dependencies: 1
2
function: Find
inputs: Hamlet
function: FilterStr
dependencies: 4
inputs: title
The Tragedy of Hamlet, Prince of Denmark
function: QueryRelation
dependencies: 3
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hamlet" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Golden Globe Award for Best Foreign Language Film" . ?e_2 <pred:name> "Hamlet" . ?e_2 <title> ?pv . ?pv <pred:value> "The Tragedy of Hamlet, Prince of Denmark" . ?e_1 ?p ?e_2 .  }
Answer: based on