Question: Where was an animated film, based on The Polar Express (the one whose ISBN-10 is 0-395-38949-6), published on 18th November 2004 ?
Choices:
Kingdom of the Netherlands
Australia
Davao City
Chicago
Iceland
Northern America
Telluride Film Festival
Cannes Film Festival
German Democratic Republic
Netherlands
Answer: Australia
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "The Polar Express" . ?e_1 <ISBN-10> ?pv_1 . ?pv_1 <pred:value> "0-395-38949-6" . ?e <publication_date> ?pv . ?pv <pred:date> "2004-11-18"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: The Polar Express
function: FilterStr
dependencies: 0
inputs: ISBN-10
0-395-38949-6
function: Relate
dependencies: 1
inputs: based on
backward
function: FilterConcept
dependencies: 2
inputs: animated film
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
2004-11-18
place of publication