disease_individual - 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 sio: <http://semanticscience.org/resource/> 


:individualShape IRI {
  a [obo:NCBITaxon_9606] ;
  obo:ERO_0002100 @:diseaseShape 
}

:diseaseShape IRI {
  a [obo:ncit_C2991];
  sio:SIO_000300 /^http:\/\/www.orpha.net\/ORDO\/Orphanet_/  
 }

Example turtle

@prefix : <http://purl.org/ejp-rd/phenopackets-rdf-schema/v010/example-rdf/> .
@prefix obo: <http://purl.obolibrary.org/obo/> .
@prefix sio: <http://semanticscience.org/resource/> .
@prefix ordo: <http://www.orpha.net/ORDO/Orphanet_> .


:individual1 a obo:NCBITaxon_9606;
obo:ERO_0002100 :disease1.

:disease1 a obo:ncit_C2991 ;
sio:SIO_000300 ordo:710.