Question: How many in mathematics do the work field of Leonhard Euler and are a part of mathematics?
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> "mathematics" . ?e_1 <field_of_work> ?e . ?e_1 <pred:name> "Leonhard Euler" .  ?e_2 <has_part> ?e . ?e_2 <pred:name> "mathematics" .  }
Program:
function: Find
inputs: Leonhard Euler
function: Relate
dependencies: 0
inputs: field of work
forward
function: FilterConcept
dependencies: 1
inputs: mathematics
function: Find
inputs: mathematics
function: Relate
dependencies: 3
inputs: has part
forward
function: FilterConcept
dependencies: 4
inputs: mathematics
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1