Question: How is the Stirling with GSS code (2011) S12000030 related to the Stirling which is headquarters of Stirling Albion F.C.?
Choices:
language of work or name
dialect of
time period
capital
interested in
after a work by
sex or gender
diaspora
conflict
located in the administrative territorial entity
Answer: capital
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Stirling" . ?e_1 <GSS_code_(2011)> ?pv . ?pv <pred:value> "S12000030" . ?e_2 <pred:name> "Stirling" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Stirling Albion F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Stirling
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
S12000030
function: Find
inputs: Stirling Albion F.C.
function: Relate
dependencies: 2
inputs: headquarters location
forward
function: Find
inputs: Stirling
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5