Sample_phenotypic_feature - 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/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX dct: <http://purl.org/dc/terms/>
:sampleShape IRI {
a [obo:NCIT_C43412];
sio:SIO_000008 @:samplePFShape
}
:samplePFShape IRI {
a [sio:SIO_000614];
sio:SIO_000332 [obo:ncit_C16977];
sio:SIO_000300 /^http:\/\/purl.obolibrary.org\/obo\/HP_/ OR /^http:\/\/www.orpha.net\/ORDO\/Orphanet_/ ;
dct:description xsd:string
}
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 xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dct: <http://purl.org/dc/terms/> .
:sample1 a obo:NCIT_C43412;
sio:SIO_000008 :phenotypicfeature1 .
:phenotypicfeature1 a sio:SIO_000614; # attribute
sio:SIO_000332 obo:ncit_C16977 ; # is about
sio:SIO_000300 obo:HP_0001249 ; # has value
dct:description "Description of phenotypefeature1" . #description;