field33 / owlish Goto Github PK
View Code? Open in Web Editor NEWOWL2 representation in Rust
Home Page: https://crates.io/crates/owlish
License: Apache License 2.0
OWL2 representation in Rust
Home Page: https://crates.io/crates/owlish
License: Apache License 2.0
The Error
type used when constructing an IRI (
Lines 101 to 103 in 1ea4a30
Until #2 (and a corresponding serializer) is implemented we will be relying on the JSON format provided via serde for some time.
To be able to use that on the WASM side (which currently only supports parsing an ontology from Turtle), the deserialization will also need to be exposed on that side.
As of version 0.2.0
of harriet
, it is possible to convert a parsed Turtle document to a stream of RDF triples.
Parsing on that stream of RDF triples instead of the AST provided by harriet
, should allow a much more robust parser that can handle all the different AST constructs that yield the same triples.
One of the OWL2 specification document (https://www.w3.org/TR/2012/REC-owl2-mapping-to-rdf-20121211/) describes how to parse an ontology from RDF triples. Specifically section 3 specifies the mapping for the direction RDF->OWL (https://www.w3.org/TR/2012/REC-owl2-mapping-to-rdf-20121211/#Mapping_from_RDF_Graphs_to_the_Structural_Specification).
It looks like with the current info in the package.json
, there may not be enough info for the package to be correctly interpreted as a ES6 module.
By adding the following keys, it seems to work better (I don't know where to find definitive info on it):
"type": "module",
"exports": "./owlish.js",
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.