Skip to content

Commit

Permalink
Merge branch 'gh-pages' into dcat-issue119
Browse files Browse the repository at this point in the history
  • Loading branch information
davebrowning committed Apr 26, 2019
2 parents 2f4868a + ebf6076 commit 0394eb9
Show file tree
Hide file tree
Showing 19 changed files with 2,515 additions and 183 deletions.
64 changes: 64 additions & 0 deletions dcat/examples/compress-and-package.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"@graph" : [ {
"@id" : "https://data.example.au/compressed/",
"@type" : "owl:Ontology"
}, {
"@id" : "https://data.gov.cz/zdroj/datová-sada/247025684/22",
"@type" : "dcat:Distribution",
"conformsTo" : "https://mvcr1.opendata.cz/czechpoint/2007.json",
"format" : "http://publications.europa.eu/resource/authority/file-type/CSV",
"license" : "https://data.gov.cz/podmínky-užití/volný-přístup/",
"accessURL" : [ "https://mvcr1.opendata.cz/czechpoint/data.tar", "https://mvcr1.opendata.cz/czechpoint/2007.csv.gz", "https://mvcr1.opendata.cz/czechpoint/data.tar.gz" ],
"compressFormat" : "http://www.iana.org/assignments/media-types/application/gzip",
"downloadURL" : [ "https://mvcr1.opendata.cz/czechpoint/2007.csv.gz", "https://mvcr1.opendata.cz/czechpoint/data.tar.gz", "https://mvcr1.opendata.cz/czechpoint/data.tar" ],
"mediaType" : "http://www.iana.org/assignments/media-types/text/csv",
"packageFormat" : "http://publications.europa.eu/resource/authority/file-type/TAR"
} ],
"@context" : {
"accessURL" : {
"@id" : "http://www.w3.org/ns/dcat#accessURL",
"@type" : "@id"
},
"format" : {
"@id" : "http://purl.org/dc/terms/format",
"@type" : "@id"
},
"mediaType" : {
"@id" : "http://www.w3.org/ns/dcat#mediaType",
"@type" : "@id"
},
"packageFormat" : {
"@id" : "http://www.w3.org/ns/dcat#packageFormat",
"@type" : "@id"
},
"downloadURL" : {
"@id" : "http://www.w3.org/ns/dcat#downloadURL",
"@type" : "@id"
},
"license" : {
"@id" : "http://purl.org/dc/terms/license",
"@type" : "@id"
},
"compressFormat" : {
"@id" : "http://www.w3.org/ns/dcat#compressFormat",
"@type" : "@id"
},
"conformsTo" : {
"@id" : "http://purl.org/dc/terms/conformsTo",
"@type" : "@id"
},
"adms" : "http://www.w3.org/ns/adms#",
"owl" : "http://www.w3.org/2002/07/owl#",
"xsd" : "http://www.w3.org/2001/XMLSchema#",
"proj" : "http://www.w3.org/ns/project#",
"skos" : "http://www.w3.org/2004/02/skos/core#",
"rdfs" : "http://www.w3.org/2000/01/rdf-schema#",
"dap" : "https://data.csiro.au/dataset/",
"dct" : "http://purl.org/dc/terms/",
"rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"v" : "http://www.w3.org/2006/vcard/ns#",
"time" : "http://www.w3.org/2006/time#",
"dcat" : "http://www.w3.org/ns/dcat#",
"prov" : "http://www.w3.org/ns/prov#"
}
}
28 changes: 20 additions & 8 deletions dcat/examples/compress-and-package.ttl
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
# compression

# baseURI: https://data.example.au/compressed/
# imports: http://www.w3.org/2006/time
# imports: http://www.w3.org/2006/vcard/ns
# imports: http://www.w3.org/ns/adms
# imports: http://www.w3.org/ns/dcat
# imports: http://www.w3.org/ns/project
# prefix: dap

@prefix adms: <http://www.w3.org/ns/adms#> .
@prefix dap: <https://data.csiro.au/dataset/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix proj: <http://www.w3.org/ns/project#> .
@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 time: <http://www.w3.org/2006/time#> .
@prefix v: <http://www.w3.org/2006/vcard/ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .


<https://data.gov.cz/zdroj/datová-sada/247025684/22> a dcat:Distribution ;
dcat:accessURL <https://mvcr1.opendata.cz/czechpoint/2007.csv.gz> ;
Expand All @@ -14,9 +32,6 @@

# packaging

@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://data.gov.cz/zdroj/datová-sada/247025684/22> a dcat:Distribution ;
dcat:accessURL <https://mvcr1.opendata.cz/czechpoint/data.tar> ;
dcat:downloadURL <https://mvcr1.opendata.cz/czechpoint/data.tar> ;
Expand All @@ -28,9 +43,6 @@

# packaging and compression

@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://data.gov.cz/zdroj/datová-sada/247025684/22> a dcat:Distribution ;
dcat:accessURL <https://mvcr1.opendata.cz/czechpoint/data.tar.gz> ;
dcat:downloadURL <https://mvcr1.opendata.cz/czechpoint/data.tar.gz> ;
Expand Down
Loading

0 comments on commit 0394eb9

Please sign in to comment.