Question: How many arts festival are affiliated with the website www.labiennale.org/en/cinema or are held other than 1.1 times per year?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "arts festival" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.labiennale.org/en/cinema/" .  } UNION { ?e <frequency_of_event> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v != "1.1"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.labiennale.org/en/cinema/
function: FilterConcept
dependencies: 1
inputs: arts festival
function: FindAll
function: FilterNum
dependencies: 3
inputs: frequency of event
1.1 year
!=
function: FilterConcept
dependencies: 4
inputs: arts festival
function: Or
dependencies: 2
5
function: Count
dependencies: 6