Question: How many counties of Ireland lie in Ireland or have IE02201 as their LAU?
Choices:
14
15
16
17
18
19
20
21
22
23
Program:
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: Find
inputs: Ireland
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: county of Ireland
function: FindAll
function: FilterStr
dependencies: 6
inputs: LAU
IE02201
function: FilterConcept
dependencies: 7
inputs: county of Ireland
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ireland" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Ireland" . ?e_1 <diplomatic_relation> ?e_2 . ?e_2 <pred:name> "People's Republic of China" .  } UNION { ?e <LAU> ?pv . ?pv <pred:value> "IE02201" .  } }
Answer: 18