Onto-Med / top-api

REST API of the TOP Framework
https://onto-med.github.io/top-api/
MIT License
0 stars 1 forks source link

RDF Mapping #178

Open ChristophB opened 4 months ago

ChristophB commented 4 months ago

As stated in https://github.com/Onto-Med/top-frontend/issues/335, we want to provide content of the TOP Framework in RDF format to enable better interoperability and as a step to implement the FAIR principles.

ChristophB commented 4 months ago

Types of resources

We will stick to phenotypes for now, leaving out text related concepts.

ChristophB commented 4 months ago

Organisation

TOP property RDFS equivalent value
id dcterms:identifier  
name dcterms:title  
description dcterms:description  
createdAt dcterms:created  
updatedAt dcterms:modified  
superOrganisation dcterms:isPartOf superOrganisation.id
permission -  
  dcterms:publisher framework base URL
  foaf:page URL of organisation, without /api
  rdf:type http://purl.org/dc/dcmitype/Collection
  rdf:type foaf:Organisation

Repository

TOP property RDFS equivalent value
id dcterms:identifier  
name dcterms:title  
description dcterms:description  
primary dcterms:accessRights true=http://publications.europa.eu/resource/authority/access-right/PUBLIC false=http://publications.europa.eu/resource/authority/access-right/RESTRICTED
createdAt dcterms:created  
updatedAt dcterms:modified  
organisation dcterms:isPartOf organisation.id
repositoryType dcterms:type cop:Phenotype
  dcterms:publisher framework base URL
  foaf:page URL of repository, without /api
  rdf:type http://purl.org/dc/dcmitype/Collection

Phenotype

TOP property RDFS equivalent value
id dcterms:identifier  
entityType rdf:type single_phenotype=cop:BasicPhenotypeClass composite_phenotype=cop:DerivedPhenotypeClass single_restriction=cop:BasicPhenotypeRestriction composite_restriction=cop:DerivedPhenotypeRestriction
titles dcterms:title  
synonyms dcterms:alternative  
descriptions dcterms:description  
version pav:version  
author dcterms:creator  
createdAt dcterms:created  
codes skos:closeMatch code URI
repository dcterms:isPartOf  
equivalentEntities skos:exactMatch  
superCategories dcterms:isPartOf  
subCategories dcterms:hasPart  
superPhenotype single_restriction=cop:basicRestrictionOf composite_restriction=cop:derivedRestrictionOf  
dataType sd:hasDataType map to ONTODT or xsd data types?
itemType cop:hasRepresentationAttribute  
restriction    
expression cop:hasRepresentationAttribute expression.toString()
unit iao:has measurement unit label map UCUM to UO concepts?
  dcterms:publisher framework base URL
  foaf:page URL of phenotype, without /api
  dcterms:replaces URL of previous version
  dcterms:isReplacedBy URL of next version