Question: To which part of Bohemia (which has military conflicts with Kingdom of Scotland) does its demonym boemi apply?
Choices:
Grainger County
Europe
Cimahi
Peace River Regional District
Republic of Crimea
Giles County
masculine plural
Overton County
editor's cut
computer science
Answer: masculine plural
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Bohemia" . ?e_1 <military_conflicts> ?e . ?e_1 <pred:name> "Kingdom of Scotland" .  ?e <demonym> ?pv . ?pv <pred:value> "boemi" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Kingdom of Scotland
function: Relate
dependencies: 0
inputs: military conflicts
forward
function: Find
inputs: Bohemia
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
boemi
applies to part