
Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. Pages: 29. Chapters: RDFLib, PyQt, IronPython, Twisted, Python-Ogre, NumPy, RPyC, SQLAlchemy, Matplotlib, VPython, WxPython, Pygame, SciPy, CGAL, PyGTK, Soya3D, SymPy, Construct, ADOdb, Genshi, OpenOpt, ReportLab, Natural Language Toolkit, FuncDesigner, PySide, Python Robotics, Kamaelia, Pyglet, SimPy, SQLObject, Topsite Templating System, Sound Object Library, Pickle, GarlicSim, PyObjC, CheetahTemplate, ScientificPython, XDMF, Storm, Jinja, Kid, Redland RDF Application Framework, Python Imaging Library, PyEphem, CherryTemplate, WuGeo. Excerpt: RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information. The library contains an RDF/XML parser/serializer that conforms to the RDF/XML Syntax Specification (Revised). The library also contains both in-memory and persistent Graph backends. It is being developed by a number of contributors and was created by Daniel Krech who continues to maintain it. RDFLib's use of various Python idioms makes them an appropriate way to introduce it to a Python programmer who hasn't used it before. RDFLib Graphs redefine certain built-in Python methods in order to behave in a predictable way. RDFLib graphs emulate container types and are best thought of as a set of 3-item triples: set()RDFLib graphs are not sorted containers; they have ordinary set operations, e.g. add to add a triple, and methods that search triples and return them in arbitrary order. The following RDFLib classes (listed below) model RDF terms in a graph and inherit off a common Identifier class, which extends Python unicode. Instances of these are nodes in an RDF graph. RDFLib provides mechanisms for managing Namespaces. In particular, there is a Namespace class which takes (as its only argument) the Base URI of the namespace. Fully qualified URIs in the namespace can be constructed by...
Page Count:
30
Publication Date:
2013-09-01
Publisher:
General Books
ISBN-10:
1230540776
ISBN-13:
9781230540771
No comments yet. Be the first to share your thoughts!