Skip to content

Commit

Permalink
Merge branch 'gh-pages' into dcat-issue457
Browse files Browse the repository at this point in the history
  • Loading branch information
agbeltran committed Jan 23, 2019
2 parents f47bea5 + 8084e53 commit b3aea44
Show file tree
Hide file tree
Showing 7 changed files with 563 additions and 121 deletions.
Binary file modified dcat/UML/DCAT-summary-all-attributes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions dcat/examples/csiro-dap-examples.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ dap:d33937
rdf:type dct:RightsStatement ;
rdfs:comment "All Rights (including copyright) CSIRO 2018." ;
] ;
dct:source <http://www.stratigraphy.org/GSSP/index.html> ;
dct:title "RDF representation of 2017 edition of International Chronostratigraphic Chart (Geologic Timescale)" ;
dcat:contactPoint <https://people.csiro.au/C/S/Simon-Cox> ;
dcat:keyword "GeoSPARQL" ;
Expand All @@ -380,6 +381,7 @@ dap:d33937
dcat:theme <http://registry.it.csiro.au/def/keyword/anzsrc/interorganisational-information-systems-and-web-services> ;
dcat:theme <http://registry.it.csiro.au/def/keyword/anzsrc/stratigraphy> ;
dcat:theme <http://registry.it.csiro.au/def/keyword/anzsrc/web-technologies> ;
prov:wasDerivedFrom <http://www.stratigraphy.org/GSSP/index.html> ;
.
dap:d33937_1
rdf:type dcat:Dataset ;
Expand Down Expand Up @@ -494,6 +496,7 @@ dap:d33937_1
rdf:type dct:RightsStatement ;
rdfs:comment "All Rights (including copyright) CSIRO 2018." ;
] ;
dct:source <http://www.stratigraphy.org/GSSP/index.html> ;
dct:title "RDF representation of 2017 edition of International Chronostratigraphic Chart (Geologic Timescale)" ;
dct:type <http://purl.org/dc/dcmitype/Dataset> ;
dcat:contactPoint <https://people.csiro.au/C/S/Simon-Cox> ;
Expand Down
46 changes: 46 additions & 0 deletions dcat/examples/relation-examples.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# baseURI: http://example.org/dxwg/relations/examples
# imports: http://www.w3.org/ns/dcat

@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ex: <http://example.org/dxwg/relations/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

ex:DS987
rdf:type dcat:Dataset ;
prov:qualifiedAttribution [
rdf:type prov:Attribution ;
dcat:hadRole <https://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/distributor> ;
prov:agent <https://www.ala.org.au/> ;
] ;
prov:qualifiedGeneration [
rdf:type prov:Generation ;
prov:activity <https://collections.ala.org.au/public/show/dp3904> ;
prov:atTime "2014-05-31T12:00:00"^^xsd:dateTime ;
] ;
.
ex:Test987
rdf:type dcat:Dataset ;
dcat:qualifiedRelation [
rdf:type dcat:Relationship ;
dcat:hadRole <http://www.iana.org/assignments/relation/canonical> ;
dcat:target ex:Test123 ;
] ;
.
ex:examples
rdf:type owl:Ontology ;
dct:created "2018-09-25"^^xsd:date ;
dct:modified "2019-01-11"^^xsd:date ;
dct:creator <http://orcid.org/0000-0002-3884-3420> ;
dct:creator <https://www.w3.org/2017/dxwg/wiki/Main_Page> ;
rdfs:comment "RDF graph containing examples of qualified relations" ;
rdfs:label "DCAT qualified relations examples" ;
rdfs:seeAlso <https://github.com/w3c/dxwg/wiki/Qualified-relations> ;
owl:imports <http://www.w3.org/ns/dcat> ;
.
323 changes: 249 additions & 74 deletions dcat/index.html

Large diffs are not rendered by default.

137 changes: 126 additions & 11 deletions dcat/rdf/dcat-prov.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

dct:publisher
rdfs:subPropertyOf prov:wasAttributedTo ;
### DCAT classes ###

dcat:Catalog
rdfs:subClassOf prov:Collection ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:allValuesFrom dcat:Resource ;
owl:onProperty prov:hadMember ;
] ;
.
dcat:CatalogRecord
rdfs:subClassOf prov:Entity ;
Expand All @@ -24,33 +31,141 @@ https://github.com/w3c/dxwg/issues/71
https://github.com/w3c/dxwg/issues/66
https://github.com/w3c/dxwg/issues/76""" ;
.
dcat:Distribution
rdfs:subClassOf prov:Entity ;
.
dcat:Relationship
rdfs:subClassOf prov:EntityInfluence ;
.
dcat:Resource
rdfs:subClassOf prov:Entity ;
skos:editorialNote """2018-02-28 AGB: Links to requirements mentioned above in the github tracker to follow the discussions
https://github.com/w3c/dxwg/issues/71
https://github.com/w3c/dxwg/issues/66
https://github.com/w3c/dxwg/issues/76""" ;
.

