Question: How many video console models were either followed by the Nintendo Entertainment System or not published in 1987?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 5
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> "Nintendo Entertainment System" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1987 ) .  } }
Program:
function: Find
inputs: Nintendo Entertainment System
function: Relate
dependencies: 0
inputs: followed by
backward
function: FilterConcept
dependencies: 1
inputs: video game console model
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1987
!=
function: FilterConcept
dependencies: 4
inputs: video game console model
function: Or
dependencies: 2
5
function: Count
dependencies: 6