Use relative URI notation when updating text/turtle resources
See original GitHub issueUpdating a turtle file do not use relative notation
I’m using a mashlib recipe and updated a preference file. The resulting file is not using relative notation nor any @prefix In NSS we were accustomed to this relative notation, which simplify operation like copy or move files on a different server.
And mostly it renders human update much more complicated.
nota : This is also a limitation on any trial to use a dual data sharing between NSS and CSS as a preparation for migration from NSS to CSS
<https://bourgeoa.ga:3000/bourgeoa/settings/prefs.ttl> a <http://www.w3.org/ns/pim/space#ConfigurationFile>;
<http://purl.org/dc/terms/title> "Preferences file".
<https://bourgeoa.ga:3000/bourgeoa/profile/card#me> a <http://www.w3.org/ns/solid/terms#Developer>, <http://www.w3.org/ns/solid/terms#PowerUser>;
<http://xmlns.com/foaf/0.1/mbox> <https://bourgeoa.ga:3000/bourgeoa/settings/alain.bourgeois10@gmail.com>;
<http://www.w3.org/ns/solid/terms#publicTypeIndex> <https://bourgeoa.ga:3000/bourgeoa/settings/publicTypeIndex.ttl>;
<http://www.w3.org/ns/solid/terms#privateTypeIndex> <https://bourgeoa.ga:3000/bourgeoa/settings/privateTypeIndex.ttl>.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Maintain prefixes when PATCHing a Turtle representation #126
Use relative URI notation when updating text/turtle resources #1366. Open. @Falx Falx mentioned this issue on Jul 8.
Read more >Turtle - Terse RDF Triple Language - W3C
URIs are resolved relative to the In-scope base URI. The starting In-Scope Base URI is defined using the Base URI mechanism defined in...
Read more >Defining the URI patterns for resources in RESTful applications
URLs are used to specify the location of a resource. Interaction between the server and client is based on issuing HTTP operations to...
Read more >Terse RDF Triple Language - Turtle - Dave Beckett
This is then used as a relative URI and resolved against the current base URI to give an absolute URI reference. string, ::=...
Read more >The Archive and Packaging (arcp) URI scheme
An archive containing multiple HTML or Linked Data resources, such as in a BagIt archive [I-D.draft-kunze-bagit-14], may be using relative ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A partial match since the issue here is about both prefixes and relative URLs.
I am not sure if you are raising the turtle prefix as a separate issue or conflating it with this one. While prefixes in turtle files sounds good, it does not in any way solve the problem with absolute URLs. If I create a file on my localhost CSS, a .meta resource gets create with an absolute URL to the resource. If I then copy that folder to my pod, all of the absolute URLs become wrong. If there was a prefix pointing to the same absolute URL, that would not help. What would help is that in .meta had a relative URL to the resource it describes so that when I copy the resource and its .meta to another location, the .meta is still accurate. There is AFAIK no downside to this and many upsides.