diff src/namespaces.ts @ 103:f12feced00ce

WIP rewriting Layout
author drewp@bigasterisk.com
date Sat, 12 Mar 2022 00:42:00 -0800
parents 47d3b5a5bd5e
children
line wrap: on
line diff
--- a/src/namespaces.ts	Fri Mar 11 23:19:35 2022 -0800
+++ b/src/namespaces.ts	Sat Mar 12 00:42:00 2022 -0800
@@ -1,5 +1,11 @@
-import { Util } from "n3";
+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"),
+  };
+  
\ No newline at end of file