Question: How many film festivals are held in February, which has a series ordinal of 2?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
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> "February" . ?e_1 <series_ordinal> ?pv . ?pv <pred:value> "2" .   }
Program:
function: Find
inputs: February
function: FilterStr
dependencies: 0
inputs: series ordinal
2
function: Relate
dependencies: 1
inputs: month of the year
backward
function: FilterConcept
dependencies: 2
inputs: film festival
function: Count
dependencies: 3