Learn R Programming

roxigraph (version 0.1.1)

rdf_remove: Remove a Triple

Description

Removes a single triple from the store.

Usage

rdf_remove(store, subject, predicate, object, graph = NULL)

Value

Invisibly returns NULL

Arguments

store

An RDF store handle

subject

Subject IRI or blank node

predicate

Predicate IRI

object

Object: IRI, blank node, or literal

graph

Optional named graph IRI

Examples

Run this code
store <- rdf_store()
rdf_add(store, "", "", '"hello"')
rdf_remove(store, "", "", '"hello"')
rdf_size(store)

Run the code above in your browser using DataLab