Question: How many works were published before or after 2008, and are derived from Terminator Salvation, released in Germany?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2008 ) . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Terminator Salvation" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> "Germany" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2008
!=
function: FilterConcept
dependencies: 1
inputs: activity
function: Find
inputs: Germany
function: Relate
dependencies: 3
inputs: film release region
backward
function: Find
inputs: Terminator Salvation
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: derivative work
forward
function: FilterConcept
dependencies: 7
inputs: activity
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2