Question: To which part of a first-evel administrative county subdivision, that sharers a border with County Monaghan, does its demonym, Nordire, apply?
Choices: Philippines
Quebec
masculine
Degrassi, season 11
airspace
Bay County
sport
Degrassi, season 10
Qikiqtaaluk Region
Torchwood, season 3
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "County Monaghan" .  ?e <demonym> ?pv . ?pv <pred:value> "Nordire" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: County Monaghan
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
Nordire
applies to part
Answer: masculine