Question: How many art festivals are held in the month after March, also known as April?
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> "arts festival" . ?e <month_of_the_year> ?e_1 . ?e_1 <pred:name> "April" . ?e_2 <followed_by> ?e_1 . ?e_2 <pred:name> "March" .   }
Program:
function: Find
inputs: March
function: Relate
dependencies: 0
inputs: followed by
forward
function: Find
inputs: April
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: month of the year
backward
function: FilterConcept
dependencies: 4
inputs: arts festival
function: Count
dependencies: 5
Answer: 0