Question: Where were released Gangs of New York (the one that has Leonardo DiCaprio as a cast member) in 2003-01-17?
Choices:
Sweden
South Korea
Brazil
Kazakhstan
Spain
Russia
El Capitan Theatre
Davao City
Greek Theatre, Los Angeles
Westwood
Program:
function: Find
inputs: Leonardo DiCaprio
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Gangs of New York
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
2003-01-17
place of publication
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Gangs of New York" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Leonardo DiCaprio" .  ?e <publication_date> ?pv . ?pv <pred:date> "2003-01-17"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Answer: Sweden