Question: what is the number of art festivals that have a frequency bigger than 0.9 years or that have an official website of https://www.sundance.org/festivals/sundance-film-festival
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_website> ?pv . ?pv <pred:value> "https://www.sundance.org/festivals/sundance-film-festival" .  } }
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 website
https://www.sundance.org/festivals/sundance-film-festival
function: FilterConcept
dependencies: 4
inputs: arts festival
function: Or
dependencies: 2
5
function: Count
dependencies: 6