Question: Where is the film published, for the publication date 2009-06-23, for the film that derives from Transformers: Revenge of the Fallen (the one that is released for PlayStation 2)?
Choices:
North America
Hungary
Norway
Germany
Canada
Grauman's Chinese Theatre
Japan
Bolivia
Italy
Westwood
Answer: Hungary
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "Transformers: Revenge of the Fallen" . ?e_1 <platform> ?e_2 . ?e_2 <pred:name> "PlayStation 2" .  ?e <publication_date> ?pv . ?pv <pred:date> "2009-06-23"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: PlayStation 2
function: Relate
dependencies: 0
inputs: platform
backward
function: Find
inputs: Transformers: Revenge of the Fallen
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttrQualifier
dependencies: 5
inputs: publication date
2009-06-23
place of publication