Examples

This page lists a number of examples to illustrate the use of MetaLex for different kinds and versions of documents in the spirit of the MetaLex Guidelines. The examples make extensive use of the XSL Stylesheets which are part of the MetaLex distribution. These stylesheets are dynamically applied to the source documents using an Apache Cocoon server. The MetaLex zip file layout is a direct copy of the contents of the dynamic part of this website. The examples show how to use multiple language versions of the same regulation, how to generate RDF (or more specifically OWL Description Logic) from MetaLex XML documents, and how to localize the MetaLex schema.

These examples are all `live’. If you wish to apply XSL Stylesheets offline, for testing your own MetaLex XML documents, or for exploring the distribution, you can either download Apache Xalan-Java 2.7.0 and use the command-line tools provided in the `tools’ directory of the distribution, or you can download the convenient MetalexStyler tool.

SPARQL Endpoint for MetaLex examples

the MetaLex examples from the examples section have been loaded into the repository and can be queried either through the SPARQL/SeRQL endpoint of Sesame, or through a web-interface.

Continue Reading October 22nd, 2007

The Constitution of Hungary

A fragment of the Constitution of Hungary, in Hungarian and English, with localized Hungarian XML elements.

Continue Reading June 9th, 2006

The Legislation Collection of the Netherlands: Basiswettenbestand

MetaLex is independent of publisher-specific XML. This example shows this feature used in the case of government published law texts. The Basiswettenbestand is the basic legislation corpus of the Kingdom of the Netherlands.

Continue Reading June 2nd, 2006

Another Legislation Collection: European Council Decisions

European Council decisions and other types of European legislation are found in EUR-LEX. In this example we some European Council Decisions in MetaLex.

Continue Reading June 2nd, 2006

The Rome Statute

A showcase of MetaLex’s multilingual and multilocale capabilities using the Rome Statute of the International Criminal Court.

Continue Reading October 19th, 2005


Examples