sample_diagnostic_marker - 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/>

:sampleShape IRI {
  a [obo:NCIT_C43412];
  sio:SIO_000008  @:sampleDMShape
}
:sampleDMShape IRI {
  a [sio:SIO_000614];
  sio:SIO_000332 [obo:NCIT_C15607];  
  sio:SIO_000300 /^http:\/\/purl.obolibrary.org\/obo\/NCIT_/ # Should be a subclass of NCIT:C25294 (Laboratory Procedure)
}

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/> .

:sample1 a obo:NCIT_C43412;
sio:SIO_000008  :sample_diagnosticmarker1 .

:sample_diagnosticmarker1
    a sio:SIO_000614; # attribute
    sio:SIO_000332 obo:NCIT_C15607; # is about
    sio:SIO_000300 obo:NCIT_C68748. # has value ((HER2/Neu Positive))