view src/layout/namespaces.ts @ 150:3ce355e4f388 default tip

bye jest; hi vitest. new working test for styles.ts
author drewp@bigasterisk.com
date Mon, 08 May 2023 17:27:44 -0700
parents 3cdbbd913f1d
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"),
};
export const rdfs = {
  label: namedNode("http://www.w3.org/2000/01/rdf-schema#label"),
};