Question: What band with the Twitter username of TheDecemberists is set up in Portland (the one whose local dialing code is 971)?
Choices:
Coldplay
Phoenix
The Monkees
The Decemberists
The Pretenders
The Kinks
Jonas Brothers
Marillion
AFI
Renaissance
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
TheDecemberists
function: FilterConcept
dependencies: 1
inputs: band
function: Find
inputs: Portland
function: FilterStr
dependencies: 3
inputs: local dialing code
971
function: Relate
dependencies: 4
inputs: location of formation
backward
function: FilterConcept
dependencies: 5
inputs: band
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" . ?e <Twitter_username> ?pv . ?pv <pred:value> "TheDecemberists" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "Portland" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "971" .  }
Answer: The Decemberists