Question: What amount of action video games share the same genre as the Wii release of Where the Wild Things Are or the Nintendo version of Harry Potter and the Half-Blood Prince, which has a GameID of RH6P69?
Choices: 0
1
2
3
4
5
6
7
8
9
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> "Where the Wild Things Are" . ?e_1 <platform> ?e_2 . ?e_2 <pred:name> "Wii" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "Harry Potter and the Half-Blood Prince" . ?e_1 <Nintendo_GameID> ?pv . ?pv <pred:value> "RH6P69" .  } }
Program:
function: Find
inputs: Wii
function: Relate
dependencies: 0
inputs: platform
backward
function: Find
inputs: Where the Wild Things Are
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: action game
function: Find
inputs: Harry Potter and the Half-Blood Prince
function: FilterStr
dependencies: 6
inputs: Nintendo GameID
RH6P69
function: Relate
dependencies: 7
inputs: genre
forward
function: FilterConcept
dependencies: 8
inputs: action game
function: Or
dependencies: 5
9
function: Count
dependencies: 10
Answer: 2