Sample Identifier - xiaofengleo/phenopackets-rdf-schema GitHub Wiki

Semantic model figure


ShEx

PREFIX : <http://purl.org/ejp-rd/phenopackets-rdf-schema/v010/shex/>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

:sampleShape IRI {
  a [obo:NCIT_C43412];
  dct:description xsd:string
 }

:sampleIdShape IRI{
 a obo:NCIT_C25364;
 dct:identifier xsd:string;
 obo:IAO_0000219 @:sampleShape
}

Example turtle

@prefix : <http://purl.org/ejp-rd/phenopackets-rdf-schema/v010/example-rdf/> .
@prefix obo: <http://purl.obolibrary.org/obo/> .
@prefix dcterms: <http://purl.org/dc/terms/> .

:sample1 a obo:NCIT_C43412 ;				
dcterms:description  "Description of the sample" .


:sample1_id1 a obo:NCIT_C25364; # Identifier
  dcterms:identifier "sample1";
  obo:IAO_0000219 :sample1.