Question: Which one among the medication, whose oxidation state is other than 10, has the largest density?
Choices:
analgesic
All About My Mother
prescription drug
Frankenstein
Patrick Swayze
copper
over-the-counter drug
Information Technology
antibiotic
iron
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: oxidation state
10
!=
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 <oxidation_state> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "10"^^xsd:double ) . ?e <density> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: copper