Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
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('')

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


History Node


History Node


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