Question: For medications with a density not equal to 6.4 grams per cubic centimetres, which one has the largest density?
Choices:
The Fall
copper
Somerset
antibiotic
Kathleen Barr
prescription drug
iron
Copenhagen
over-the-counter drug
analgesic
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: density
6.4 gram per cubic centimetre
!=
function: FilterConcept
dependencies: 1
inputs: medication
function: SelectAmong
dependencies: 2
inputs: density
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medication" . ?e <density> ?pv_1 . ?pv_1 <pred:unit> "gram per cubic centimetre" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "6.4"^^xsd:double ) . ?e <density> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: copper