2.0.0 • Published 3 years ago

@ontologies/prov v2.0.0

Weekly downloads
1
License
GPL-3.0-or-later
Repository
-
Last release
3 years ago

PROV-O: The PROV Ontology ontology

This package contains the terms from the PROV-O: The PROV Ontology ontology for JavaScript and TypeScript.

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

Normative spec: https://www.w3.org/TR/prov-o/

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

Source: https://www.w3.org/ns/prov-o

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 prov from '@ontologies/prov'

console.log(prov.vocTerm) // { termType: 'NamedNode', value: "http://www.w3.org/ns/prov#vocTerm" }

With named exports

import { vocTerm } from '@ontologies/prov'

console.log(vocTerm) // { termType: 'NamedNode', value: "http://www.w3.org/ns/prov#vocTerm" }

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

import * as prov from '@ontologies/prov'

console.log(prov.ns('myTerm')) // { termType: 'NamedNode', value: "http://www.w3.org/ns/prov#myTerm" }

Statistics

Total term count: 95

Of which classes 30 (including data types)

Of which properties: 50

Other terms: 15