Question: How many musical compositions are unlike ballet that is the field of the occupation ballet dancer?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: ballet dancer
function: Relate
dependencies: 0
inputs: field of this occupation
forward
function: Find
inputs: ballet
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: musical composition
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical composition" . ?e_1 <different_from> ?e . ?e_1 <pred:name> "ballet" . ?e_2 <field_of_this_occupation> ?e_1 . ?e_2 <pred:name> "ballet dancer" .   }
Answer: 1