Skip to content

Commit 8830c7c

Browse files
committed
feat(yasqe): always bundle the railML and RailTopoModel terms
Adds the railML 3 (http://ontology.railml.org/railml3#, prefix railml) and RailTopoModel (http://ontology.railml.org/railtopomodel#, prefix rtm) namespaces of the railML ontology to ALWAYS_INCLUDED. Neither is in the LOV dump, so their terms are read from https://ontology.railml.org/ontology.ttl.
1 parent 0cf1f51 commit 8830c7c

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

‎fetchLovData.js‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@ export const ALWAYS_INCLUDED = [
4141
"https://gitlab.com/era-europa-eu/public/interoperable-data-programme/era-ontology/era-ontology/-/raw/main/ontology.ttl",
4242
],
4343
},
44+
{
45+
// railML 3 ontology (not in LOV)
46+
namespace: "http://ontology.railml.org/railml3#",
47+
prefix: "railml",
48+
sources: ["https://ontology.railml.org/ontology.ttl"],
49+
},
50+
{
51+
// RailTopoModel, as published in the railML ontology
52+
namespace: "http://ontology.railml.org/railtopomodel#",
53+
prefix: "rtm",
54+
sources: ["https://ontology.railml.org/ontology.ttl"],
55+
},
4456
];
4557

4658
const RDF_TYPE = "http://www.w3.org/1999/02/22-rdf-syntax-ns#type";

‎packages/yasqe/src/lov-terms.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)