Closed scenaristeur closed 4 years ago
That should be possible indeed.
Could you translate your expression into a concrete example that we can test?
As in, replace user_following
and the other values by actual values?
You might want to place .sparql
at the end of that expression to see the SPARQL query that would get executed; this might provide some insight into what is happening.
data his here https://spoggy-test2.solid.community/public/agora/following/index.ttl i've granted everyone to Editor
the first add a webid as {index.ttl#this as$items webId }
but i want to be able to delete a specific webid I've tried with LDFLEX PLAYGROUND but does not work with nameNode()
something like
await solid.data.from("https://spoggy-test2.solid.community/public/agora/following/index.ttl")[https://spoggy-test2.solid.community/public/agora/following/index.ttl#this].as$items.delete("https://spoggy-test4.solid.community/profile/card#me")
but not with "literal" webid, with the namedNode.
The following works:
await solid.data["https://spoggy-test2.solid.community/public/agora/following/index.ttl#this"].as$items.delete(namedNode("https://spoggy-test4.solid.community/profile/card#me"))
I did try it and it actually got removed, so I placed it back for you to test.
Ok , thxs a lot @RubenVerborgh... I don't why it didn't work ;-) you are the LinkedDataMaster !
Hi please update the doc with delete function !
i've got an following function like that
that gives me some triples like that
now i want to unfollow so i want to delete only one, for example "https://spoggy-test4.solid.community/profile/card#me"
but it does not seem that i can delete with a namedNode ? i've tried lot of thing, the last is
But it does not seems to work :-( Does anyone have any idea ? thxs