Question: Which Corporate Number (Japan) corresponds to the baseball team headquartered in Hiroshima, an administrative division of Hiroshima Prefecture?
Choices:
7000020070009
3010001008708
5010501016209
3240001009427
6010401108393
3140001070034
5010001018556
5180001087444
6000020271004
1011001020415
Program:
function: Find
inputs: Hiroshima Prefecture
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Hiroshima
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: baseball team
function: QueryAttr
dependencies: 5
inputs: Corporate Number (Japan)
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Hiroshima" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Hiroshima Prefecture" .  ?e <Corporate_Number_(Japan)> ?pv .  }
Answer: 3240001009427