Question: How many entertainment types either have the Nintendo GameID of RGHP52 or have Sonic the Hedgehog (the one whose publication date is 1991-07-26)?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" .  { ?e <Nintendo_GameID> ?pv . ?pv <pred:value> "RGHP52" .  } UNION { ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> "Sonic the Hedgehog" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1991-07-26"^^xsd:date .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Nintendo GameID
RGHP52
function: FilterConcept
dependencies: 1
inputs: entertainment
function: Find
inputs: Sonic the Hedgehog
function: FilterDate
dependencies: 3
inputs: publication date
1991-07-26
=
function: Relate
dependencies: 4
inputs: part of the series
forward
function: FilterConcept
dependencies: 5
inputs: entertainment
function: Or
dependencies: 2
6
function: Count
dependencies: 7