Question: How many video game console models are followed by PlayStation3 or came after PlayStation 2 ?
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> "video game console model" .  { ?e_1 <followed_by> ?e . ?e_1 <pred:name> "PlayStation 2" .  } UNION { ?e_1 <follows> ?e . ?e_1 <pred:name> "PlayStation 3" .  } }
Program:
function: Find
inputs: PlayStation 2
function: Relate
dependencies: 0
inputs: followed by
forward
function: FilterConcept
dependencies: 1
inputs: video game console model
function: Find
inputs: PlayStation 3
function: Relate
dependencies: 3
inputs: follows
forward
function: FilterConcept
dependencies: 4
inputs: video game console model
function: Or
dependencies: 2
5
function: Count
dependencies: 6