Question: Which rock band has a subscription number of 17496 under the Twitter username damnedtwits and is set up in London (the residence of Imelda Staunton)?
Choices:
Journey
Jethro Tull
Marilyn Manson
Spın̈al Tap
Gong
The Damned
New Order
Camel
Kings of Leon
Queen
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
damnedtwits
function: QFilterNum
dependencies: 1
inputs: number of subscribers
17496
=
function: FilterConcept
dependencies: 2
inputs: rock band
function: Find
inputs: Imelda Staunton
function: Relate
dependencies: 4
inputs: residence
forward
function: Find
inputs: London
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: location of formation
backward
function: FilterConcept
dependencies: 8
inputs: rock band
function: And
dependencies: 3
9
function: What
dependencies: 10
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock band" . ?e <Twitter_username> ?pv . ?pv <pred:value> "damnedtwits" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "17496"^^xsd:double . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "London" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> "Imelda Staunton" .  }
Answer: The Damned