i.eis.luzzu-webapp.2.0.1.source-code.DatasetsMultObs.sparql Maven / Gradle / Ivy
The newest version!
PREFIX daq:
PREFIX rdf:
PREFIX rdfs:
PREFIX xsd:
SELECT DISTINCT ?dataset ?metric_name ?metric
WHERE {
?metric_uri a ?metric .
?metric_uri daq:hasObservation ?obs .
?obs daq:computedOn ?dataset .
?metric rdfs:subClassOf daq:Metric .
OPTIONAL { ?metric rdfs:label ?metric_name } .
}
GROUP BY ?metric ?dataset ?metric_name
HAVING (count(?obs) > 1)