Question: How many first-level administrative country subdivisions have the demonym Northern Irish or have over 910 weddings per year?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Northern Irish
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: FindAll
function: FilterNum
dependencies: 3
inputs: annual number of weddings
910
>
function: FilterConcept
dependencies: 4
inputs: first-level administrative country subdivision
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> "first-level administrative country subdivision" .  { ?e <demonym> ?pv . ?pv <pred:value> "Northern Irish" .  } UNION { ?e <annual_number_of_weddings> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "910"^^xsd:double ) .  } }
Answer: 2