Question: What is the series ordinal of April (the one that follows March)?
Choices:
53
15
36
39
8
74
4
109
37
51
Answer: 4
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "April" . ?e <follows> ?e_1 . ?e_1 <pred:name> "March" .  ?e <series_ordinal> ?pv .  }
Program:
function: Find
inputs: March
function: Relate
dependencies: 0
inputs: follows
backward
function: Find
inputs: April
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: series ordinal