submit_sparql_update: Submit a SPARQL Query to a Triplestore (UPDATE)

Description Usage Arguments Details See Also Examples

View source: R/db-access-low-level.R

Description

This submits an UPDATE (in the sense of the CRUD methodology) to a SPARQL endpoint. For READ queries see submit_sparql.

Usage

1
submit_sparql_update(query, access_options)

Arguments

query

character the SPARQL UPDATE query. See Details.

access_options

triplestore_access_options object.

Details

Here are the SPARQL operations that are supported:

LOAD CLEAR DROP ADD MOVE COPY CREATE INSERT DELETE

See Also

submit_sparql

Examples

1
2
3
4
5
6
## Not run: 
#' drop_query = "DROP GRAPH <http::/openbiodiv.net/test123>"

submit_sparql_update(drop_query, access_options = graphdb)

## End(Not run)

vsenderov/rdf4r documentation built on May 3, 2019, 4:02 p.m.