Question: How many film festivals were established in a year besides 1932 or take place in the Utah which includes Utah County?
Choices:
4
5
6
7
8
9
10
11
12
13
Program:
function: Find
inputs: Utah County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Utah
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: film festival
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1932
!=
function: FilterConcept
dependencies: 7
inputs: film festival
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Utah" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Utah County" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1932 ) .  } }
Answer: 4