view src/layout/namespaces.ts @ 108:5e6840229a05

rewrite freeStatements rendering to put more planning in layout
author drewp@bigasterisk.com
date Fri, 18 Mar 2022 11:57:38 -0700
parents 2468f2227d22
children 3cdbbd913f1d
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"),
  };