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!

rdflib wrapper

Project Description

RDFAlchemy is an abstraction layer, allowing python developers to use familiar dot notation to access and update an rdf triplestore.

  • RDFAlchemy is an ORM (Object Rdf Mapper) for graph data as:
  • SQLAlchemy is an ORM (Object Relational Mapper) for relalational databases

Allows access to:

Provides intuitive access to RDF values by accessing predicate values through dot notation.

ov = Namespace('http://owl.openvest.org/2005/10/Portfolio#')

class Company(rdfSubject):
  rdf_type = ov.Company
  symbol = rdfSingle(ov.symbol,'symbol')  #second param is optional
  cik = rdfSingle(ov.secCik)
  companyName = rdfSingle(ov.companyName)

c = Company.get_by(symbol = 'IBM')
print "%s has an SEC symbol of %s" % (c.companyName, c.cik)

Includes advanced descriptors for read/write access to lists and collections.

Release History

Release History

This version
History Node

0.2.9

History Node

0.2b2dev-r106

History Node

0.2b1

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