aboutsummaryrefslogtreecommitdiff
path: root/bh20sequploader/bh20seq-shex.rdf
diff options
context:
space:
mode:
authorPeter Amstutz2020-04-20 12:50:03 -0400
committerPeter Amstutz2020-04-20 12:50:03 -0400
commit1219eaf496c899f3043b90e30eb956f0f363bfb3 (patch)
treea0735d5df88e608c5461d5b3cb9a3c6bb2f0f32e /bh20sequploader/bh20seq-shex.rdf
parenta2d19fa7b34170abab3759cdff14d8b052178a8a (diff)
downloadbh20-seq-resource-1219eaf496c899f3043b90e30eb956f0f363bfb3.tar.gz
bh20-seq-resource-1219eaf496c899f3043b90e30eb956f0f363bfb3.tar.lz
bh20-seq-resource-1219eaf496c899f3043b90e30eb956f0f363bfb3.zip
Add ShEx validation
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Diffstat (limited to 'bh20sequploader/bh20seq-shex.rdf')
-rw-r--r--bh20sequploader/bh20seq-shex.rdf59
1 files changed, 59 insertions, 0 deletions
diff --git a/bh20sequploader/bh20seq-shex.rdf b/bh20sequploader/bh20seq-shex.rdf
new file mode 100644
index 0000000..8d3f5fc
--- /dev/null
+++ b/bh20sequploader/bh20seq-shex.rdf
@@ -0,0 +1,59 @@
+PREFIX : <https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-shex.rdf#>
+PREFIX MainSchema: <http://biohackathon.org/bh20-seq-schema#MainSchema/>
+PREFIX hostSchema: <http://biohackathon.org/bh20-seq-schema#hostSchema/>
+PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
+PREFIX obo: <http://purl.obolibrary.org/obo/>
+PREFIX sio: <http://semanticscience.org/resource/>
+PREFIX efo: <http://www.ebi.ac.uk/efo/>
+PREFIX evs: <http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#>
+PREFIX edam: <http://edamontology.org/>
+
+:submissionShape {
+ MainSchema:host @:hostShape ;
+ MainSchema:sample @:sampleShape ;
+ MainSchema:submitter @:submitterShape ;
+ MainSchema:technology @:technologyShape ;
+ MainSchema:virus @:virusShape;
+}
+
+:hostShape {
+ efo:EFO_0000532 [ obo:NCBITaxon_~ ] ;
+ obo:PATO_0000047 [ obo:NCIT_C20197 obo:NCIT_C27993 obo:NCIT_C17998 ] ;
+ sio:SIO_000115 xsd:string ;
+ obo:PATO_0000011 xsd:integer ?;
+ obo:NCIT_C42574 [ obo:UO_~ ] ?;
+ sio:SIO_001167 xsd:string ?;
+ efo:EFO_0000727 xsd:string ?;
+}
+
+:sampleShape {
+ obo:OBI_0001895 xsd:string ;
+ sio:SIO_000115 xsd:string ;
+ sio:SIO_001167 xsd:string ;
+ evs:C25164 xsd:string ?;
+ obo:GAZ_00000448 [obo:GAZ_~] ?;
+ obo:OBI_0001472 xsd:string ?;
+ obo:OBI_0001479 xsd:string ?;
+}
+
+:submitterShape {
+ sio:SIO_000116 xsd:string ;
+ obo:NCIT_C37984 xsd:string ;
+ obo:NCIT_C37900 xsd:string ?;
+ obo:NCIT_C42781 xsd:string ?;
+ obo:OBI_0600047 xsd:string ?;
+ sio:SIO_000115 /https:\u002F\u002Forcid.org\u002F.{4}-.{4}-.{4}-.{4}/?;
+ sio:SIO_000172 xsd:string ?;
+ efo:EFO_0001741 xsd:string ?;
+}
+
+:technologyShape {
+ obo:OBI_0600047 xsd:string ;
+ obo:FLU_0000848 xsd:integer ?;
+ efo:EFO_0002699 xsd:string ?;
+}
+
+:virusShape{
+ edam:data_1875 [ obo:NCBITaxon_~ ] ;
+ sio:SIO_010055 xsd:string ?;
+} \ No newline at end of file