Question: What activity, published by THQ, has the Nintendo GameID SLAZ78?
Choices:
Battleship
Finding Nemo
Harry Potter and the Half-Blood Prince
Cars
Up
music video game
The Last Airbender
Puss in Boots
Ratatouille
Guitar Hero 5
Program:
function: Find
inputs: THQ
function: Relate
dependencies: 0
inputs: publisher
backward
function: FilterConcept
dependencies: 1
inputs: activity
function: FindAll
function: FilterStr
dependencies: 3
inputs: Nintendo GameID
SLAZ78
function: FilterConcept
dependencies: 4
inputs: activity
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e <publisher> ?e_1 . ?e_1 <pred:name> "THQ" .  ?e <Nintendo_GameID> ?pv . ?pv <pred:value> "SLAZ78" .  }
Answer: The Last Airbender