@ontologies/dctype
v2.0.0
Published
This package contains the terms from the DCMI Type Vocabulary ontology for JavaScript and TypeScript.
Downloads
5
Maintainers
Readme
DCMI Type Vocabulary ontology
This package contains the terms from the DCMI Type Vocabulary ontology for JavaScript and TypeScript.
Namespace: http://purl.org/dc/dcmitype/
LOV: https://lov.linkeddata.es/dataset/lov/vocabs/dctype
Source: https://www.dublincore.org/2012/06/14/dctype.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 dctype from '@ontologies/dctype'
console.log(dctype.vocTerm) // { termType: 'NamedNode', value: "http://purl.org/dc/dcmitype/vocTerm" }
With named exports
import { vocTerm } from '@ontologies/dctype'
console.log(vocTerm) // { termType: 'NamedNode', value: "http://purl.org/dc/dcmitype/vocTerm" }
Use the ns
function when missing a term or when using custom extensions
import * as dctype from '@ontologies/dctype'
console.log(dctype.ns('myTerm')) // { termType: 'NamedNode', value: "http://purl.org/dc/dcmitype/myTerm" }
Statistics
Total term count: 12
Of which classes 12 (including data types)
Of which properties: 0
Other terms: 0