Closed ktk closed 3 years ago
I just noticed I get an empty csvw:url
for the metadata in the beginning as well:
_:b45 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/csvw#TableGroup> .
_:b45 <http://www.w3.org/ns/csvw#table> _:b46 .
_:b46 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/csvw#Table> .
_:b46 <http://www.w3.org/ns/csvw#url> <> .
Closing here, not forwarded in barnard59, see issue above.
This line:
https://github.com/rdf-ext/rdf-parser-csvw/blob/53ce4665cfa8eb90e73467e21f20bf1e80f9a575/lib/ObjectParserTransform.js#L115
Generates triples like:
which are not valid IRIs (relative). What is
this.baseIRI
in this context? Apparently it is not set to what is expected (as in empty) so this should be catched here in case this happens.If I override the string to
'file:///#row='
manually I get triples that are valid.