Skip to content

Commit

Permalink
Revised catalog/services model following discussion in DCAT sub-group
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Cox committed Apr 29, 2018
1 parent b870552 commit 58027e5
Showing 1 changed file with 69 additions and 57 deletions.
126 changes: 69 additions & 57 deletions dcat/rdf/dcat-service.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

dcat:Catalog
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:allValuesFrom dcat:CataloguedItem ;
owl:onProperty dcterms:hasPart ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
Expand All @@ -26,102 +31,109 @@ dcat:Catalog
dcat:CatalogRecord
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:allValuesFrom dcat:CataloguedItem ;
owl:onProperty foaf:primaryTopic ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty foaf:primaryTopic ;
owl:someValuesFrom dcat:Dataset ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:onProperty foaf:primaryTopic ;
owl:someValuesFrom dcat-s:DataService ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:onProperty foaf:primaryTopic ;
owl:someValuesFrom dcat-s:OtherService ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:onProperty foaf:primaryTopic ;
owl:someValuesFrom dcat-s:OtherThing ;
] ;
.
<http://www.w3.org/ns/dcat-service>
rdf:type owl:Ontology ;
owl:imports dcterms: ;
owl:imports <http://www.w3.org/2004/02/skos/core> ;
owl:imports <http://www.w3.org/ns/dcat> ;
owl:imports <http://www.w3.org/ns/dcat/prov> ;
owl:versionInfo "Created with TopBraid Composer" ;
dcat:CataloguedItem
rdf:type owl:Class ;
rdfs:label "Item in a DCAT Catalog" ;
.
dcat-s:DataService
dcat:DataDistributionService
rdf:type owl:Class ;
rdfs:comment "A site or end-point that provides access to datasets and distributions of datasets" ;
rdfs:label "Data distribution service" ;
rdfs:subClassOf dctype:Service ;
rdfs:subClassOf dcat:Service ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:hasValue <https://inspire.ec.europa.eu/metadata-codelist/SpatialDataServiceType/download> ;
owl:onProperty dcterms:type ;
] ;
.
dcat-s:OtherService
dcat:DataTransformationService
rdf:type owl:Class ;
rdfs:comment "A site or end-point that provides another data-related service (e.g. transformation)" ;
rdfs:comment "A site or end-point that provides a service to transform datasets in some way, e.g. spatial coordinates, schematic representation, interpolation, re-sampling" ;
rdfs:label "Other service" ;
rdfs:subClassOf dctype:Service ;
rdfs:subClassOf dcat:Service ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:hasValue <https://inspire.ec.europa.eu/metadata-codelist/SpatialDataServiceType/transformation> ;
owl:onProperty dcterms:type ;
] ;
.
dcat-s:OtherThing
dcat:DiscoveryService
rdf:type owl:Class ;
rdfs:comment "Another type of catalogued thing" ;
rdfs:label "Other thing" ;
rdfs:label "Resource DIscovery Service" ;
rdfs:subClassOf dcat:Catalog ;
rdfs:subClassOf dcat:Service ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:hasValue <http://inspire.ec.europa.eu/metadata-codelist/SpatialDataServiceType/discovery> ;
owl:onProperty dcterms:type ;
] ;
.
dcat-s:accessService
dcat:Service
rdf:type owl:Class ;
rdfs:label "Service" ;
rdfs:subClassOf dcat:CataloguedItem ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty dcterms:conformsTo ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty dcterms:type ;
] ;
.
dcat:accessService
rdf:type owl:ObjectProperty ;
rdfs:comment "link to DataDistributionService that can serves this data Distribution" ;
rdfs:domain dcat:Distribution ;
rdfs:label "link to DataService that serves this data Distribution" ;
rdfs:range dcat-s:DataService ;
rdfs:label "data access services" ;
rdfs:range dcat:DataDistributionService ;
.
dcat-s:catalog
dcat:catalog
rdf:type owl:ObjectProperty ;
rdfs:comment "Link from a catalog to another catalog whose contents are of interest in the context of this catalog" ;
rdfs:domain dcat:Catalog ;
rdfs:label "Link to catalog" ;
rdfs:range dcat:Catalog ;
rdfs:subPropertyOf dcterms:hasPart ;
rdfs:subPropertyOf rdfs:member ;
.
dcat-s:dataService
rdf:type owl:ObjectProperty ;
rdfs:comment "link to description of a data service" ;
rdfs:domain dcat:Catalog ;
rdfs:label "has data service" ;
rdfs:range dcat-s:DataService ;
rdfs:subPropertyOf dcterms:hasPart ;
dcat:dataset
rdfs:subPropertyOf rdfs:member ;
.
dcat-s:otherService
dcat:servesDataset
rdf:type owl:ObjectProperty ;
rdfs:comment "link to description of a data service" ;
rdfs:domain dcat:Catalog ;
rdfs:label "has service" ;
rdfs:range dcat-s:OtherService ;
rdfs:subPropertyOf dcterms:hasPart ;
rdfs:comment "Link to description of a dataset that this DataDistributionService can distribute" ;
rdfs:domain dcat:DataDistributionService ;
rdfs:label "serves dataset" ;
rdfs:range dcat:Dataset ;
.
dcat-s:otherThing
dcat:service
rdf:type owl:ObjectProperty ;
rdfs:comment "link to description of another thing" ;
rdfs:comment "link to description of a service" ;
rdfs:domain dcat:Catalog ;
rdfs:label "has other thing" ;
rdfs:range dcat-s:OtherThing ;
rdfs:label "has service" ;
rdfs:range dcat:Service ;
rdfs:subPropertyOf dcterms:hasPart ;
rdfs:subPropertyOf rdfs:member ;
.
dcat-s:servesDataset
rdf:type owl:ObjectProperty ;
rdfs:domain dcat-s:DataService ;
rdfs:label "serves dataset" ;
rdfs:range dcat:Dataset ;
rdfs:subPropertyOf dcterms:hasPart ;
<http://www.w3.org/ns/dcat-service>
rdf:type owl:Ontology ;
owl:imports dcterms: ;
owl:imports <http://www.w3.org/2004/02/skos/core> ;
owl:imports <http://www.w3.org/ns/dcat> ;
owl:imports <http://www.w3.org/ns/dcat/prov> ;
owl:versionInfo "Created with TopBraid Composer" ;
.

0 comments on commit 58027e5

Please sign in to comment.