Could anyone here help point to some good, concise examples of using inference based on OWL, RDFS, SKOS, etc.?
[ And, ideally, related Py code – though any lang will do! ]
There’s the OWL-2-RL spec, and we’ve integrated rdflib/OWL-RL and parts of Skosify into kglab
to support inference cases. So far, there are some relatively simple examples given in https://github.com/DerwenAI/kglab/blob/main/examples/ex10.ipynb although I’d love to show something more substantial – without having to get into RIF just yet, or integrating a more complex reasoning system in this Py example code.
FWIW, I’ve seen riftr
but was looking for code that’s a wee bit more “production ready” that this Also looked into owlready2
although that gets into “ontology-oriented programming” which appears to be a bit challenging to integrate the PyData-ish pipelines (pandas, numpy, spacy, etc.) that we’re focused on.
Related Q&A:
- Real-world examples of RDF inference
- How is inference used in practice?
- What is the difference between RDF, RDFS and OWL
Many thanks -