Skip to content

This repository contains mappings of EJPRD metadata model and bioschema

License

Notifications You must be signed in to change notification settings

LUMC-BioSemantics/ejprd-metadata-bioschema-mappings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

GitHub GitHub tag (funder)

ejprd-metadata-bioschema-mappings

This repository contains the mappings between the EJPRD metadata model and the bioschemas.org model.

The mapping

The mapping file contains both OWL-based mappings and SKOS-based mappings. The latter is used to provide a more accurate semantic to the mappings, as some OWL-based mappings (e.g., owl:sameAs) might be too strict. Still, we maintained the OWL-based mappings to provide an automatic machine-actionable translation of the EJP RD metadata resources to bioschema.org concepts.

Demo

We hosted the mapping files and some of the EJPRD resources metadata in this triplestore under the repository ejprd-metadata-model-mappings. Below you can find examples of SPARQL queries that make use of these mappings.

Note: The SPARQL queries below are written from the schema.org/bioschema perspective. So the concepts and properties related to the schema.org/bioschema are shown in the queries.

Get datasets and its properties
PREFIX schema: <https://schema.org/>

SELECT DISTINCT ?dataset ?name ?theme WHERE { 
	?dataset a schema:Dataset;
    	schema:name ?name;
     	schema:about ?theme.
}
Get catalogs and its properties
PREFIX schema: <https://schema.org/>

SELECT DISTINCT ?catalog ?name WHERE { 
	?catalog a schema:Dataset;
    	schema:name ?name.
}
Get patient registry and its properties
PREFIX schema: <https://schema.org/>
PREFIX ejprd: <http://purl.org/ejp-rd/vocabulary/>

SELECT DISTINCT ?patient_registry ?name ?theme WHERE { 
	?patient_registry a schema:Thing, ejprd:PatientRegistry;
    	schema:name ?name;
     	schema:about ?theme.
}

Note: In this query we used both schema.org/bioschema and ejprd concepts to retrieve patient registry resources. This approach is required since we can only map ejprd:Patient Registry concept to the generic schema:Thing concept.

Get biobank and its properties
PREFIX schema: <https://schema.org/>
PREFIX ejprd: <http://purl.org/ejp-rd/vocabulary/>

SELECT DISTINCT ?biobank ?name ?theme WHERE { 
	?biobank a schema:Thing, ejprd:Biobank;
    	schema:name ?name;
     	schema:about ?theme.
}

Note: In this query we used both schema.org/bioschema and ejprd concepts to retrieve patient registry resources. This approach is required since we can only map ejprd:Biobank concept to the generic schema:Thing concept.

About

This repository contains mappings of EJPRD metadata model and bioschema

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published