Question: Which rock band sets up in Guildford (the one whose OS grid reference is SU9949) ?
Choices:
Queen
Santana
New Order
The Smashing Pumpkins
Camel
Nick Cave and the Bad Seeds
Marilyn Manson
Journey
Deep Purple
Kings of Leon
Answer: Camel
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock band" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "Guildford" . ?e_1 <OS_grid_reference> ?pv . ?pv <pred:value> "SU9949" .   }
Program:
function: Find
inputs: Guildford
function: FilterStr
dependencies: 0
inputs: OS grid reference
SU9949
function: Relate
dependencies: 1
inputs: location of formation
backward
function: FilterConcept
dependencies: 2
inputs: rock band
function: What
dependencies: 3