Question: What work is published in Germany post-1981 and derived from Footloose (from Spyglass Entertainment)?
Choices: Rebecca
Footloose
Lars and the Real Girl
Chocolat
The Fifth Element
Training Day
Pleasantville
The Towering Inferno
A Prairie Home Companion
Talk to Her
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1981 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Germany" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "Footloose" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> "Spyglass Entertainment" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1981
>
function: QFilterStr
dependencies: 1
inputs: place of publication
Germany
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: Find
inputs: Spyglass Entertainment
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: Footloose
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: based on
forward
function: FilterConcept
dependencies: 8
inputs: visual artwork
function: And
dependencies: 3
9
function: What
dependencies: 10
Answer: Footloose