Skip to content

Commit 771f1aa

Browse files
committed
rebase
1 parent ea7258e commit 771f1aa

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

error-log.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
------------------------------------------------------------------------------------------------
3+
Unsupported JSON-LD input detected
4+
5+
After parsing the JSON-LD input, the parser detected creation of new named graphs.
6+
The DKG does not support custom named graphs.
7+
8+
Problematic Quads:
9+
1. "Carol" <http://schema.org/name> "Carol" _:b31_c14n0 .
10+
11+
2. <http://schema.org/Person> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Person> _:b31_c14n0 .
12+
13+
3. "Bob" <http://schema.org/name> "Bob" _:b31_c14n1 .
14+
15+
4. <http://schema.org/Person> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Person> _:b31_c14n1 .
16+
17+
18+
Full Parsed N-Quads Array:
19+
_:c14n2 <http://schema.org/name> "Carol" _:c14n0 .
20+
_:c14n2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Person> _:c14n0 .
21+
_:c14n3 <http://schema.org/knows> _:c14n0 .
22+
_:c14n3 <http://schema.org/knows> _:c14n1 .
23+
_:c14n3 <http://schema.org/name> "Alice" .
24+
_:c14n3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Person> .
25+
_:c14n4 <http://schema.org/name> "Bob" _:c14n1 .
26+
_:c14n4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Person> _:c14n1 .
27+
Parsing failed due to presence of unnamed (blank node) graphs. Please ensure all graphs in the input JSON-LD have proper named IRIs.

src/knowledge-collection-tools.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,6 @@ ${unsupportedNquads.map((q, i) => ` ${i + 1}. ${q}`).join("\n")}
393393
394394
Full Parsed N-Quads Array:
395395
${nquadsArray.join('\n')}
396-
Parsing failed due to presence of unnamed (blank node) graphs. Please ensure all graphs in the input JSON-LD have proper named IRIs.
397396
`
398397
);
399398
}

test/knowledge-collection-tools.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,6 @@ _:c14n3 <http://schema.org/name> "Alice" .
866866
_:c14n3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Person> .
867867
_:c14n4 <http://schema.org/name> "Bob" _:c14n1 .
868868
_:c14n4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Person> _:c14n1 .
869-
Parsing failed due to presence of unnamed (blank node) graphs. Please ensure all graphs in the input JSON-LD have proper named IRIs.
870869
`);
871870
}
872871
});

0 commit comments

Comments
 (0)