Question: What prefecture in Japan is the headquarter location of the baseball team with the Twitter username of DragonsOfficial?
Choices:
Miyagi Prefecture
Fukushima Prefecture
Nagano Prefecture
Fukuoka Prefecture
Kanagawa Prefecture
Ōsaka Prefecture
Aichi Prefecture
Gifu Prefecture
Kagoshima Prefecture
Niigata Prefecture
Answer: Aichi Prefecture
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "baseball team" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "DragonsOfficial" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
DragonsOfficial
function: FilterConcept
dependencies: 1
inputs: baseball team
function: Relate
dependencies: 2
inputs: headquarters location
forward
function: FilterConcept
dependencies: 3
inputs: prefecture of Japan
function: What
dependencies: 4