Question: Which rock band sets up in Guildford (the one that use English as the official language)?
Choices:
Journey
Kings of Leon
Marilyn Manson
New Order
Queen
Camel
Tom Petty and the Heartbreakers
Gong
Kiss
King Crimson
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: official language
backward
function: Find
inputs: Guildford
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: location of formation
backward
function: FilterConcept
dependencies: 4
inputs: rock band
function: What
dependencies: 5
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 <official_language> ?e_2 . ?e_2 <pred:name> "English" .   }
Answer: Camel