Question: What is the number of filmmaking occupations that is the occupation of Michelangelo Antonioni and that works in the filmmaking 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> "filmmaking occupation" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Michelangelo Antonioni" .  ?e <field_of_this_occupation> ?e_2 . ?e_2 <pred:name> "filmmaking" .  }
Program:
function: Find
inputs: Michelangelo Antonioni
function: Relate
dependencies: 0
inputs: occupation
forward
function: FilterConcept
dependencies: 1
inputs: filmmaking occupation
function: Find
inputs: filmmaking
function: Relate
dependencies: 3
inputs: field of this occupation
backward
function: FilterConcept
dependencies: 4
inputs: filmmaking occupation
function: And
dependencies: 2
5
function: Count
dependencies: 6