Hello,
Instead of using ODBC, it might be easier to use the SPARQL package in R:
# install.packages('SPARQL')
library(SPARQL)
endpoint <- 'http://localhost:8890/sparql'
query <- "
SELECT *
WHERE
{
?s ?p ?o .
}
LIMIT 10
"
result <- SPARQL(endpoint, query)$results
Joachim
On 14 April 2014 16:39, Patrick van Kleef <pkl...@openlinksw.com> wrote:
> HI Esra,
>
> > I would like to ask if it is possible to run R script (
> http://www.r-project.org/) on Virtuoso server. Thanks!
>
>
> You can interface between R and Virtuoso using the RODBC package:
>
> http://cran.r-project.org/package=RODBC
>
> This uses the Virtuoso ODBC driver to connect to the Virtuoso database
> engine and retrieve information via SQL or SPASQL from your Virtuoso
> database and process it further within the R language.
>
>
> Patrick
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users