Skip to content

Commit

Permalink
Added draft shapes for substrate and measurement
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Dec 20, 2023
1 parent 28980d8 commit b4791a4
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/GroovyScriptTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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#???
33 changes: 33 additions & 0 deletions shapes/Measurement.shex
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
BASE <http://bigcat-um.github.io/KinRDF/shapes#>
PREFIX : <http://bigcat-um.github.io/KinRDF/shapes#>

PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sbd: <https://www.sbd4nano.eu/rdf/#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wp: <http://vocabularies.wikipathways.org/wp#>
PREFIX sio: <http://semanticscience.org/resource/>
PREFIX chebi: <http://purl.obolibrary.org/obo/>

: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 [
]
16 changes: 16 additions & 0 deletions shapes/Substrate.shex
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
BASE <http://bigcat-um.github.io/KinRDF/shapes#>
PREFIX : <http://bigcat-um.github.io/KinRDF/shapes#>

PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sbd: <https://www.sbd4nano.eu/rdf/#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wp: <http://vocabularies.wikipathways.org/wp#>
PREFIX sio: <http://semanticscience.org/resource/>
PREFIX chebi: <http://purl.obolibrary.org/obo/>

:Substrate {
a [ chebi:CHEBI_23367 ]
}

0 comments on commit b4791a4

Please sign in to comment.