-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathconfig.js
More file actions
95 lines (94 loc) · 3.23 KB
/
config.js
File metadata and controls
95 lines (94 loc) · 3.23 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
async function loadTurtle() {
//this is the function you call in 'preProcess', to load the highlighter
const worker = await new Promise(resolve => {
require(["core/worker"], ({ worker }) => resolve(worker));
});
const action = "highlight-load-lang";
const langURL =
"https://cdn.jsdelivr.net/gh/redmer/highlightjs-turtle/src/languages/turtle.js";
const propName = "hljsDefineTurtle"; // This funtion is defined in the highlighter being loaded
const lang = "turtle"; // this is the class you use to identify the language
worker.postMessage({ action, langURL, propName, lang });
return new Promise(resolve => {
worker.addEventListener("message", function listener({ data }) {
const { action: responseAction, lang: responseLang } = data;
if (responseAction === action && responseLang === lang) {
worker.removeEventListener("message", listener);
resolve();
}
});
});
}
var respecConfig = {
// check https://respec.org/docs/ for the meaning of these keys
preProcess: [loadTurtle],
prevVersion: "https://kg-construct.github.io/rml-core/test-cases/docs/20260325/",
latestVersion: "https://kg-construct.github.io/rml-core/test-cases/docs/20260331/",
authors: [
{
name: "Dylan Van Assche",
url: "https://dylanvanassche.be",
company: "IDLab – Ghent University – imec",
orcid: "0000-0002-7195-9935",
companyURL: "https://knows.idlab.ugent.be/"
},
{
name: "Enrique Iglesias",
url: "https://www.tib.eu/en/research-development/research-groups-and-labs/scientific-data-management/staff/enrique-iglesias",
company: "TIB – Leibniz Information Centre for Science and Technology",
orcid: "0000-0002-8734-3123",
companyURL: "https://www.tib.eu/en/"
},
{
name: "Els de Vleeschauwer",
url: "https://research.ugent.be/web/person/els-de-vleeschauwer-0/en",
company: "IDLab – Ghent University – imec",
orcid: "0000-0002-8630-3947",
companyURL: "https://knows.idlab.ugent.be/"
},
],
edDraftURI: "https://w3id.org/rml/core/test-cases/",
editors: [
{
name: "David Chaves-Fraga",
url: "https://davidchavesfraga.com",
company: "CiTIUS – University of Santiago de Compostela",
orcid: "0000-0003-3236-2789",
companyURL: "https://citius.gal"
}
],
formerEditors: [
{
name: "Dylan Van Assche",
url: "https://dylanvanassche.be",
company: "IDLab – Ghent University – imec",
orcid: "0000-0002-7195-9935",
companyURL: "https://knows.idlab.ugent.be/"
}
],
github: "https://github.com/kg-construct/rml-core",
license: "w3c-software-doc",
localBiblio: {
"RML-Core": {
title: "RML-Core",
href: "https://w3id.org/rml/core/spec",
status: "Draft Community Group Report",
publisher: "W3C",
date: "07 August 2024",
},
"RML-IO": {
title: "RML-IO",
href: "https://w3id.org/rml/io/spec",
status: "Draft Community Group Report",
publisher: "W3C",
date: "12 March 2024",
},
},
otherLinks: [],
shortName: "RML-Core-Testcases",
specStatus: "CG-DRAFT",
// W3C config
copyrightStart: "2024",
doJsonLd: true,
group: "kg-construct",
};