Question: for Alberta with the demonym Albertain, which part does it apply to?
Choices:
radio network
masculine
Wales
Van Buren County
Bendigo
Moore County
Purwakarta
Stark County
7th arrondissement of Paris
Torchwood, season 2
Answer: masculine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Alberta" . ?e <demonym> ?pv . ?pv <pred:value> "Albertain" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Alberta
function: QueryAttrQualifier
dependencies: 0
inputs: demonym
Albertain
applies to part