Question: How many surnames have the native label Davis or are the last name of Roland Anderson?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "family name" .  { ?e <native_label> ?pv . ?pv <pred:value> "Davis" .  } UNION { ?e_1 <family_name> ?e . ?e_1 <pred:name> "Roland Anderson" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Davis
function: FilterConcept
dependencies: 1
inputs: family name
function: Find
inputs: Roland Anderson
function: Relate
dependencies: 3
inputs: family name
forward
function: FilterConcept
dependencies: 4
inputs: family name
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2