#http://www.r-bloggers.com/sparql-with-r-in-less-than-5-minutes/ library(SPARQL) # SPARQL querying package library(ggplot2) endpoint <- "" query <- '' useragent <- paste("WDQS-Example", R.version.string) # TODO adjust this; see https://w.wiki/CX6 qd <- SPARQL(endpoint,query,curl_args=list(useragent=useragent)) df <- qd$results