Question: How many film festivals are the regional debut venue or have the frequency that is not 1.1 year?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival" .  { ?e_1 <film_regional_debut_venue> ?e . ?e_1 <pred:name> "Inside Deep Throat" .  } UNION { ?e <frequency_of_event> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v != "1.1"^^xsd:double ) .  } }
Program:
function: Find
inputs: Inside Deep Throat
function: Relate
dependencies: 0
inputs: film regional debut venue
forward
function: FilterConcept
dependencies: 1
inputs: film festival
function: FindAll
function: FilterNum
dependencies: 3
inputs: frequency of event
1.1 year
!=
function: FilterConcept
dependencies: 4
inputs: film festival
function: Or
dependencies: 2
5
function: Count
dependencies: 6