reteplayground
Aggregate

Excipientes de declaración obligatoria (alérgenos)

ExcipienteNº de medicamentos
LACTOSA MONOHIDRATO4990
CROSCARMELOSA SODICA3849
MANITOL (E-421)2326
LAURILSULFATO DE SODIO2079
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 50 rows · 1.4 s · 1.0 MB of 278.2 MB read over HTTP range · no server, no download — the query runs in your browser.

The query

PREFIX fmc: <https://w3id.org/rete/farmacos#> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> SELECT ?excipiente (COUNT(DISTINCT ?m) AS ?medicamentos) WHERE { ?pr a fmc:Presentacion ; fmc:medicamento ?m ; fmc:excipiente ?e . ?e skos:prefLabel ?excipiente . } GROUP BY ?excipiente ORDER BY DESC(?medicamentos) LIMIT 50

rete playground · documentation · github.com/caviri/rete