Question: How many film festival editions are either from the Dominican Republic or don't take place in 2011?
Choices: 11
12
13
14
15
16
17
18
19
20
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival edition" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Dominican Republic" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2011 ) .  } }
Program:
function: Find
inputs: Dominican Republic
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: film festival edition
function: FindAll
function: FilterYear
dependencies: 3
inputs: point in time
2011
!=
function: FilterConcept
dependencies: 4
inputs: film festival edition
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 15