Question: How many of Ireland's counties are an administrative division of Ireland (the one whose Human Development Index is 0.895) or Anne McCaffrey's death place?
Choices: 14
15
16
17
18
19
20
21
22
23
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ireland" .  { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Ireland" . ?e_1 <Human_Development_Index> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "0.895"^^xsd:double .  } UNION { ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Anne McCaffrey" .  } }
Program:
function: Find
inputs: Ireland
function: FilterNum
dependencies: 0
inputs: Human Development Index
0.895
=
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: county of Ireland
function: Find
inputs: Anne McCaffrey
function: Relate
dependencies: 4
inputs: place of death
forward
function: FilterConcept
dependencies: 5
inputs: county of Ireland
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 18