Question: What are the number of video games with publication date in 1987 or before 2002 ?
Choices:
63
64
65
66
67
68
69
70
71
72
Answer: 65
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" .  { ?e <publication_date> ?pv . ?pv <pred:year> 1987 .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2002 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1987
=
function: FilterConcept
dependencies: 1
inputs: video game
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2002
<
function: FilterConcept
dependencies: 4
inputs: video game
function: Or
dependencies: 2
5
function: Count
dependencies: 6