Question: To which part of Bohemia (a part of Czech Republic) does the demonym "boema" apply?
Choices:
adjective
feminine singular
Humphreys County
Peter I Island
conductor
medication
Torchwood, season 1
Garut
Russia
Pangandaran
Answer: feminine singular
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Bohemia" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "Czech Republic" .  ?e <demonym> ?pv . ?pv <pred:value> "boema" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Czech Republic
function: Relate
dependencies: 0
inputs: has part
forward
function: Find
inputs: Bohemia
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
boema
applies to part