Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search information about symbolic links in PODs #72

Closed
Davidmc07 opened this issue Mar 23, 2023 · 1 comment
Closed

Search information about symbolic links in PODs #72

Davidmc07 opened this issue Mar 23, 2023 · 1 comment
Assignees
Labels
research Search for information

Comments

@Davidmc07
Copy link
Contributor

Search for a way of creating symbolic links to folders in another PODs

@Davidmc07 Davidmc07 added the research Search for information label Mar 23, 2023
@Davidmc07 Davidmc07 self-assigned this Mar 23, 2023
@Davidmc07
Copy link
Contributor Author

Symbolic links in PODs

It is possible to create links to folders and files stored in solid PODs from inrupt.net

First of all, we will have to create our folder structure from the add button.


Screenshot_20230328_080622_Chrome


In this example, we are going to store a reference to folder2 in folder1 called link.ttl.


Screenshot_20230328_081306_Chrome


To create the link, a new source should be created from the add button. It should contain the following code:

@prefix ldp: <http://www.w3.org/ns/ldp#> .
@prefix solid: <http://www.w3.org/ns/solid/terms#> .

<> a ldp:Resource, solid:Container;
   ldp:contains <https://davidmc.inrupt.net/folder2> .

Note that ldp:contains has to be changed to the location of the resource to be referenced.


Screenshot_20230328_081322_Chrome


Screenshot_20230328_081436_Chrome


Now the content of folder2 can be accessed from link.ttl


Screenshot_20230328_081615_Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
research Search for information
Projects
None yet
Development

No branches or pull requests

1 participant