Question: What is the number of medication that has a Cas registry number of 7440-50-8?
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> "medication" . ?e <CAS_Registry_Number> ?pv . ?pv <pred:value> "7440-50-8" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: CAS Registry Number
7440-50-8
function: FilterConcept
dependencies: 1
inputs: medication
function: Count
dependencies: 2