Metadata-Version: 2.0
Name: sparql-dataframe
Version: 0.1
Summary: Convert SPARQL results to Pandas dataframes
Home-page: https://github.com/lawlesst/sparql-dataframe
Author: Ted Lawless
Author-email: lawlesst@gmail.com
License: MIT
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Requires-Dist: pandas (>=0.22.0)
Requires-Dist: SPARQLWrapper (>=1.8.1)

# sparql-dataframe

Helper to convert [SPARQLWrapper](https://github.com/RDFLib/sparqlwrapper) results to [Pandas](https://pandas.pydata.org/) [dataframes](https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html).

[![Build Status](https://travis-ci.org/lawlesst/sparql-dataframe.svg?branch=master)](https://travis-ci.org/lawlesst/sparql-dataframe)

See this [blog post](http://lawlesst.github.io/notebook/sparql-dataframe.html) for examples.

You might also be interested in these related examples from [Su Labs tutorial](https://github.com/SuLab/sparql_to_pandas/blob/master/SPARQL_pandas.ipynb).

## Usage

```
import sparql_dataframe

endpoint = "http://dbpedia.org/sparql"

df = sparql_dataframe.get(endpoint, q)
...
```

## Tests

```
$ python -m unittest
```




