Question: How many researchers have their occupation matching the one of Roger Moore (computer scientist by occupation) and their  Dewey Decimal Classification is 004.092  ?
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> "researcher" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Roger Moore" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "computer scientist" .  ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "004.092" .  }
Program:
function: Find
inputs: computer scientist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Roger Moore
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: researcher
function: FindAll
function: FilterStr
dependencies: 6
inputs: Dewey Decimal Classification
004.092
function: FilterConcept
dependencies: 7
inputs: researcher
function: And
dependencies: 5
8
function: Count
dependencies: 9