Question: What is the number of provinces in the Netherlands that have an ISO 3166-2 code of NL-DR or that is an administrative division of Netherlands?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of the Netherlands" .  { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "NL-DR" .  } UNION { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Netherlands" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
NL-DR
function: FilterConcept
dependencies: 1
inputs: province of the Netherlands
function: Find
inputs: Netherlands
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: province of the Netherlands
function: Or
dependencies: 2
5
function: Count
dependencies: 6