R script connecting to Open Data for Scotland SPARQL