Question: How many female given names use the Dutch language (whose IAB code is 1146)?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "female given name" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "Dutch" . ?e_1 <IAB_code> ?pv . ?pv <pred:value> "1146" .   }
Program:
function: Find
inputs: Dutch
function: FilterStr
dependencies: 0
inputs: IAB code
1146
function: Relate
dependencies: 1
inputs: language of work or name
backward
function: FilterConcept
dependencies: 2
inputs: female given name
function: Count
dependencies: 3