Question: How many arts festivals, wit the frequency of over 0.9 years, or, with Mostra Internazionale d'Arte Cinematografica della Biennale di Venezia  as their official name?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "arts festival" .  { ?e <frequency_of_event> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v > "0.9"^^xsd:double ) .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> "Mostra Internazionale d'Arte Cinematografica della Biennale di Venezia" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: frequency of event
0.9 year
>
function: FilterConcept
dependencies: 1
inputs: arts festival
function: FindAll
function: FilterStr
dependencies: 3
inputs: official name
Mostra Internazionale d'Arte Cinematografica della Biennale di Venezia
function: FilterConcept
dependencies: 4
inputs: arts festival
function: Or
dependencies: 2
5
function: Count
dependencies: 6