Question: The demonym Nordire applies to what part of the first-level administrative country subdivision bordering County Donegal?
Choices:
Kungsbacka Municipality
Australia
Cocke County
Meigs County
masculine
Okaloosa County
Northwest Territories
6th arrondissement of Lyon
Hawaii
Clipperton Island
Answer: masculine
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 Donegal" .  ?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 Donegal
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