Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ontologies/xsd

fletcher91111GPL-3.0-or-later2.0.0TypeScript support: included

This package contains the terms from the XML Schema Datatypes in RDF and OWL ontology for JavaScript and TypeScript.

rdf, schema, ontology, ontologies, vocabulary, taxonomy, linked data, linkeddata, open data, owl, semantic, web, typescript, turtle, n-triples, n-quads, graph

readme

XML Schema Datatypes in RDF and OWL ontology

This package contains the terms from the XML Schema Datatypes in RDF and OWL ontology for JavaScript and TypeScript.

Namespace: http://www.w3.org/2001/XMLSchema#

Normative spec: https://www.w3.org/TR/xmlschema-2/

LOV: https://lov.linkeddata.es/dataset/lov/vocabs/xsd

Source: https://www.w3.org/2011/rdf-wg/wiki/XSD_Datatypes

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 xsd from '@ontologies/xsd'

console.log(xsd.vocTerm) // { termType: 'NamedNode', value: "http://www.w3.org/2001/XMLSchema#vocTerm" }

With named exports

import { vocTerm } from '@ontologies/xsd'

console.log(vocTerm) // { termType: 'NamedNode', value: "http://www.w3.org/2001/XMLSchema#vocTerm" }

Use the ns function when missing a term or when using custom extensions

import * as xsd from '@ontologies/xsd'

console.log(xsd.ns('myTerm')) // { termType: 'NamedNode', value: "http://www.w3.org/2001/XMLSchema#myTerm" }

Statistics

Total term count: 39

Of which classes 39 (including data types)

Of which properties: 0

Other terms: 0