Code Monkey home page Code Monkey logo

Comments (5)

JoelBender avatar JoelBender commented on June 12, 2024

Are you interested in just RDFS entailment so the non-RDFS statements in the extra ontology document are ignored, or would you also want entailment from some OWL 2 profile? Maybe run the data file through some external tool(s) that provide these (like cwm or pychinko, or maybe something you can feed in SPIN rules)?

from pyshacl.

ashleysommer avatar ashleysommer commented on June 12, 2024

pySHACL can already do OWL-RL entailment, RDFS entailment, Both, or None.
I am interested in the use case where there is an external ontology document that uses (a combination of) OWL2 and RDFS to describe a data model, and where a data file given to pySHACL contains snippets which are instances of that data model and rely on those OWL/RDFS axioms in order to be fully described, but the data file itself does not contain the necessary axioms for the pySHACL pre-validation inferencer to correctly build out the graph.

from pyshacl.

nicholascar avatar nicholascar commented on June 12, 2024

Agree this would be great to have as it would basically unify SHACL and custom ontology validation, given that pySHACL already does OWL-RL-level graph expansion as Ashley mentioned above.

Have to be a bit careful you don't implement a recursive loading mechanism where user wants to add in Ontology X that import Y which imports Z etc. so you might have to either provide import options or limit to just import that ontology only.

from pyshacl.

ashleysommer avatar ashleysommer commented on June 12, 2024

@nicholascar
Absolutely, it will be limited to just one external ontology document, and it will explicitly not follow imports declared in that file.

from pyshacl.

ashleysommer avatar ashleysommer commented on June 12, 2024

This feature is implemented in da55eab
and released as part of pySHACL v0.9.9

from pyshacl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.