Question: How many metropolitan boroughs have a capital of Aarhus or who have an ISO 3166-2 code of GB-BUR?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: Aarhus
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISO 3166-2 code
GB-BUR
function: FilterConcept
dependencies: 4
inputs: metropolitan borough
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" .  { ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Aarhus" .  } UNION { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "GB-BUR" .  } }
Answer: 1