You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to me that you want to do some kind of data validation. If I understand correctly, then you want to constrain the values of say mod:knownUsage to strings (with or without a language tag). I would use SHACL to specify and check such data constraints.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
From @ckindermann in issue #114
It seems to me that you want to do some kind of data validation. If I understand correctly, then you want to constrain the values of say
mod:knownUsageto strings (with or without a language tag). I would use SHACL to specify and check such data constraints.Something like this:
Here's an example of how this would look like:
Input:
Running a SHACL validator on the input with the shape above returns a report of the form
FYI:
The triple
mod:Example2 mod:knownUsage "Used in BioPortal." .is syntactic sugar in RDF for
mod:Example2 mod:knownUsage "Used in BioPortal."^^xsd:string .See here:
Beta Was this translation helpful? Give feedback.
All reactions