Mercurial > code > home > repos > streamed-graph
annotate src/layout/namespaces.ts @ 143:5adf79d4a9f4
release v0.11.0
author | drewp@bigasterisk.com |
---|---|
date | Mon, 08 May 2023 13:29:48 -0700 |
parents | 3cdbbd913f1d |
children |
rev | line source |
---|---|
103 | 1 import { DataFactory, Util } from "n3"; |
2 const { namedNode } = DataFactory; | |
95 | 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/"); | |
103 | 7 |
8 export const rdf = { | |
110 | 9 type: namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"), |
10 }; | |
11 export const rdfs = { | |
12 label: namedNode("http://www.w3.org/2000/01/rdf-schema#label"), | |
13 }; |