diff --git a/.github/workflows/GroovyScriptTest.yml b/.github/workflows/GroovyScriptTest.yml index 2342e95..7dd040d 100644 --- a/.github/workflows/GroovyScriptTest.yml +++ b/.github/workflows/GroovyScriptTest.yml @@ -24,3 +24,5 @@ jobs: run: | groovy validate.groovy InteractionData http://vocabularies.wikipathways.org/wp#InteractionData groovy validate.groovy Enzyme http://vocabularies.wikipathways.org/wp#Protein + # groovy validate.groovy Substrate http://vocabularies.wikipathways.org/wp#??? + # groovy validate.groovy Measurement http://vocabularies.wikipathways.org/wp#??? diff --git a/shapes/Measurement.shex b/shapes/Measurement.shex new file mode 100644 index 0000000..98ba748 --- /dev/null +++ b/shapes/Measurement.shex @@ -0,0 +1,33 @@ +BASE +PREFIX : + +PREFIX dc: +PREFIX dct: +PREFIX foaf: +PREFIX rdfs: +PREFIX sbd: +PREFIX xsd: +PREFIX wp: +PREFIX sio: +PREFIX chebi: + +:Measurement { + dct:references IRI + ; + dc:source Literal ; + wp:organismName [@en] ; + SER:hasKm @:MeasurementValue * ; + SER:hasPh @:MeasurementValue * ; + wdt:P2076 @:MeasurementValue * ; + SER:hasKcat @:MeasurementValue * ; + SER:hasKcatKm @:MeasurementValue * ; + dc:source Literal ; + dct:references @:Publication +] + +:MeasurementValue [ + sio:has-unit Literal ; + sio:has-value Literal +] + +:Publication [ +] diff --git a/shapes/Substrate.shex b/shapes/Substrate.shex new file mode 100644 index 0000000..b2c699c --- /dev/null +++ b/shapes/Substrate.shex @@ -0,0 +1,16 @@ +BASE +PREFIX : + +PREFIX dc: +PREFIX dct: +PREFIX foaf: +PREFIX rdfs: +PREFIX sbd: +PREFIX xsd: +PREFIX wp: +PREFIX sio: +PREFIX chebi: + +:Substrate { + a [ chebi:CHEBI_23367 ] +}