Question: What first-level administrative country subdivision's capital is Graz?
Choices:
Styria
Canton of Vaud
England
Podlaskie Voivodeship
Minas Gerais
Tyrol
Buenos Aires Province
Rio Grande do Sul
Eastern Cape
Upper Austria
Program:
function: Find
inputs: Graz
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Graz" .   }
Answer: Styria