Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
100644 70 lines (46 sloc) 3.325 kb
0221e4b @iherman Added a DOI badge
iherman authored
1 [![DOI](](
780c7cb @iherman Added an .md version of the read me file
iherman authored
4 ======
9adab2b @iherman Changed the warning text
iherman authored
6 New users may choose not to use this package for RDFa 1.1 processing; instead RDFa parsing has
780c7cb @iherman Added an .md version of the read me file
iherman authored
7 been added to the latest release of the core RDFLib package as a parser, using the same
8 code as in this package. For most users this package is of a historical interest only,
9 except for those who have incorporated this version as part of their application workflow
10 and do not want to change the full workflow.
12 Bugs in processing RDFa 1.1 will be taken care of both in this package and in the
9adab2b @iherman Changed the warning text
iherman authored
13 version in RDFLib.
780c7cb @iherman Added an .md version of the read me file
iherman authored
15 2013-08-13
18 Usage Warning
19 -------------
21 Warning (2013-07-16): the latest version of the html5lib package has a bug.
22 This bug manifests itself if the source HTML file contains non-ASCII Unicode characters
23 Until the bug is handled, users should use the older, 0.95 version. It can be downloaded
24 at <>
26 What is it
27 ----------
29 pyRdfa distiller/parser library. The distribution contains:
31 - ./pyRdfa: the Python library. You should copy the directory
32 somewhere into your PYTHONPATH. Alternatively, you can also run the
34 `python install`
36 script in the directory.
38 - ./scripts/ can be used as a CGI script to invoke the library.
39 It has to be adapted to the local server setup, namely in setting the right paths
41 - ./scripts/ script that can be run locally on to transform
42 a file into RDF (on the standard output). Run the script with "-h" to
43 get the available flags.
45 - ./Doc-pyRdfa: (epydoc) documentation of the classes and functions
47 - ./Additional_Packages: some additional packages that are necessary for the library; added here for an easier distribution.
48 Each of those libraries must be installed separately. Exception is RDFLib that should be installed directly from the server
50 The package primarily depends on:
51 - RDFLib: <>. Version 3.2.0 or higher is strongly recommended.
52 - html5lib: <>
53 - simplejson: <> (in the additional packages folder), needed if the JSON serialization is used and if the underlying python version is 2.5 or lower
54 - isodate: <> (in the additional packages folder) which, in some cases, is missing and RDFLib complains (?)
39d3bf2 @iherman Added a usage of Niklas' JSON-LD serializer instead of the internal one.
iherman authored
56 At the moment, the JSON-LD serialization depends on an external JSON-LD serializer. The package comes with a simple one, but if Niklas Lindström's rdflib_jsonld package is available, then this will be used. The former is not really maintained; the latter is in github: ,>. Note that, eventually, this serializer will find its way to the core RDFLib distribution.
780c7cb @iherman Added an .md version of the read me file
iherman authored
58 The package has been tested on Python version 2.5 and higher. Python 2.6 or higher is strongly recommended. The package has been adapted to Python 3, though not yet thoroughly tested, because the html5lib does not have yet a Python 3 version.
60 For the details on RDFa 1.1, see:
62 - <>
63 - <>
64 - <>
65 - <>
67 possibly:
69 - <>
Something went wrong with that request. Please try again.