Question: How many feature films have a publication date before 2011 or a publication date after 2007?
Choices: 59
60
61
62
63
64
65
66
67
68
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2011 ) .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2007 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2011
<
function: FilterConcept
dependencies: 1
inputs: feature film
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2007
>
function: FilterConcept
dependencies: 4
inputs: feature film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 61