Question: How many artists are students of the erotic thriller or black comedy genres?
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> "artist" .  { ?e <studies> ?e_1 . ?e_1 <pred:name> "erotic thriller" .  } UNION { ?e <studies> ?e_1 . ?e_1 <pred:name> "black comedy" .  } }
Program:
function: Find
inputs: erotic thriller
function: Relate
dependencies: 0
inputs: studies
backward
function: FilterConcept
dependencies: 1
inputs: artist
function: Find
inputs: black comedy
function: Relate
dependencies: 3
inputs: studies
backward
function: FilterConcept
dependencies: 4
inputs: artist
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0