Question: How many film festivals are held in May (that is followed by June) or have the ISNI 0000 0001 2097 4812?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: June
function: Relate
dependencies: 0
inputs: follows
forward
function: Find
inputs: May
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: month of the year
backward
function: FilterConcept
dependencies: 4
inputs: film festival
function: FindAll
function: FilterStr
dependencies: 6
inputs: ISNI
0000 0001 2097 4812
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 <month_of_the_year> ?e_1 . ?e_1 <pred:name> "May" . ?e_2 <follows> ?e_1 . ?e_2 <pred:name> "June" .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 2097 4812" .  } }
Answer: 2