Official Compilation (OC)#
The Official Compilation (OC) is according to the lexicon of parliamentary terms the compilation of primarily the federal constitution, federal acts and federal decrees.
This part explains all the important objects that build an entry in the Official Compilation and it does so with the help of the federal constitution as an example of an entry in the Official Compilation.
Hint for legal laypersons
Entries in the Official Compilation do not represent something like a current consolidated version of a legislative resource but are some kind of “building blocks” of an actual legislative resource. Updates to a legal text are published as “deltas” to already existing texts - much like an additional commit in software development.
In distinction from the Official Compilation, the current consolidated legislative resources are modelled in the Classified Compilation.
Example#
Throughout this sub-page, the federal constitution is used as an example of an entry in the Official Compilation.
URI#
The URI of an entry in the Official Compilation contains the following parts:
Standard namespace and path:
https://fedlex.data.admin.ch/eli/
the part
oc/
denotes the Official Compilation, meaning that this URI identifies something that is part of the Official Compilation of the federal lawYYYY/
is the year of the publication (for older acts this can just be a number from 1 to 63 and roman I to XI)ID
an identifier that has no specific meaning but is restarting every new year and for older entries, this can also be linked to the starting page number for each language (e.g.https://fedlex.data.admin.ch/eli/oc/1/183_154_179
)
General Structure#
Every entry in the Official Compilation is of type jolux:Act.
jolux:Act
The owl:Class jolux:Act is used for entries in the Official Compilation and the Federal Gazette. It is of the same abstraction level as jolux:Work and all jolux:Act are also jolux:Work.
For jolux:Act, the additional abstraction levels jolux:Expression and jolux:Manifestation are also available for all entries except some older ones (e.g. https://fedlex.data.admin.ch/eli/oc/1/183_154_179
).
The following figure shows the general structure of an entry in the Official Compilation:

General structure of an entry in the Official Compilation.#
As the jolux:Act is a very abstract representation of a legislative resource, there is e.g. no title of the law attached to the jolux:Act because this is something language specific and therefore added to the jolux:Expression of the jolux:Act.
As the Official Compilation is released in a weekly bulletin, all jolux:Act are part of such a bulletin via jolux:isPartOf and the bulletin itself is a type jolux:Memorial:
jolux:isPartOf
The object property jolux:isPartOf is used to connect a jolux:Act to the weekly bulletin that it is part of.
jolux:Memorial
The owl:Class jolux:Memorial is used for the weekly bulletin that contains the new entries of the Official Compilation and for the Federal Gazette.
Datatype Properties#
Object Properties#
Object properties that point to a vocabulary entry:
Object properties that point to an individual:
SPARQL Examples#
The following SPARQL query shows all the different jolux:Expression for the federal constitution:
PREFIX jolux: <http://data.legilux.public.lu/resource/ontology/jolux#>
SELECT ?expression WHERE {
<https://fedlex.data.admin.ch/eli/oc/1999/404> jolux:isRealizedBy ?expression.
}
The following SPARQL query shows all the different jolux:Manifestation for the federal constitution:
PREFIX jolux: <http://data.legilux.public.lu/resource/ontology/jolux#>
SELECT ?manifestation WHERE {
<https://fedlex.data.admin.ch/eli/oc/1999/404> jolux:isRealizedBy ?expression.
?expression jolux:isEmbodiedBy ?manifestation.
}
The following SPARQL query shows all the different jolux:Act that have the legal genre “Basic legislation” and are not yet in force.
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX jolux: <http://data.legilux.public.lu/resource/ontology/jolux#>
SELECT ?act ?date WHERE {
?act jolux:legalResourceGenre <https://fedlex.data.admin.ch/vocabulary/legal-resource-genre/100>;
jolux:dateEntryInForce ?date.
FILTER(?date > xsd:date(NOW()))
}