Question: Where was Red Dragon (the one that has Philip Seymour Hoffman as a cast member) published on 25th October 2002 ?
Choices:
Portal:Belgium
Latvia
Germany
Hong Kong
Kazakhstan
Mexico
Denmark
Singapore
Stockholm
Switzerland
Answer: Denmark
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Red Dragon" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Philip Seymour Hoffman" .  ?e <publication_date> ?pv . ?pv <pred:date> "2002-10-25"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Philip Seymour Hoffman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Red Dragon
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
2002-10-25
place of publication