@ontologies/rdfs
v2.0.1
Published
The RDF Schema vocabulary (RDFS)
Downloads
70
Maintainers
Readme
RDF-Schema ontology
This package contains the terms from the RDF-Schema ontology for JavaScript and TypeScript.
Namespace: http://www.w3.org/2000/01/rdf-schema#
Normative spec: https://www.w3.org/TR/rdf-schema/
LOV: https://lov.linkeddata.es/dataset/lov/vocabs/rdfs
Source: http://www.w3.org/2000/01/rdf-schema#
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 rdfs from '@ontologies/rdfs'
console.log(rdfs.vocTerm) // { termType: 'NamedNode', value: "http://www.w3.org/2000/01/rdf-schema#vocTerm" }
With named exports
import { vocTerm } from '@ontologies/rdfs'
console.log(vocTerm) // { termType: 'NamedNode', value: "http://www.w3.org/2000/01/rdf-schema#vocTerm" }
Use the ns
function when missing a term or when using custom extensions
import * as rdfs from '@ontologies/rdfs'
console.log(rdfs.ns('myTerm')) // { termType: 'NamedNode', value: "http://www.w3.org/2000/01/rdf-schema#myTerm" }
Statistics
Total term count: 17
Of which classes 7 (including data types)
Of which properties: 10
Other terms: 0