Wikidata:WikiProject Brazilian Laws/Schema crosswalk
|
Schema crosswalk
[edit]There are two main webpages where Brazil's laws can be accessed: the LEXML API and Palácio do Planalto's website. The details available in one of the platforms isn't always present in the other, and vice-versa. In the following table there is a list of the properties available in each of them, how they correlate between themselves and the Wikidata properties they correspond to, along with a description of what they represent. Blank cells represent properties that have no correspondent in that system. This schema can be applied (or partially applied) to a series of Brazilian legislation items, such as provisory measure (Q7252768), appellate decision (Q9581877) etc.
LeXML | Palácio do Planalto | Wikidata | Description |
---|---|---|---|
autoridade facet-autoridade |
- | approved by (P790) | organization that issued the law |
tipoDocumento facet-tipoDocumento |
- | instance of (P31) | type of law (federal law (Q1006612), decree law (Q6453643) etc) |
localidade facet-localidade |
- | country (P17), applies to jurisdiction (P1001) | geographic unit that the law has jurisdiction. country (P17) can be implied from this value |
date | Data de Publicação | publication date (P577) | date the law was published in an official journal (such as the Diário Oficial da União (Q3712237) and came into force |
description | Ementa | law digest (P9376) | short text that summarizes a law, part of the preamble |
identifier | - | There isn't a Wikidata property for this | 8-9 digits long number which is also used as an identifier. There is no documentation about where it is used |
subject | Assunto | main subject (P921) | main topics of the law |
title | Page's title (h1 tag) | labels, title (P1476) | official name of the law |
urn | - | LexML Brazil ID (P9119) | uniform resource identifier that follows the URN (Q76497) scheme. |
- | Data de assinatura | point in time (P585) (qualifier of approved by (P790)) | date in which the law was signed or put into effect |
- | Situação | There isn't a Wikidata property for this | current state of the law (if it was repealed, amended, overruled etc) |
- | Chefe de Governo | signatory (P1891) (qualifier of approved by (P790)) | person who issued the law. Can be infered to be the sitting president at the time |
- | Origem | legislated by (P467) | institution in which the law was originated |
- | Fonte | published in (P1433) | official journal in which the law was published. Qualifiers object named as (P1932), page(s) (P304) and point in time (P585) can be infered from this value. |
- | Link | full work available at URL (P953) | link to the full text of the law |
- | Referenda | There isn't a Wikidata property for this | institutions or group of citizens who proposed the creation of the law |
- | Alteração | amended by (P2567), repealed by (P2568), repeals (P3148), overrules (P4006) | other laws that have made at least one change in this law |
- | Correlação | There isn't a Wikidata property for this | other laws to which the current one relates |
- | Veto | There isn't a Wikidata property for this | whether the law has been totally or partially vetoed, and which parts |
- | Classificação de direito | facet of (P1269)(?) | area of law (Q1756157) related to this law |
- | Observação | There isn't a Wikidata property for this | miscellaneous footnotes |
- | - | place of publication (P291) | place of publication. Can be inferred from applies to jurisdiction (P1001) and publication date (P577) |
- | - | language of work or name (P407) | language of the law. Can be assumed to be Brazilian Portuguese (Q750553) |
- | - | legal citation of this text (P1031) | legal citation of the law. Can be infered from title (P1476) |
- | - | on focus list of Wikimedia project (P5008) | wikiproject that this law is of particular interest. WikiProject Brazilian Laws (Q105091640), for example |
SchEx
[edit]Based on the schema crosswalk above, an Entity Schema was built for the Brazilian statute (Q820655) and decree law (Q6453643):