-
Notifications
You must be signed in to change notification settings - Fork 3
/
constants.js
30 lines (22 loc) · 1.07 KB
/
constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* Copyright (c) 2016-present, IBM Research
* Licensed under The MIT License [see LICENSE for details]
*/
"use strict";
exports.HK_PROTOCOL = "hk";
exports.DEFAULT_SUBJECT_ROLE = "subject";
exports.DEFAULT_OBJECT_ROLE = "object";
exports.HK_ID_PREFIX = `${exports.HK_PROTOCOL}://id`;
exports.HK_NULL = `${exports.HK_ID_PREFIX}/null`;
exports.HK_ANCHOR_PREFIX = `${exports.HK_PROTOCOL}://a`;
exports.HK_BLANK_NODE_PREFIX = `${exports.HK_PROTOCOL}://b`;
exports.HK_REFERENCE_PREFIX = `${exports.HK_PROTOCOL}://ref`;
exports.HK_ROLE_PREFIX = `${exports.HK_PROTOCOL}://role`;
exports.HK_LINK_PREFIX = `${exports.HK_PROTOCOL}://link`;
exports.HK_NODE_PREFIX = `${exports.HK_PROTOCOL}://node`;
exports.HK_VIRTUAL_NODE_PREFIX = `${exports.HK_PROTOCOL}://virtualnode`;
exports.HK_VIRTUAL_CONTEXT_PREFIX = `${exports.HK_PROTOCOL}://virtualcontext`;
exports.HK_VIRTUAL_LINK_PREFIX = `${exports.HK_PROTOCOL}://virtuallink`;
exports.MIMETYPE_APPLICATION_TURTLE = "application/turtle";
exports.MIMETYPE_TEXT_TURTLE = "text/turtle";
exports.MIMETYPE_APPLICATION_NTRIPLE = "application/n-triples";