@ontologies/rdf
v2.0.0
Published
This is the RDF Schema for the RDF vocabulary terms in the RDF Namespace, defined in RDF 1.1 Concepts.
Downloads
67
Maintainers
Readme
Resource Description Framework ontology
This package contains the terms from the Resource Description Framework ontology for JavaScript and TypeScript.
Namespace: http://www.w3.org/1999/02/22-rdf-syntax-ns#
Normative spec: https://www.w3.org/TR/rdf11-concepts/
LOV: https://lov.linkeddata.es/dataset/lov/vocabs/rdf
Source: http://www.w3.org/1999/02/22-rdf-syntax-ns#
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 rdf from '@ontologies/rdf'
console.log(rdf.vocTerm) // { termType: 'NamedNode', value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#vocTerm" }
With named exports
import { vocTerm } from '@ontologies/rdf'
console.log(vocTerm) // { termType: 'NamedNode', value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#vocTerm" }
Use the ns
function when missing a term or when using custom extensions
import * as rdf from '@ontologies/rdf'
console.log(rdf.ns('myTerm')) // { termType: 'NamedNode', value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#myTerm" }
Statistics
Total term count: 18
Of which classes 11 (including data types)
Of which properties: 7
Other terms: 0