comparison src/layout/namespaces.ts @ 106:2468f2227d22

make src/layout/ and src/render/ separation
author drewp@bigasterisk.com
date Sun, 13 Mar 2022 22:00:30 -0700
parents src/namespaces.ts@f12feced00ce
children 3cdbbd913f1d
comparison
equal deleted inserted replaced
105:4bb8c7775c83 106:2468f2227d22
1 import { DataFactory, Util } from "n3";
2 const { namedNode } = DataFactory;
3
4 export const RDFS = Util.prefix("http://www.w3.org/2000/01/rdf-schema#");
5 export const RDF = Util.prefix("http://www.w3.org/1999/02/22-rdf-syntax-ns#");
6 export const EX = Util.prefix("http://example.com/");
7
8 export const rdf = {
9 type: namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),
10 };
11