@ontologies/shacl
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.0 • Public • Published

    W3C Shapes Constraint Language (SHACL) Vocabulary ontology

    This package contains the terms from the W3C Shapes Constraint Language (SHACL) Vocabulary ontology for JavaScript and TypeScript.

    Namespace: http://www.w3.org/ns/shacl#

    Normative spec: https://www.w3.org/TR/shacl/

    LOV: https://lov.linkeddata.es/dataset/lov/vocabs/sh

    Source: https://www.w3.org/ns/shacl.ttl

    About

    This readme was automatically generated, for more information see the main ontologies repository.

    The terms in this vocabulary are generated from their RDF representations which generally aren't the canonical definitions, please refer to the specification for their canonical definitions.

    Usage

    With default export

    import * as shacl from '@ontologies/shacl'
    
    console.log(shacl.vocTerm) // { termType: 'NamedNode', value: "http://www.w3.org/ns/shacl#vocTerm" }

    With named exports

    import { vocTerm } from '@ontologies/shacl'
    
    console.log(vocTerm) // { termType: 'NamedNode', value: "http://www.w3.org/ns/shacl#vocTerm" }

    Use the ns function when missing a term or when using custom extensions

    import * as shacl from '@ontologies/shacl'
    
    console.log(shacl.ns('myTerm')) // { termType: 'NamedNode', value: "http://www.w3.org/ns/shacl#myTerm" }

    Statistics

    Total term count: 221

    Of which classes 40 (including data types)

    Of which properties: 101

    Other terms: 80

    Install

    npm i @ontologies/shacl

    DownloadsWeekly Downloads

    324

    Version

    2.0.0

    License

    GPL-3.0-or-later

    Unpacked Size

    141 kB

    Total Files

    6

    Last publish

    Collaborators

    • fletcher91