Question: How many male given names are there whose native designation is Bobby or language used is Dutch (whose country is the Netherlands)?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "male given name" .  { ?e <native_label> ?pv . ?pv <pred:value> "Bobby" .  } UNION { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "Dutch" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "Netherlands" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Bobby
function: FilterConcept
dependencies: 1
inputs: male given name
function: Find
inputs: Netherlands
function: Relate
dependencies: 3
inputs: country
backward
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: male given name
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 9