Question: How many professions are usually associated with the college town that is the working location of Martin Heidegger?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e <properties_for_this_type> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "college town" . ?e_2 <work_location> ?e_1 . ?e_2 <pred:name> "Martin Heidegger" .   }
Program:
function: Find
inputs: Martin Heidegger
function: Relate
dependencies: 0
inputs: work location
forward
function: FilterConcept
dependencies: 1
inputs: college town
function: Relate
dependencies: 2
inputs: properties for this type
backward
function: FilterConcept
dependencies: 3
inputs: profession
function: Count
dependencies: 4