Question: How many action games are the genre of Terminator Salvation (whose distributor is Warner Bros. Interactive Entertainment) or have the OLAC video game genre vocabulary ID 1017?
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_1 <genre> ?e . ?e_1 <pred:name> "Terminator Salvation" . ?e_1 <distributor> ?e_2 . ?e_2 <pred:name> "Warner Bros. Interactive Entertainment" .  } UNION { ?e <OLAC_video_game_genre_vocabulary> ?pv . ?pv <pred:value> "1017" .  } }
Program:
function: Find
inputs: Warner Bros. Interactive Entertainment
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Terminator Salvation
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: action game
function: FindAll
function: FilterStr
dependencies: 6
inputs: OLAC video game genre vocabulary
1017
function: FilterConcept
dependencies: 7
inputs: action game
function: Or
dependencies: 5
8
function: Count
dependencies: 9