Question: How many video game console models are followed by PlayStation 3 or that are produced by Nintendo?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game console model" .  { ?e <followed_by> ?e_1 . ?e_1 <pred:name> "PlayStation 3" .  } UNION { ?e <manufacturer> ?e_1 . ?e_1 <pred:name> "Nintendo" .  } }
Program:
function: Find
inputs: PlayStation 3
function: Relate
dependencies: 0
inputs: followed by
backward
function: FilterConcept
dependencies: 1
inputs: video game console model
function: Find
inputs: Nintendo
function: Relate
dependencies: 3
inputs: manufacturer
backward
function: FilterConcept
dependencies: 4
inputs: video game console model
function: Or
dependencies: 2
5
function: Count
dependencies: 6