Question: Is US-MD the ISO 3166-2 code for the first-level administrative country subdivision whose male inhabitants identify as англичанин?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "англичанин" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv . ?qpv <pred:value> "masculine" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "US-MD" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
англичанин
function: QFilterStr
dependencies: 1
inputs: applies to part
masculine
function: FilterConcept
dependencies: 2
inputs: first-level administrative country subdivision
function: QueryAttr
dependencies: 3
inputs: ISO 3166-2 code
function: VerifyStr
dependencies: 4
inputs: US-MD