We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eef1932 commit e386336Copy full SHA for e386336
CHANGELOG.md
@@ -4,6 +4,9 @@
4
- Use the W3C standard MIME type for N-Quads of "application/n-quads". Accept
5
"application/nquads" for compatibility.
6
7
+### Fixed
8
+- Fix fromRdf with input triple having a nil subject.
9
+
10
## 0.5.17 - 2018-01-25
11
12
### Changed
lib/fromRdf.js
@@ -184,6 +184,9 @@ api.fromRDF = async (
184
185
// iterate backwards through each RDF list
186
const nil = graphObject[RDF_NIL];
187
+ if(!nil.usages) {
188
+ continue;
189
+ }
190
for(let usage of nil.usages) {
191
let node = usage.node;
192
let property = usage.property;
0 commit comments