19
questions
11
votes
2
answers
1k
views
Difference between solid and ipfs
Tim Berners-Lee recently announced Solid.
How much is this different from ipfs and will it be possible to use them together?
3
votes
2
answers
243
views
How to create a container in SoLiD?
I'm running a stand alone single-user v5 Node Solid Server. When I log in as that single user, I'm able to create a document in a non-existent container, and the server creates the container for me.
...
2
votes
2
answers
715
views
Save file on a solid POD
What is the preferred method to save a file, be it turtle or an image or a video etc. on a solid POD?
The documentation at https://linkeddata.github.io/rdflib.js/doc/Fetcher.html is, as stated in the ...
2
votes
2
answers
2k
views
Unable to catch the 'auth' event in Hub.listen while calling Auth.federatedSignIn
I am using SolidJS and building a SPA (no server rendering). For authentication, I use the @aws-amplify/core and @aws-amplify/auth packages. At the application root I call the Hub.listen function:
Hub....
2
votes
2
answers
329
views
Cannot find module "algorithms/RSASSA-PKCS1-v1_5" using Angular 6 and rdflib 0.19.0
I'm developing an Angular6+ solid-app (codebase). The app itself depends on:
"crypto-js": "^3.1.9-1",
"rdflib": "^0.19.0",
"solid-auth-client": "^2.2.6",
"stream": "0.0.2",
"webcrypto": "^0.1.1",
"...
2
votes
0
answers
475
views
How to serialize any RDF data
I'm fetching various ontologies from the web and they come in a broad variety of formats. I'd like to use rdflib.js to serialize them to jsonld. The .serialize(target, kb, base, contentType, callback, ...
1
vote
1
answer
1k
views
Solid: correct way to store a JSON object
I want to store a standard JSON object in the user’s Solid pod. After working through the Solid getting started tutorial, I found I could get/set the object in the VCARD.note parameter, but I suspect ...
1
vote
1
answer
43
views
solid/react-components: useLDflex() for address
I'm trying to read a user's address from their profile with useLDflex() or useLDflexValue().
When I run this:
const address = useLDflex(`[${webId}].vcard_hasAddress`)?.toString() || 'loading...';
...
1
vote
1
answer
80
views
React: Higher-Order Component: Solid useLDflex()
I'm struggling with a Higher-Order Component in React. I'm trying use use Solid's react-components to load a user's profile data with useLDflex(). My code is throwing an error that I can't understand; ...
1
vote
1
answer
233
views
Solid server (project by Sir Tim Berners-Lee and MIT) not loading correct configuration
I was trying to spin a Solid Server. I've followed the instruction from Solid project (https://solid.inrupt.com/docs) to set up an server. However, when the service is running, it fails to start and ...
1
vote
0
answers
372
views
Android WebView doesn't allow authentication with the @solid/react library due to a popup
I've been working in the development of a webapp that uses Solid to store information of the users such as the list of friends. In order to authenticate into the app, we are using the @solid/react ...
1
vote
1
answer
51
views
How do I mock a Container with @inrupt/solid-client?
If I'm writing unit tests for code using the npm package @inrupt/solid-client that is trying to read from a Container, how do I mock that Container?
1
vote
0
answers
156
views
Data from a solid data pod but it always comes back as undefined. How do i retrieve data from a inrupt solid data pod correctly?
I am trying to retrieve the organization-name, or any data from the following endpoint.
https://isumotest.inrupt.net/profile/card#me
However whenever i try to grab anything it always comes back as ...
0
votes
1
answer
139
views
How to assign a subclass to a SIOC Forum in RDF?
I'm using rdflib to store a new SIOC:Forum on a SOLID POD. https://www.w3.org/Submission/sioc-spec/#sec-modules-types states that a SIOC:Forum can have the subtype/subclass of ChatChannel. How do I ...
0
votes
1
answer
90
views
React Hook error when loading Solid webId profile
I'm trying to use Solid's react-components to load a user's profile from their webId. I'm running into a problem with useLDflex(). There problem seems to be something to do with React Hooks, but I can'...