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

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i @ontologies/dcterms

Weekly Downloads

3

Version

2.0.0

License

GPL-3.0-or-later

Unpacked Size

59.3 kB

Total Files

6

Last publish

Collaborators

  • fletcher91