Question: How many action games, whose OLAC video game genre vocabulary ID is 1055, or whose genre is the one of Alien vs. Predator (published 20th May 1994), do we know?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "action game" .  { ?e <OLAC_video_game_genre_vocabulary> ?pv . ?pv <pred:value> "1055" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "Alien vs. Predator" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1994-05-20"^^xsd:date .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OLAC video game genre vocabulary
1055
function: FilterConcept
dependencies: 1
inputs: action game
function: Find
inputs: Alien vs. Predator
function: FilterDate
dependencies: 3
inputs: publication date
1994-05-20
=
function: Relate
dependencies: 4
inputs: genre
forward
function: FilterConcept
dependencies: 5
inputs: action game
function: Or
dependencies: 2
6
function: Count
dependencies: 7