Example code; Modifying the database

You can add triples to InformationStores:

from rdflib.URIRef import URIRef
from rdflib.Literal import Literal

DC_TITLE = URIRef('http://purl.org/dc/elements/1.1/title')
REVIEW_SUBJECT = URIRef('http://amk.ca/xml/review/1.0#subject')
book_uri = URIRef('urn:isbn:0609602330')

store.add((URIRef('http://www.amk.ca/books/h/Isaacs_Storm.html'),
REVIEW_SUBJECT,
book_uri
))

You can also remove a triple:

store.remove((URIRef('http://www.amk.ca/books/h/Isaacs_Storm.html'),
REVIEW_SUBJECT,
book_uri
))