Skip to contents

Add prefixes to the query

Usage

spq_prefix(.query = NULL, auto = TRUE, prefixes = NULL)

Arguments

.query

a list with elements of the query

auto

whether to use built-in prefixes

prefixes

a vector of prefixes

Value

A query object

Examples

spq_init() %>%
spq_prefix(prefixes=c(dbo="http://dbpedia.org/ontology/"))
#> PREFIX dbo: <http://dbpedia.org/ontology/>
#> SELECT *
#> WHERE {
#> 
#> 
#> }
#>