Question: When was San Francisco (the one whose production company is Metro-Goldwyn-Mayer) nominated for Academy Award for Best Picture ?
Choices:
1766
2005
1980-12-31
2017
1982-01-01
2003-06-01
2014-04-10
1937-05-23
1936-01-01
2003-11-01
Answer: 1936-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "San Francisco" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Metro-Goldwyn-Mayer" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: San Francisco
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
point in time