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
Examples
spq_init() %>%
spq_prefix(prefixes=c(dbo="http://dbpedia.org/ontology/"))
#> PREFIX dbo: <http://dbpedia.org/ontology/>
#> SELECT *
#> WHERE {
#>
#>
#> }
#>