Skip to content

Latest commit

 

History

History
101 lines (79 loc) · 2.58 KB

biobank.md

File metadata and controls

101 lines (79 loc) · 2.58 KB

ejp:Biobank concept is a custom extension we added to the DCAT2 vocabulary. In our extension we defined ejp:Biobank is a subclass of dcat:Resource.

Metadata model figure


Example rdf (turtle)

@prefix : <http://purl.org/ejp-rd/metadata-model/v1/example-rdf/> .
@prefix dcat:  <http://www.w3.org/ns/dcat#> .
@prefix dct:   <http://purl.org/dc/terms/> .
@prefix ejp:   <https://w3id.org/ejp-rd/vocabulary#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix sio:  <http://semanticscience.org/resource/> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ordo: <http://www.orpha.net/ORDO/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

:biobank a ejp:Biobank ;
  dct:publisher :organisation ;        
  dct:title "Austrian Bone Marrow Donor Registry" ;
  ejp:populationCoverage  :population_coverage ;
  dcat:theme  ordo:Orphanet_171895 ;
  foaf:page <http://www.stammzellspende.at> .

ordo:Orphanet_171895 a skos:Concept . # Declaration to comply with dcat:theme range of skos:Concept

:organisation a foaf:Organisation ;
  dct:title "Fonds Österreichisches Stammzellregister" ;
  dct:spatial  :location .

:population_coverage  a sio:SIO_001166 ;
  rdfs:label  "National" .

:location a dct:Location ;
  dct:title  "Austria" .

Validation artifacts

ShEx figure


ShEx
PREFIX : <http://purl.org/ejp-rd/metadata-model/v1/shex/>
PREFIX dcat:  <http://www.w3.org/ns/dcat#>
PREFIX dct:   <http://purl.org/dc/terms/>
PREFIX ejp:   <https://w3id.org/ejp-rd/vocabulary#>
PREFIX foaf:  <http://xmlns.com/foaf/0.1/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX sio:  <http://semanticscience.org/resource/>
PREFIX rdfs:  <http://www.w3.org/2000/01/rdf-schema#>

:biobankShape IRI {
  a [ejp:Biobank];
  dct:title xsd:string;
  dct:description xsd:string*;
  ejp:populationCoverage @:populationCoverageShape*;
  dcat:theme IRI+;
  dct:publisher @:organisationShape;
  foaf:page IRI*
}

:locationShape IRI {
  a [dct:Location];
  dct:title xsd:string;
  dct:description xsd:string*;
}

:organisationShape IRI {
  a [foaf:Organisation];
  dct:title xsd:string;
  dct:description xsd:string*;
  dct:spatial @:locationShape;
  foaf:page IRI*
}

:populationCoverageShape IRI {
  a [sio:SIO_001166];
  rdfs:label ["National" "International" "Regional"]
}