Question: How many action games fall within the genre of  A Bug's Life (the one whose distributor is Disney Interactive Studios) or report 1042 as the OLAC video game genre vocabulary ID ?
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> "A Bug's Life" . ?e_1 <distributor> ?e_2 . ?e_2 <pred:name> "Disney Interactive Studios" .  } UNION { ?e <OLAC_video_game_genre_vocabulary> ?pv . ?pv <pred:value> "1042" .  } }
Program:
function: Find
inputs: Disney Interactive Studios
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: A Bug's Life
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
1042
function: FilterConcept
dependencies: 7
inputs: action game
function: Or
dependencies: 5
8
function: Count
dependencies: 9