Question: How many feminine first names correspond to Caverphone LR1111 or are in Dutch, official language of Paramaribo?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "female given name" .  { ?e <Caverphone> ?pv . ?pv <pred:value> "LR1111" .  } UNION { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "Dutch" . ?e_2 <official_language> ?e_1 . ?e_2 <pred:name> "Paramaribo" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Caverphone
LR1111
function: FilterConcept
dependencies: 1
inputs: female given name
function: Find
inputs: Paramaribo
function: Relate
dependencies: 3
inputs: official language
forward
function: Find
inputs: Dutch
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: language of work or name
backward
function: FilterConcept
dependencies: 7
inputs: female given name
function: Or
dependencies: 2
8
function: Count
dependencies: 9