Question: How many research scientists practice in the field of mathematics under the umbrella of economics?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "researcher" . ?e_1 <practiced_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "mathematics" . ?e_1 <part_of> ?e_2 . ?e_2 <pred:name> "economics" .   }
Program:
function: Find
inputs: economics
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: mathematics
function: Relate
dependencies: 2
inputs: practiced by
forward
function: FilterConcept
dependencies: 3
inputs: researcher
function: Count
dependencies: 4