Skip to content

Instantly share code, notes, and snippets.

@rubensworks
Created April 24, 2018 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubensworks/2a2b48e270a3b1d8d2ca768e53681445 to your computer and use it in GitHub Desktop.
Save rubensworks/2a2b48e270a3b1d8d2ca768e53681445 to your computer and use it in GitHub Desktop.
:myFriends {
  ex:Alice foaf:knows ex:Bob.
  ex:Alice foaf:knows ex:Carol.
}

Remove a single quad

I guess this is supported?

_:changeset0 cs:remove <<:myFriends { ex:Alice foaf:knows ex:Bob }>>.

Remove two quads

Is this supported?

_:changeset0 cs:remove <<:myFriends {
  ex:Alice foaf:knows ex:Bob. ex:Alice foaf:knows ex:Carol.
}>>.

Remove a triple

Does this apply to the triple in the :myFriends graph, or to nothing? (I assume the latter)

_:changeset0 cs:remove <<ex:Alice foaf:knows ex:Bob>>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment