Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: more instances of RML fetched namespace #196

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/abstract-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const Logger = require('./logger');
namespaces.ql = 'http://semweb.mmlab.be/ns/ql#';
namespaces.fnml = 'http://semweb.mmlab.be/ns/fnml#';
namespaces.fno = 'https://w3id.org/function/ontology#';
namespaces.rml = 'http://semweb.mmlab.be/ns/rml#';

class AbstractGenerator {

Expand Down
4 changes: 2 additions & 2 deletions lib/readable-rml.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
const Logger = require('./logger');
let N3 = require('n3');
let Q = require('q');
let prefixNS = require('prefix-ns');
const namespaces = require('prefix-ns').asMap();

let namespaces = prefixNS.asMap();
namespaces.rml = 'http://semweb.mmlab.be/ns/rml#';

let ignoredForBlankNodes = [
namespaces.rr + 'class',
Expand Down
1 change: 1 addition & 0 deletions lib/rml-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespaces.td = 'https://www.w3.org/2019/wot/td#'
namespaces.wotsec = 'https://www.w3.org/2019/wot/security#'
namespaces.hctl = 'https://www.w3.org/2019/wot/hypermedia#'
namespaces.idsa = 'https://w3id.org/idsa/core/'
namespaces.rml = 'http://semweb.mmlab.be/ns/rml#';
namespaces.rmlt = 'http://semweb.mmlab.be/ns/rml-target#';
namespaces.formats = 'http://www.w3.org/ns/formats/';
namespaces.comp = 'http://semweb.mmlab.be/ns/rml-compression#';
Expand Down
2 changes: 2 additions & 0 deletions lib/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const dataset = require('@graphy/memory.dataset.fast');
const { Readable } = require('stream')
const namespaces = require('prefix-ns').asMap();

namespaces.rml = 'http://semweb.mmlab.be/ns/rml#';

function compareY2RFiles(ymlPaths, ttlPath, options, cb) {
const yamls = [];

Expand Down
2 changes: 2 additions & 0 deletions lib/watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ const namespaces = require('prefix-ns').asMap();
const path = require('path');
const Logger = require('./logger');

namespaces.rml = 'http://semweb.mmlab.be/ns/rml#';

let inputFile;
let outputFile;
let initial = true;
Expand Down