SolidOS / mashlib

Solid-compatible data mashup library and Data Browser
https://solidos.github.io/mashlib/dist/browse.html
MIT License
71 stars 21 forks source link

N3 files containing rules can't be stored via mashlib #167

Open phochste opened 2 years ago

phochste commented 2 years ago

On NSS (inrupt.net) I'm trying to store the cats.n3 file as text/n3

prefix : <https://example.org/cats#>.

:Mika a :Cat .
:Akita a :Cat .
:Luna a :Cat .

{ ?X a :Cat .} => { [ :is :CatFriendly ] .  [ a :Cat ] . }

This presents me with the following error message:

Screenshot 2022-08-24 at 20 43 53

Uploading with another editor doesn't present this problem.

bourgeoa commented 2 years ago

Thanks for reporting. You seem to miss a dot at the end :

image

And now you got this issue already referenced at https://github.com/linkeddata/rdflib.js/issues/567 If you have any idea how to solve the issue it will be very nice.