-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: bnode relabelling param #1107
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The option is --no-bnode-relabeling
not --no-bnode-relabelling
This comment was marked as off-topic.
This comment was marked as off-topic.
__test_utils__/util.ts
Outdated
|
||
it('should execute the n3reasoner on surface query', async () => { | ||
await expect(n3reasoner(surfaceQueryQuads)).rejects.toThrow(/inference_fuse/); | ||
}); | ||
|
||
it('should execute the n3reasoner on surface query [bnodeRelabeling: false]', async () => { | ||
await expect(n3reasoner(surfaceQueryQuads, undefined, { bnodeRelabeling: false })).rejects.toThrow(/inference_fuse/); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@phochste at the moment we are getting an inference fuse thrown regardless of whether or not bnodeRelabeling
is enabled. Can you provide a test case that distinguishes between the two? Note the --pass-only-new
flag is also enabled in this test due to
Line 93 in df8aa4b
args.push('--pass-only-new'); |
The inference fuse can be tested with :
With |
__test_utils__/util.ts
Outdated
// see https://github.com/rdfjs/N3.js/issues/332 | ||
.map(quad => mapTerms(quad, term => term.termType === 'BlankNode' ? DataFactory.blankNode(term.value.replace(/\./g, '__dot__')) : term)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should get rid of this once rdfjs/N3.js#332 is resolved.
🎉 This PR is included in version 16.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.