### DCAT properties ###

dcat:catalog
rdfs:subPropertyOf prov:hadMember ;
.
dcat:dataset
rdfs:subPropertyOf prov:hadMember ;
.
dcat:qualifiedRelation
rdfs:subPropertyOf prov:qualifiedInfluence ;
.
dcat:service
rdfs:subPropertyOf prov:hadMember ;
.

### Dublin Core properties ###

dct:contributor
rdfs:subPropertyOf prov:wasAttributedTo ;
owl:propertyChainAxiom (
[
rdf:type owl:ObjectProperty ;
rdfs:range [
rdf:type owl:Class ;
rdfs:subClassOf prov:Attribution ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:hasValue <http://registry.it.csiro.au/def/isotc211/CI_RoleCode/contributor> ;
owl:onProperty dcat:hadRole ;
] ;
] ;
rdfs:subPropertyOf prov:qualifiedAttribution ;
]
prov:agent
) ;
.
dct:creator
rdfs:subPropertyOf prov:wasAttributedTo ;
owl:propertyChainAxiom (
[
rdf:type owl:ObjectProperty ;
rdfs:range [
rdf:type owl:Class ;
rdfs:subClassOf prov:Attribution ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:hasValue <https://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/originator> ;
owl:onProperty dcat:hadRole ;
] ;
] ;
rdfs:subPropertyOf prov:qualifiedAttribution ;
]
prov:agent
) ;
.
dct:publisher
rdfs:subPropertyOf prov:wasAttributedTo ;
owl:propertyChainAxiom (
[
rdf:type owl:ObjectProperty ;
rdfs:range [
rdf:type owl:Class ;
rdfs:subClassOf prov:Attribution ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:hasValue <http://inspire.ec.europa.eu/metadata-codelist/ResponsiblePartyRole/publisher> ;
owl:onProperty dcat:hadRole ;
] ;
] ;
rdfs:subPropertyOf prov:qualifiedAttribution ;
]
prov:agent
) ;
.
dct:hasFormat
rdfs:subPropertyOf prov:alternateOf ;
.
dct:isFormatOf
rdfs:subPropertyOf prov:alternateOf ;
.
dct:isVersionOf
rdfs:subPropertyOf prov:wasRevisionOf ;
.
dct:source
rdfs:subPropertyOf prov:wasDerivedFrom ;
.

### PROV classes ###

prov:Agent
rdfs:comment "prov:Agent is modeled as a subclass of foaf:Agent since it is the subset of agents that are involved in prov:Activity individuals" ;
rdfs:subClassOf foaf:Agent ;
.

### PROV properties ###

prov:hadMember
rdfs:subPropertyOf dct:hasPart ;
.

### metadata about this graph ###

<http://www.w3.org/ns/dcat/prov>
rdf:type owl:Ontology ;
dct:created "2018-02-19"^^xsd:date ;
dct:creator <http://registry.it.csiro.au/sandbox/csiro/person/Simon-Cox> ;
dct:modified "2019-01-11"^^xsd:date ;
dct:creator <http://orcid.org/0000-0002-3884-3420> ;
dct:creator <https://www.w3.org/2017/dxwg/wiki/Main_Page> ;
rdfs:comment "NOTE: this alignment is provisional and incomplete, and is added to the repository here to (a) support further development of the DCAT-PROV alignment (b) demonstrate the strategy of modularizing alignments and dependencies into separate RDF files." ;
rdfs:comment "RDF graph containing alignment axioms between DCAT and PROV-O" ;
rdfs:label "DCAT-PROV alignment" ;
rdfs:seeAlso <https://github.com/w3c/dxwg/issues/111> ;
rdfs:seeAlso <https://github.com/w3c/dxwg/issues/128> ;
rdfs:seeAlso <https://github.com/w3c/dxwg/issues/134> ;
rdfs:seeAlso <https://github.com/w3c/dxwg/issues?q=label%3Aprovenance> ;
rdfs:seeAlso <https://github.com/w3c/dxwg/pull/94> ;
rdfs:seeAlso <https://github.com/w3c/dxwg/wiki/Provenance-patterns> ;
rdfs:seeAlso <https://github.com/w3c/dxwg/wiki/Qualified-relations> ;
rdfs:seeAlso <https://www.w3.org/TR/prov-dc/> ;
owl:imports <http://www.w3.org/ns/dcat> ;
owl:imports <http://www.w3.org/ns/prov-o> ;
.
prov:Agent
rdfs:comment "prov:Agent is modeled as a subclass of foaf:Agent since it is the subset of agents that are involved in prov:Activity individuals" ;
rdfs:subClassOf foaf:Agent ;
.
<https://www.w3.org/2017/dxwg/wiki/Main_Page>
rdf:type foaf:Agent ;
rdfs:label "W3C Data Exchange Working Group" ;
skos:editorialNote "NOTE: Currently includes the apparatus required for Qualified Relations, since some of these build on elements from PROV-O" ;
skos:editorialNote "NOTE: Includes some alignments from Dublin Core to PROV Mapping https://www.w3.org/TR/prov-dc/" ;
.
70 changes: 70 additions & 0 deletions dcat/rdf/dcat-qualrel.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# baseURI: http://www.w3.org/ns/dcat/qualrel
# imports: http://www.w3.org/ns/dcat/prov

