Question: How many authors are either the spouse of Rakhee Gulzar or have the ROME Occupation Code (v3) of E1102?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "author" .  { ?e_1 <spouse> ?e . ?e_1 <pred:name> "Rakhee Gulzar" .  } UNION { ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> "E1102" .  } }
Program:
function: Find
inputs: Rakhee Gulzar
function: Relate
dependencies: 0
inputs: spouse
forward
function: FilterConcept
dependencies: 1
inputs: author
function: FindAll
function: FilterStr
dependencies: 3
inputs: ROME Occupation Code (v3)
E1102
function: FilterConcept
dependencies: 4
inputs: author
function: Or
dependencies: 2
5
function: Count
dependencies: 6