@faubulous/mentor-rdf 2.6.1 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,7 +36,7 @@ An [RDF.js](https://rdf.js.org/)-compatible triple store with:
36
36
 
37
37
  ### Vocabulary constants
38
38
 
39
- The IRIs of the bundled vocabularies are exported as constants: `RDF.type` and `XSD.string` as strings, `rdf.type` as RDF/JS terms, and `_RDF` or `_XSD` for the namespace. Code that needs only these constants, such as a browser bundle, imports them from their own entry point so that the rest of the library stays out of the bundle:
39
+ The IRIs of the bundled vocabularies (RDF, RDFS, OWL, XSD, SHACL, SKOS, SKOS-XL, DCAT, RDFa, SPARQL and schema.org) are exported as constants: `RDF.type` and `XSD.string` as strings, `rdf.type` as RDF/JS terms, and `_RDF` or `_XSD` for the namespace. schema.org is in its `https://schema.org/` namespace. A constants object holds only the terms of its own vocabulary, not those of other vocabularies its file maps them to. Code that needs only these constants, such as a browser bundle, imports them from their own entry point so that the rest of the library stays out of the bundle:
40
40
 
41
41
  ```ts
42
42
  import { RDF, XSD } from '@faubulous/mentor-rdf/ontologies';