Fetch results of a SPARQL query to a tibble

sparql_to_tibble(query, endpoint, useragent)

Arguments

query

SPARQL query as a string

endpoint

SPARQL endpoint of a Wikibase instance

useragent

default: paste("Wikibase", R.version.string)

Examples

if (FALSE) {
addresses_in_munich <- 'SELECT ...'
endpoint <- "https://database.factgrid.de/sparql"
sparql_tibble <- sparql_to_tibble(query = addresses_in_munich, endpoint = endpoint)
}