i.eis.luzzu-webapp.2.0.1.source-code.DatasetCDM.sparql Maven / Gradle / Ivy
The newest version!
PREFIX daq:
PREFIX rdf:
PREFIX rdfs:
PREFIX xsd:
SELECT DISTINCT ?category_name ?dimension_name ?metric_name ?metric ?metric_uri
WHERE {
?metric a ?metric_uri .
?metric_uri rdfs:subClassOf daq:Metric .
?has_dimension_metric rdfs:range ?metric_uri .
?has_dimension_metric rdfs:domain ?dimension_uri .
?has_category_dim rdfs:range ?dimension_uri .
?has_category_dim rdfs:domain ?category_uri .
OPTIONAL { ?category_uri rdfs:label ?category_name } .
OPTIONAL { ?dimension_uri rdfs:label ?dimension_name } .
OPTIONAL { ?metric_uri rdfs:label ?metric_name } .
}