Execute SPARQL select query and parse results
query(query_string, endpoint = default_endpoint(), format = "csv")
query_string | A string with the select query |
---|---|
endpoint | A string defining the endpoint |
format | A string defining the format, either |
A data frame with a column for each variable binding, and a row per result
if (FALSE) { query("SELECT * WHERE { ?s ?p ?o } LIMIT 10", "https://statistics.data.gov.uk/sparql") }