Question: What is the Twitter username of the basketball team whose official website is http://www.nba.com/magic/?tmd=1?
Choices:
Huuhkajat
OrlandoMagic
DunfermlineAFC
Walmart
David_Suchet
rushtheband
octaviaspencer
rickygervais
kchenoweth
cityofhayward
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.nba.com/magic/?tmd=1
function: FilterConcept
dependencies: 1
inputs: basketball team
function: QueryAttr
dependencies: 2
inputs: Twitter username
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.nba.com/magic/?tmd=1" . ?e <Twitter_username> ?pv .  }
Answer: OrlandoMagic