Question: What is the number of film festivals taking place in New Mexico (that holds Sandoval County) or having a start date in the year 1932?
Choices: 0
1
2
3
4
5
6
7
8
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> "New Mexico" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Sandoval County" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> 1932 .  } }
Program:
function: Find
inputs: Sandoval County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: New Mexico
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
Answer: 1