Question: Which association football club has its headquarters location is Charleston, which is the capital of Charleston County?
Choices:
Hibernian F.C.
Real Sociedad
Stade Brestois 29
Zamalek SC
Brentford F.C.
Brisbane Roar FC
Charleston Battery
Roda JC Kerkrade
Turun Palloseura
Preston North End F.C.
Program:
function: Find
inputs: Charleston County
function: Relate
dependencies: 0
inputs: capital of
backward
function: Find
inputs: Charleston
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: association football club
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Charleston" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> "Charleston County" .   }
Answer: Charleston Battery