@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix qualrel: <http://www.w3.org/ns/dcat/qualrel/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

dcat:Relationship
rdf:type owl:Class ;
rdfs:comment "An association class for attaching additional information to a relationship between DCAT Resources" ;
rdfs:label "Relationship" ;
rdfs:subClassOf prov:EntityInfluence ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty dct:relation ;
] ;
skos:changeNote "New class in this revision" ;
skos:editorialNote "Status: Class accepted by DCAT revision team, but details of definition and constraints not yet resolved." ;
skos:scopeNote "Use to characterize a relationship between datasets, and potentially other resources, where the nature of the relationship is known but is not adequately characterized by the standard Dublin Core properties (dct:hasPart, dct:isPartOf, dct:conformsTo, dct:isFormatOf, dct:hasFormat, dct:isVersionOf, dct:hasVersion, dct:replaces, dct:isReplacedBy, dct:references, dct:isReferencedBy, dct:requires, dct:isRequiredBy) or PROV-O properties (prov:wasDerivedFrom, prov:wasInfluencedBy, prov:wasQuotedFrom, prov:wasRevisionOf, prov:hadPrimarySource, prov:alternateOf, prov:specializationOf)" ;
.
dcat:hadRole
rdf:type owl:ObjectProperty ;
rdfs:comment "The function of an entity or agent with respect to another entity or resource."@en ;
rdfs:domain [
rdf:type owl:Class ;
owl:unionOf (
prov:Attribution
dcat:Relationship
) ;
] ;
rdfs:label "hadRole" ;
rdfs:range prov:Role ;
skos:changeNote "New property in this revision of DCAT" ;
skos:editorialNote "Introduced into DCAT to complement prov:hadRole, whose use is limited to roles in the context of an activity, with the domain of prov:Association" ;
skos:scopeNote "May be used in a qualified-attribution to specify the role of an Agent with respect to an Entity. It is recommended that the value be taken from a controlled vocabulary of agent roles, such as http://registry.it.csiro.au/def/isotc211/CI_RoleCode " ;
skos:scopeNote """May be used in a qualified-relation to specify the role of an Entity with respect to another Entity.
It is recommended that the value be taken from a controlled vocabulary of entity roles such as
- ISO 19115 DS_AssociationTypeCode http://registry.it.csiro.au/def/isotc211/DS_AssociationTypeCode
- IANA Registry of Link Relations https://www.iana.org/assignments/link-relation
- DataCite metadata schema
- MARC relators https://id.loc.gov/vocabulary/relators""" ;
.
dcat:qualifiedRelation
rdf:type owl:ObjectProperty ;
rdfs:comment "Link to a description of a relationship with another resource."@en ;
rdfs:domain dcat:Resource ;
rdfs:label "qualified relation" ;
rdfs:range dcat:Relationship ;
rdfs:subPropertyOf prov:qualifiedInfluence ;
skos:changeNote "New property in this revision of DCAT" ;
skos:editorialNote "Introduced into DCAT to complement the other PROV qualified relations" ;
skos:scopeNote "Used to link to another resource where the nature of the relationship is known but does not match one of the standard Dublin Core properties (dct:hasPart, dct:isPartOf, dct:conformsTo, dct:isFormatOf, dct:hasFormat, dct:isVersionOf, dct:hasVersion, dct:replaces, dct:isReplacedBy, dct:references, dct:isReferencedBy, dct:requires, dct:isRequiredBy) or PROV-O properties (prov:wasDerivedFrom, prov:wasInfluencedBy, prov:wasQuotedFrom, prov:wasRevisionOf, prov:hadPrimarySource, prov:alternateOf, prov:specializationOf)." ;
.
<http://www.w3.org/ns/dcat/qualrel>
rdf:type owl:Ontology ;
dcterms:created "2018-09-25"^^xsd:date ;
dcterms:creator <http://orcid.org/0000-0002-3884-3420> ;
dcterms:creator <https://www.w3.org/2017/dxwg/wiki/Main_Page> ;
rdfs:comment "RDF graph containing extensions to DCAT to support qualified relations" ;
rdfs:label "DCAT qualified relations" ;
rdfs:seeAlso <https://github.com/w3c/dxwg/wiki/Qualified-relations> ;
owl:imports <http://www.w3.org/ns/dcat/prov> ;
.
Loading

0 comments on commit b3aea44

Please sign in to comment.