Question: How many activities have the Universal Decimal Classification of 33 or are a game mode of Resident Evil (the one whose publication date is 2015-01-19)?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" .  { ?e <Universal_Decimal_Classification> ?pv . ?pv <pred:value> "33" .  } UNION { ?e_1 <game_mode> ?e . ?e_1 <pred:name> "Resident Evil" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2015-01-19"^^xsd:date .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Universal Decimal Classification
33
function: FilterConcept
dependencies: 1
inputs: activity
function: Find
inputs: Resident Evil
function: FilterDate
dependencies: 3
inputs: publication date
2015-01-19
=
function: Relate
dependencies: 4
inputs: game mode
forward
function: FilterConcept
dependencies: 5
inputs: activity
function: Or
dependencies: 2
6
function: Count
dependencies: 7