Skip to content

Instantly share code, notes, and snippets.

@gatemezing
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gatemezing/1349ce643d90fa49cdca to your computer and use it in GitHub Desktop.
Save gatemezing/1349ce643d90fa49cdca to your computer and use it in GitHub Desktop.
sample data using DUV for a collection of dataset catalog, taken from URL in data.gouv.fr at https://www.data.gouv.fr/fr/datasets/depenses-d-assurance-maladie-hors-prestations-hospitalieres-donnees-nationales/
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix org: <http://www.w3.org/ns/org#> .
@prefix duv: <http://www.w3.org/ns/duv#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ex: <http://example.com/> .
ex:cdsIndatagouv a dcat:Catalog;
dcat:dataset ex:dst1, ex:dst2 ;
dcterms:publisher [a org:Organization; rdfs:label "Amelie-Assurance Maladie"@fr];
dcterms:licence <http://www.data.gouv.fr/Licence-Ouverte-Open-License>; #better an uri here
# more metadata here ##
# We might need a duv:feedback as an inverse property for duv:endorses
.
## the csv uploader of data.gouv feedback ##
[] a foaf:Agent, duv:Consumer ;
foaf:name "CSVuploader"@en ;
duv:provides [a duv:Feedback;
rdfs:label "no errors detected"@fr
] ;
duv:endorses ex:cdsIndatagouv ;
.
## cquest is a person providing feedback ###
ex:cquest a foaf:Person, duv:Consumer ;
duv:provides ex:fdbcquest ;
.
## ptodorov provides a blog as feedback ###
ex:ptodorov a foaf:Person, duv:Consumer ;
duv:provides ex:fdbptodorov ;
.
## the feedback here is a curated dataset
## yet another Distribution ##
ex:fdbcquest a duv:Feedback, dcat:Distribution ;
dcterms:issued "2014-12-18"^^xsd:date ;
dcat:accessURL <data.cquest.org/cnam/damir> ;
dcterms:format "CSV";
dcat:downloadURL <data.cquest.org/cnam/damir/N2014.tgz>;
duv:numberOfDownload "37" ; # Do we need to track the number of downloads?
duv:endorses ex:cdsIndatagouv ; # linking the feedback to the original catalog
.
ex:fdbptodorov a duv:Blog;
## access to the summary describing the feedback ##
dcterms:description <https://www.data.gouv.fr/fr/reuses/delais-de-remboursement-campagne-anti-grippe> ;
## access to the full blog ##
foaf:homepage <http://stadius.fr/fr/?p=169> ;
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment