Question: How many male-given names have a distribution map of Popularity of name Alexander.svg or the nickname of Rick?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "male given name" .  { ?e <distribution_map> ?pv . ?pv <pred:value> "Popularity of name Alexander.svg" .  } UNION { ?e <nickname> ?pv . ?pv <pred:value> "Rick" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: distribution map
Popularity of name Alexander.svg
function: FilterConcept
dependencies: 1
inputs: male given name
function: FindAll
function: FilterStr
dependencies: 3
inputs: nickname
Rick
function: FilterConcept
dependencies: 4
inputs: male given name
function: Or
dependencies: 2
5
function: Count
dependencies: 6