spq_assemble | R Documentation |
Assemble query parts into a proper SPARQL query
spq_assemble(.query, strict = TRUE)
.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. |
A query object
spq_init() %>%
spq_add("?city wdt:P31 wd:Q515") %>%
spq_label(city, .languages = "fr$") %>%
spq_add("?city wdt:P1082 ?pop") %>%
spq_assemble() %>%
cat()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.