Question: Howq many actors do we know whose ROME Occupation Code (v3) is L1204 or whose occupation is the same as of Christopher Lloyd (the one whose CANTIC-ID is a10404417) ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "actor" .  { ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> "L1204" .  } UNION { ?e_1 <occupation> ?e . ?e_1 <pred:name> "Christopher Lloyd" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> "a10404417" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ROME Occupation Code (v3)
L1204
function: FilterConcept
dependencies: 1
inputs: actor
function: Find
inputs: Christopher Lloyd
function: FilterStr
dependencies: 3
inputs: CANTIC-ID
a10404417
function: Relate
dependencies: 4
inputs: occupation
forward
function: FilterConcept
dependencies: 5
inputs: actor
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 2