Question: How many social sciences have the Universal Decimal Classification of 159.9?
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> "social science" . ?e <Universal_Decimal_Classification> ?pv . ?pv <pred:value> "159.9" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "social science" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Universal Decimal Classification
159.9
function: FilterConcept
dependencies: 1
inputs: social science
function: Find
inputs: social science
function: Relate
dependencies: 3
inputs: has part
forward
function: FilterConcept
dependencies: 4
inputs: social science
function: And
dependencies: 2
5
function: Count
dependencies: 6