@oml/owl
v0.11.0
Published
The semantic web specific package
Readme
OML OWL
@oml/owl contains the semantic web layer for OML.
It is responsible for:
- mapping OML models to OWL/RDF
- reasoning services and prepared datasets
- SPARQL query and construct execution
- SHACL validation
- semantic service composition through
createOwlServices(...)
Package Boundary
@oml/languageowns syntax, AST, language services, validation, scope, rename, hover, formatting, and workspace mechanics@oml/owldepends on@oml/language@oml/markdowndepends on@oml/owl
This keeps semantic web concerns out of the language package.
Main Exports
createOwlServicesReasoningServicePreparedReasonedModelOml2OwlMappercreateOwlOntologyQuadsowlOntologyPrefixesderiveSelectQueryFromShapecreateDefaultShaclServiceregisterShaclValidationRequests
Instructions
Use this package when you need OML semantic services instead of core language services alone.
Typical usage:
import { createOwlServices } from '@oml/owl';
const { shared, Oml } = createOwlServices(context);
const reasoningService = Oml.reasoning.ReasoningService;For pure language tooling without the semantic layer, use @oml/language.
