No description, website, or topics provided.
Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


MetaLex Converter
Copyright (c) 2011 by Rinke Hoekstra, Universiteit van Amsterdam

@author: Rinke Hoekstra
@organization: Universiteit van Amsterdam
@version: 0.1
@status: beta
@copyright: 2011, Rinke Hoekstra, Universiteit van Amsterdam

@license: MetaLex Converter is free software, you can redistribute it and/or modify
it under the terms of GNU Affero General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

You should have received a copy of the the GNU Affero
General Public License, along with MetaLex Converter. If not, see

Additional permission under the GNU Affero GPL version 3 section 7:

If you modify this Program, or any covered work, by linking or
combining it with other code, such other code is not for that reason
alone subject to any of the requirements of the GNU Affero GPL
version 3.

This is a set of Python scripts for converting legislative XML to the MetaLex CEN format [1], an RDF representation of its metadata, and a Pajek NET file containing cross references between regulations. 

The current version can convert the Dutch Basiswettenbestand [2].

[1] See
[2] See

How to get things going:

* Install Python 2.7 for your OS
* Install Python setuptools (for easy_install)

* Install rdflib from
  - (run 'easy_install -U "rdflib>=3.0.0"')
* Install BeautifulSoup from
  - Get the latest source distribution (3.2 or higher) and build according to the instructions 
  - (run ' install')
* Install poster from
  - (run 'easy_install poster')
* Clone the GIT reposittory from GitHub:
  - git clone it://
  - (you can always update to the latest version by running 'git pull')
* Change dir to the /src directory, and run 'python'
* There's a convenience script '' for converting all known documents in the BWB.