annotate src/namespaces.ts @ 104:1aea03d306af

WIP Layout. tests are passing but they're a little wrong
author drewp@bigasterisk.com
date Sat, 12 Mar 2022 22:41:43 -0800
parents f12feced00ce
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
103
f12feced00ce WIP rewriting Layout
drewp@bigasterisk.com
parents: 95
diff changeset
1 import { DataFactory, Util } from "n3";
f12feced00ce WIP rewriting Layout
drewp@bigasterisk.com
parents: 95
diff changeset
2 const { namedNode } = DataFactory;
95
47d3b5a5bd5e refactor
drewp@bigasterisk.com
parents:
diff changeset
3
47d3b5a5bd5e refactor
drewp@bigasterisk.com
parents:
diff changeset
4 export const RDFS = Util.prefix("http://www.w3.org/2000/01/rdf-schema#");
47d3b5a5bd5e refactor
drewp@bigasterisk.com
parents:
diff changeset
5 export const RDF = Util.prefix("http://www.w3.org/1999/02/22-rdf-syntax-ns#");
47d3b5a5bd5e refactor
drewp@bigasterisk.com
parents:
diff changeset
6 export const EX = Util.prefix("http://example.com/");
103
f12feced00ce WIP rewriting Layout
drewp@bigasterisk.com
parents: 95
diff changeset
7
f12feced00ce WIP rewriting Layout
drewp@bigasterisk.com
parents: 95
diff changeset
8 export const rdf = {
f12feced00ce WIP rewriting Layout
drewp@bigasterisk.com
parents: 95
diff changeset
9 type: namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),
f12feced00ce WIP rewriting Layout
drewp@bigasterisk.com
parents: 95
diff changeset
10 };
f12feced00ce WIP rewriting Layout
drewp@bigasterisk.com
parents: 95
diff changeset
11