Question: How many female given names are the birth name of Julia Roberts or Elizabeth Banks (whose ISNI is 0000 0001 1604 628X)?
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> "female given name" .  { ?e_1 <given_name> ?e . ?e_1 <pred:name> "Julia Roberts" .  } UNION { ?e_1 <given_name> ?e . ?e_1 <pred:name> "Elizabeth Banks" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0001 1604 628X" .  } }
Program:
function: Find
inputs: Julia Roberts
function: Relate
dependencies: 0
inputs: given name
forward
function: FilterConcept
dependencies: 1
inputs: female given name
function: Find
inputs: Elizabeth Banks
function: FilterStr
dependencies: 3
inputs: ISNI
0000 0001 1604 628X
function: Relate
dependencies: 4
inputs: given name
forward
function: FilterConcept
dependencies: 5
inputs: female given name
function: Or
dependencies: 2
6
function: Count
dependencies: 7