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