Question: Where was an animated feature film with a character called Hercules (the one that lives in Greece) (the series ordinal of this statement is 1) published on 15th June 1997 ?
Choices:
Seattle International Film Festival
New Amsterdam Theatre
Netherlands
Rättvik
Washington, D.C.
2003 Cannes Film Festival
Chile
Bolivia
2008 Toronto International Film Festival
Chicago
Answer: New Amsterdam Theatre
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <characters> ?e_1 . ?e_1 <pred:name> "Hercules" . ?e_1 <residence> ?e_2 . ?e_2 <pred:name> "Greece" . [ <pred:fact_h> ?e ; <pred:fact_r> <characters> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv_1 . ?qpv_1 <pred:value> "1" . ?e <publication_date> ?pv . ?pv <pred:date> "1997-06-15"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Greece
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: characters
backward
function: QFilterStr
dependencies: 4
inputs: series ordinal
1
function: FilterConcept
dependencies: 5
inputs: animated feature film
function: QueryAttrQualifier
dependencies: 6
inputs: publication date
1997-06-15
place of publication