Question: How many visual artworks were published later than the year 1998 or on 1982-04-23?
Choices:
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
Answer: 1282
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1998 ) .  } UNION { ?e <publication_date> ?pv . ?pv <pred:date> "1982-04-23"^^xsd:date .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1998
>
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterDate
dependencies: 3
inputs: publication date
1982-04-23
=
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: Or
dependencies: 2
5
function: Count
dependencies: 6