-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New feature: validate --shacl #576
Comments
I agree, this would be a handy extension to |
My understanding is that Apache license basically allows whatever you like. |
See also #387 where we're talking about a I like the idea of adding SHACL and ShEx to ROBOT, as long as the dependencies are all on the JVM and not overwhelmingly large. ROBOT is already a kitchen sink. The value-added is a single JAR to install, OBO-focus, and the most coherent interface we can manage. My only concern is that we're talking about a lot of different approaches to validation. Maybe these could all be called |
I am not concerned about naming here; you can go ahead as you see fit. Specific commands are fine by me.. |
The lib we would use would be java.
I think having a declarative schema for the shapes we expect for OBO
classes would be fantastic. It's great that robot report will check for
some kinds of cardinality violations but having things together in a shape
file would be great.
There will be challenges in defining what the schema is. OBO has been quite
anarchic here, which has caused problems for developers who expect a more
predictable structure. We even failed to agree on a single vocabulary for
synonyms in OBO.
I expect we will have a modular layered approach, with a loose core, and
additional modules of constraints on top. This will give us more of a
vocabulary for describing a more predictable shape of an ontology, e.g.
this ontology is obo-basic following go-like-properties-variant1, or
obi-like-properties-variant2
…On Mon, Oct 7, 2019 at 8:27 AM James A. Overton ***@***.***> wrote:
See also #387 <#387> where we're
talking about a validate command with DL Query, mainly for tables.
I like the idea of adding SHACL and ShEx to ROBOT, as long as the
dependencies are all on the JVM and not overwhelmingly large. ROBOT is
already a kitchen sink. The value-added is a single JAR to install,
OBO-focus, and the most coherent interface we can manage.
My only concern is that we're talking about a lot of different approaches
to validation. Maybe these could all be called validate with command-line
switches (at the risk of overloading), or maybe they get their own
specialized commands, like our existing validate-profile (more verbose,
maybe more confusing).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#576?email_source=notifications&email_token=AAAMMOKHE4QCZ6ZI5ILGLKDQNNINZA5CNFSM4I5XOH42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAQYO2Y#issuecomment-539068267>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAMMONGSKZRZDGKHUBAM5DQNNINZANCNFSM4I5XOH4Q>
.
|
I saw some cool uses of shacl as a constraint language for RDF graphs at the tutorial at Connected Data 2019; I think it would be v. cool if we could offer to do this with ROBOT.
Here is the library: https://github.com/TopQuadrant/shacl
The license seem to be apache 2, not sure what that means for us. Maybe @HolgerKnublauch could tell us whether this is at all allowed, and we can think whether it makes sense to support it given our relatively large user base. One possible way to phrase this command would be
or rely on file extension to disambiguate.
If this is overkill for ROBOT, it could also go straight into ODK (license permitted). @cmungall @jamesaoverton @balhoff @beckyjackson
The text was updated successfully, but these errors were encountered: