Question: How many artists have the same occupation as Matt Stone or that work in the performing arts field?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "artist" .  { ?e_1 <occupation> ?e . ?e_1 <pred:name> "Matt Stone" .  } UNION { ?e <field_of_this_occupation> ?e_1 . ?e_1 <pred:name> "performing arts" .  } }
Program:
function: Find
inputs: Matt Stone
function: Relate
dependencies: 0
inputs: occupation
forward
function: FilterConcept
dependencies: 1
inputs: artist
function: Find
inputs: performing arts
function: Relate
dependencies: 3
inputs: field of this occupation
backward
function: FilterConcept
dependencies: 4
inputs: artist
function: Or
dependencies: 2
5
function: Count
dependencies: 6