Open RubenVerborgh opened 1 year ago
So either rdflib needs to be adjusted to output RDF/JS-compatible Notation3 subjects (which is what N3.js does), or the
isSubject
check needs to be adjusted when working with Notation3.
@timbl Can you help with this I don't understand what is missing in isSubject call
The document at https://drive.verborgh.org/tmp/2022/cha-58-direct.n3 causes problems when read/written in a Solid Pod via Mashlib, with the following error:
The
Subject is not a subject
is thrown bysrc/store.ts
, which uses anisSubject
call that checks forNamedNodeTermType
/VariableTermType
/BlankNodeTermType
.So either rdflib needs to be adjusted to output RDF/JS-compatible Notation3 subjects (which is what N3.js does), or the
isSubject
check needs to be adjusted when working with Notation3.