Skip to main content
Module

x/ldkit/namespaces.ts

LDkit - Linked Data query toolkit for TypeScript developers
Latest
import * as ldkit from "https://deno.land/x/ldkit@2.0.0/namespaces.ts";

Popular namespaces used in Linked Data, fully compatible with LDkit, offering autocompletion and type checking in IDE.

Create your own namespaces using createNamespace helper.

Examples

Example 1

import { rdf, schema } from "ldkit/namespaces";

console.log(rdf.type); // "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
console.log(schema.Person); // "http://schema.org/Person"

Variables

DBpedia Ontology

Dublin Core Metadata Element Set, Version 1.1

DCMI Metadata Terms

The Friend of a Friend (FOAF) vocabulary, described using W3C RDF Schema and the Web Ontology Language.

GoodRelations Ontology

LDkit Ontology

OWL Web Ontology Language

The RDF Concepts Vocabulary (RDF)

The RDF Schema vocabulary (RDFS)

Schema.org vocabulary

SIOC Core Ontology Namespace

SKOS - Simple Knowledge Organization System

XML Schema Definition Language (XSD)

Functions

Creates a strongly typed container for Linked Data vocabulary to provide type safe access to all vocabulary terms as well as IDE autocompletion.

Type Aliases

Original type of namespace specification

Resulting type of namespace providing access to all terms, prefix and IRI