Question: Which month of the calendar precedes May, which precedes June?
Choices:
September
November
May
February
December
June
August
October
April
January
Program:
function: Find
inputs: June
function: Relate
dependencies: 0
inputs: followed by
backward
function: Find
inputs: May
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: follows
forward
function: FilterConcept
dependencies: 4
inputs: calendar month
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "calendar month" . ?e_1 <follows> ?e . ?e_1 <pred:name> "May" . ?e_1 <followed_by> ?e_2 . ?e_2 <pred:name> "June" .   }
Answer: April