Question: What is the relation between South Pacific (the one whose publication date is 1958-01-01) to the Academy Award for Best Original Musical Score?
Choices:
legal form
spouse
academic degree
nominated for
has edition
commissioned by
director of photography
sports season of league or competition
uses
significant person
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "South Pacific" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1958-01-01"^^xsd:date . ?e_2 <pred:name> "Academy Award for Best Original Musical Score" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: South Pacific
function: FilterDate
dependencies: 0
inputs: publication date
1958-01-01
=
function: Find
inputs: Academy Award for Best Original Musical Score
function: QueryRelation
dependencies: 1
2