Question: How many musical compositions have the composer Maurice Gibb and are different from ballet (the one whose Iconclass notation is 48C84)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Maurice Gibb
function: Relate
dependencies: 0
inputs: composer
backward
function: FilterConcept
dependencies: 1
inputs: musical composition
function: Find
inputs: ballet
function: FilterStr
dependencies: 3
inputs: Iconclass notation
48C84
function: Relate
dependencies: 4
inputs: different from
forward
function: FilterConcept
dependencies: 5
inputs: musical composition
function: And
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical composition" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Maurice Gibb" .  ?e_2 <different_from> ?e . ?e_2 <pred:name> "ballet" . ?e_2 <Iconclass_notation> ?pv . ?pv <pred:value> "48C84" .  }
Answer: 0