netwerk-digitaal-erfgoed / ld-workbench

A CLI tool for transforming large RDF datasets using pure SPARQL.
4 stars 1 forks source link

Endpoint configuration (stores) #103

Closed coret closed 2 months ago

coret commented 2 months ago

The readme suggests that to read a file into a local triplestore you have to set the filename as endpoint:

endpoint: nt/2-10-62ntfoto.nt

However, this immeditatly throws an error:

Error in pipeline NA fotocollectie (via datadumps)
Error: Error in the iterator of stage `2.24.10.01`: "2-10-62ntfoto.nt" is not a valid URL
    at Pipeline.validate (file:///home/http/.npm/_npx/4acbffebfeea8bcf/node_modules/@netwerk-digitaal-erfgoed/ld-workbench/build/pipeline.js:88:23)
    at new Pipeline (file:///home/http/.npm/_npx/4acbffebfeea8bcf/node_modules/@netwerk-digitaal-erfgoed/ld-workbench/build/pipeline.js:52:14)
    at file:///home/http/.npm/_npx/4acbffebfeea8bcf/node_modules/@netwerk-digitaal-erfgoed/ld-workbench/build/main.js:40:26
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

The correct format seems to be:

endpoint: file://nt/2-10-62ntfoto.nt

If correct, the readme should be adjusted accordingly.

ddeboer commented 2 months ago

You’re right, thanks for reporting!

github-actions[bot] commented 2 months ago

:tada: This issue has been resolved in version 2.5.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: