Question: How many video games are the opposite of The Last Airbender (that is released for Wii) or are the genre third-person shooter?
Choices:
8
9
10
11
12
13
14
15
16
17
Answer: 13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" .  { ?e_1 <opposite_of> ?e . ?e_1 <pred:name> "The Last Airbender" . ?e_1 <platform> ?e_2 . ?e_2 <pred:name> "Wii" .  } UNION { ?e <genre> ?e_1 . ?e_1 <pred:name> "third-person shooter" .  } }
Program:
function: Find
inputs: Wii
function: Relate
dependencies: 0
inputs: platform
backward
function: Find
inputs: The Last Airbender
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: opposite of
forward
function: FilterConcept
dependencies: 4
inputs: video game
function: Find
inputs: third-person shooter
function: Relate
dependencies: 6
inputs: genre
backward
function: FilterConcept
dependencies: 7
inputs: video game
function: Or
dependencies: 5
8
function: Count
dependencies: 9