Question: How many medications have a weight other than 260 pounds or have the UMLS CUI code C0002771?
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> "medication" .  { ?e <mass> ?pv . ?pv <pred:unit> "pound" . ?pv <pred:value> ?v . FILTER ( ?v != "260"^^xsd:double ) .  } UNION { ?e <UMLS_CUI> ?pv . ?pv <pred:value> "C0002771" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: mass
260 pound
!=
function: FilterConcept
dependencies: 1
inputs: medication
function: FindAll
function: FilterStr
dependencies: 3
inputs: UMLS CUI
C0002771
function: FilterConcept
dependencies: 4
inputs: medication
function: Or
dependencies: 2
5
function: Count
dependencies: 6