spq_assemble: Assemble query parts into a proper SPARQL query

View source: R/spq_assemble.R

spq_assembleR Documentation

Assemble query parts into a proper SPARQL query

Description

Assemble query parts into a proper SPARQL query

Usage

spq_assemble(.query, strict = TRUE)

Arguments

.query

a list with elements of the query

strict

whether to perform some linting on the query, and error in case a problem is detected.

Value

A query object

Examples

spq_init() %>%
  spq_add("?city wdt:P31 wd:Q515") %>%
  spq_label(city, .languages = "fr$") %>%
  spq_add("?city wdt:P1082 ?pop") %>%
  spq_assemble() %>%
  cat()

lvaudor/glitter documentation built on Jan. 30, 2024, 1:34 a.m.