Question: How many calendar months are followed by September (which is a common property of video game) or have the series ordinal 10?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "calendar month" .  { ?e <followed_by> ?e_1 . ?e_1 <pred:name> "September" . ?e_2 <properties_for_this_type> ?e_1 . ?e_2 <pred:name> "video game" .  } UNION { ?e <series_ordinal> ?pv . ?pv <pred:value> "10" .  } }
Program:
function: Find
inputs: video game
function: Relate
dependencies: 0
inputs: properties for this type
forward
function: Find
inputs: September
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: followed by
backward
function: FilterConcept
dependencies: 4
inputs: calendar month
function: FindAll
function: FilterStr
dependencies: 6
inputs: series ordinal
10
function: FilterConcept
dependencies: 7
inputs: calendar month
function: Or
dependencies: 5
8
function: Count
dependencies: 9