view src/namespaces.ts @ 105:4bb8c7775c83

some jest/test/vscode setup thing
author drewp@bigasterisk.com
date Sun, 13 Mar 2022 21:57:52 -0700
parents f12feced00ce
children
line wrap: on
line source

import { DataFactory, Util } from "n3";
const { namedNode } = DataFactory;

export const RDFS = Util.prefix("http://www.w3.org/2000/01/rdf-schema#");
export const RDF = Util.prefix("http://www.w3.org/1999/02/22-rdf-syntax-ns#");
export const EX = Util.prefix("http://example.com/");

export const rdf = {
    type: namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),
  };