vocabs.daq.ttl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of luzzu-communications Show documentation
Show all versions of luzzu-communications Show documentation
This module deals with the RESTful APIs
The newest version!
@prefix daq: .
@prefix owl: .
@prefix rdf: .
@prefix rdfg: .
@prefix rdfs: .
@prefix xsd: .
@prefix voaf: .
@prefix dct: .
@prefix foaf: .
@prefix qb: .
@prefix sdmx-measure: .
@prefix sdmx-attribute: .
@prefix sdmx-dimension: .
@prefix dc: .
@prefix prov: .
@prefix vann: .
# VOCABULARY
daq:
a owl:Ontology, voaf:Vocabulary ;
dct:title "Dataset Quality Vocabulary (daQ)"@en ;
dc:description "The Dataset Quality Vocabulary (daQ) is a lightweight, extensible core vocabulary for attaching the result of quality benchmarking of a linked open dataset (usually an expensive process) to that dataset. daQ is designed to be extended by custom quality metrics. Use cases include filtering and ranking datasets by quality."@en ;
dct:creator [
foaf:name "Jeremy Debattista";
foaf:homepage ;
foaf:mbox
], [
foaf:name "Christoph Lange";
rdfs:seeAlso ;
foaf:homepage
] ;
dct:modified "2016-05-31"^^xsd:date ;
dct:language "en"^^xsd:language ;
vann:preferredNamespaceUri "http://purl.org/eis/vocab/daq#";
vann:preferredNamespacePrefix "daq";
foaf:homepage .
# DATACUBE DATA STRUTURE DEFINITION
daq:dsd a qb:DataStructureDefinition ;
# Dimensions
qb:component [ qb:dimension daq:metric ; qb:order 1 ; ] ;
qb:component [ qb:dimension daq:computedOn ; qb:order 2 ; ] ;
qb:component [ qb:dimension sdmx-dimension:timePeriod ; qb:order 3 ; ] ;
# Measures
qb:component [ qb:measure daq:value ; ] .
# CLASSES
daq:QualityGraph
a rdfs:Class, owl:Class ;
rdfs:subClassOf rdfg:Graph , qb:DataSet ,
[ rdf:type owl:Restriction ;
owl:onProperty qb:structure ;
owl:hasValue daq:dsd
];
rdfs:comment "Defines a quality graph which will contain all metadata about quality metrics on the dataset."@en ;
rdfs:label "Quality Graph Statistics"@en .
daq:Observation
a rdfs:Class, owl:Class ;
rdfs:subClassOf prov:Entity, qb:Observation,
[ rdf:type owl:Restriction ;
owl:onProperty daq:metric ;
owl:minCardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty daq:value ;
owl:cardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty sdmx-dimension:timePeriod ;
owl:cardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty daq:computedOn ;
owl:cardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty daq:isEstimate ;
owl:cardinality "1"^^xsd:nonNegativeInteger
] ;
rdfs:comment "A quality observation represents the statistical and provenance information of the attached metric's assessment activity."@en ;
rdfs:label "Quality Observation"@en .
# Abstract Classes
daq:Category
a rdfs:Class, owl:Class ;
rdfs:comment "The highest level of quality metric is a category. A category groups a number of dimensions relevant to each other which aims at measuring the quality of a dataset from different aspects. Categories are provided as subclasses of this abstract class, which is not intended for direct usage."@en ;
rdfs:label "Category"@en .
daq:Dimension
a rdfs:Class, owl:Class ;
rdfs:comment "Each dimension is part of a larger group called category (See daq:Category). Each dimension has a number of metrics which are associated to it. A dimension is linked with a category using the daq:hasDimension property. Dimensions are provided as subclasses of this abstract class, which is not intended for direct usage."@en ;
rdfs:label "Dimension"@en .
daq:Metric
a rdfs:Class, owl:Class ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:onProperty daq:hasObservation ;
owl:minCardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty daq:expectedDataType ;
owl:cardinality "1"^^xsd:nonNegativeInteger
] ;
rdfs:comment "The smallest unit of measuring a quality dimension is a metric. A metric belongs to exactly one dimension. Each metric has one or more observations (\texttt{daq:hasObservation}), which records data quality assessment value following a computation. Metrics are provided as subclasses of this abstract class, which is not intended for direct usage."@en ;
rdfs:label "Metric"@en .
# PROPERTIES
# Generic Properties
daq:computedBy
a owl:DeprecatedProperty ;
rdfs:label "computed by"@en ;
rdfs:comment "**Deprecated Property**. The computedBy property defines the Agent that computed a metric on a dataset."@en;
rdfs:domain qb:Observation .
daq:computedOn
a rdf:Property, owl:ObjectProperty, qb:DimensionProperty ;
rdfs:label "computed on"@en ;
rdfs:comment "Quality metrics can be (in principle) calculated on various forms of data (such as datasets, graphs, set of triples etc...). This vocabulary allow the owner/user of such RDF data to calculate metrics on multiple (and different) resources."@en ;
rdfs:domain daq:Observation ;
rdfs:range rdfs:Resource .
daq:hasObservation
a rdf:Property, owl:ObjectProperty ;
rdfs:label "has observation"@en ;
rdfs:comment "Computed metrics can have 1 or more quality observations, where each computed resource has one observation."@en ;
rdfs:domain daq:Metric ;
rdfs:range daq:Observation ;
owl:inverseOf daq:metric .
daq:metric
a rdf:Property, owl:ObjectProperty, qb:DimensionProperty ;
rdfs:label "metric"@en ;
rdfs:comment "Represents the metric being observed."@en ;
rdfs:domain daq:Observation ;
rdfs:range daq:Metric ;
owl:inverseOf daq:hasObservation .
daq:value
a rdf:Property, owl:DatatypeProperty, qb:MeasureProperty ;
rdfs:label "value"@en ;
rdfs:comment "Each metric will have a value computed. In order to deal with the different return type of the metric computation, this property links a metric with a value object (e.g. boolean, double, Literal)."@en ;
rdfs:domain daq:Observation .
daq:expectedDataType
a rdf:Property, owl:DatatypeProperty ;
rdfs:label "expected data type"@en ;
rdfs:comment "Each metric should have an expect data type for it's observed value (e.g. xsd:boolean, xsd:double etc...)"@en ;
rdfs:domain daq:Metric ;
rdfs:range xsd:anySimpleType .
daq:requires
a rdf:Property, owl:ObjectProperty ;
rdfs:label "requires"@en ;
rdfs:comment "A metric might require a number of external resources (e.g. a gold standard) in order to be able to measure the quality. In order to cater for the most generic requirement, this property links a metric to the required resource (e.g. a URI to the gold standard dataset used)."@en ;
rdfs:domain daq:Metric ;
rdfs:range rdfs:Resource .
daq:isEstimate
a rdf:Property, owl:DatatypeProperty ;
rdfs:label "is estimate"@en ;
rdfs:comment "This property flags true if an assessed observation of a metric gives an estimate result instead of a more accurate one."@en ;
rdfs:domain daq:Observation ;
rdfs:range xsd:boolean .
sdmx-dimension:timePeriod
a qb:DimensionProperty ;
rdfs:domain daq:Observation ;
rdfs:range xsd:dateTime .
# Abstract Properties
daq:hasDimension
a rdf:Property, owl:ObjectProperty ;
rdfs:label "hasDimension"@en ;
rdfs:comment "The category concept classifies dimensions related to the measurement of quality for a specific criteria. This is an abstract property and should not be used directly. Specific sub-properties should be inherited for different dimensions."@en ;
rdfs:domain daq:Category ;
rdfs:range daq:Dimension .
daq:hasMetric
a rdf:Property, owl:ObjectProperty ;
rdfs:label "hasMetric"@en ;
rdfs:comment "A dimension is an abstract concept which groups an number of more concrete metrics to measure quality of a dataset. This is an abstract property and should not be used directly. Specific sub-properties should be inherited for different metrics."@en ;
rdfs:domain daq:Dimension ;
rdfs:range daq:Metric .