Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

python interface for SpazioDati's dataTXT and DBpedia

Project Description

datatxt is a library to query a dataTXT service and to enrich annotations with queries to DBpedia SPARQL endpoint. It will automatically convert literals to the corresponding Python types.

Visit http://spaziodati.eu/dataTXT for documentation and examples.

API

First you instantiate a dataTXT class:

d = datatxt.Datatxt()

Then you ask for annotation:

result = d.annotation(text)

You will receive a dictionary with annotation as DBpedia resources and for each resource you will receive all properties found in the DBpedia triplestore.

The library will automatically convert typed literals to a coresponding simple type in Python. Dates are also converted if the dateutil library is available.

License

This software is licensed under BSD license, included as LICENSE.txt in the source distribution.

Release History

Release History

This version
History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dataTXT-0.5.tar.gz (4.8 kB) Copy SHA256 Checksum SHA256 Source Nov 16, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting