Question: How many actors share the job of Ernest Borgnine or practice in the performing arts field?
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> "actor" .  { ?e_1 <occupation> ?e . ?e_1 <pred:name> "Ernest Borgnine" .  } UNION { ?e <field_of_this_occupation> ?e_1 . ?e_1 <pred:name> "performing arts" .  } }
Program:
function: Find
inputs: Ernest Borgnine
function: Relate
dependencies: 0
inputs: occupation
forward
function: FilterConcept
dependencies: 1
inputs: actor
function: Find
inputs: performing arts
function: Relate
dependencies: 3
inputs: field of this occupation
backward
function: FilterConcept
dependencies: 4
inputs: actor
function: Or
dependencies: 2
5
function: Count
dependencies: 6