From the rdflib-2.x directory run the following command:
python setup.py install
See the documentation for InformationStore or TripleStore, RDFLib's primary interfaces. Or try some examples.