dw-jdbc is a JDBC driver for connecting to datasets hosted on data.world. It can be used to provide read-only access to any dataset provided by data.world from any JVM language. dw-jdbc supports query access both in SQL (data.world's dialect - see details in our data.world SQL tutorial) and in SPARQL 1.1, the native query language for semantic web data sources.
JDBC connects to data source based on a provided JDBC url. data.world JDBC urls have the form
jdbc:data:world:[language]:[user id]:[dataset id]
[language] is either "sql" or "sparql",
[user id] is the data.world id of the dataset owner, and
[dataset id] is the data.world identifier for the dataset.
Sample code (Java 8)
dw-jdbc can be built from the command-line using mvn clean install.
Finding your Token
- Visit https://data.world/settings/advanced
- Copy your token.
More resources for using Java/JVM/JDBC-enabled tools: