Question: To which part of a language, whose IETF language tag is sco, does the number of speakers, counting 1500000, apply ?
Choices:
trademark
Jefferson County
European Russia
Shelby County
second language
Golden Valley County
three-player chess
Sukabumi
sea
editor's cut
Answer: second language
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" . ?e <IETF_language_tag> ?pv_1 . ?pv_1 <pred:value> "sco" . ?e <number_of_speakers> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1500000"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_speakers> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IETF language tag
sco
function: FilterConcept
dependencies: 1
inputs: language
function: QueryAttrQualifier
dependencies: 2
inputs: number of speakers
1500000
applies to part