This is a discussion about the submission for National Laws / Brazil.
I’m somewhat familiar with LexML, but I am still not sure if the dataset qualifies. Some questions:
- From the LexML’s SRU webservice, how do I get to the content of the legislation? Here’s an example query:
<srw:searchRetrieveResponse xmlns:srw_dc="info:srw/schema/1/dc-schema"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:srw="http://www.loc.gov/zing/srw/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema">
<srw:version>1.1</srw:version>
<srw:numberOfRecords>13</srw:numberOfRecords>
<srw:records>
<srw:record>
<srw:recordPacking>XML</srw:recordPacking>
<srw:recordSchema>info:srw/schema/1/dc-v1.1</srw:recordSchema>
<srw:recordData>
<srw_dc:dc xsi:schemaLocation="info:srw/schema/1/dc-schema http://www.loc.gov/z3950/agency/zing/srw/dc-schema.xsd">
<tipoDocumento>Decreto</tipoDocumento>
<facet-tipoDocumento>Legislação::Decreto</facet-tipoDocumento>
<dc:date>1942-02-14</dc:date>
<urn>urn:lex:br:federal:decreto:1942-02-14;8777</urn>
<localidade>Brasil</localidade>
<facet-localidade>Brasil</facet-localidade>
<autoridade>Federal</autoridade>
<facet-autoridade>Federal</facet-autoridade>
<dc:title>Decreto nº 8.777, de 14 de Fevereiro de 1942</dc:title>
<dc:title>Decreto nº 8.777, de 14 de fevereiro de 1942</dc:title>
<dc:description>Suprime cargos extintos.</dc:description>
<dc:description>SUPRIME CARGOS EXTINTOS.</dc:description>
<dc:subject>DECLARAÇÃO, SUPRESSÃO, CARGO DE CARREIRA, QUADRO DE PESSOAL, MINISTERIO DA VIAÇÃO E OBRAS PUBLICAS.</dc:subject>
<dc:type>html</dc:type>
<dc:identifier>000741679</dc:identifier>
</srw_dc:dc>
</srw:recordData>
</srw:record>
The first strange fact about this is the different number of results. Here are 13 results. The same query on the web interface returns 14 results.
Also, as you can see, there is only minimal metadata about each record in this search results. There is no link provided for another query to retrieve more detailed metadata, such as the one you can see on this page. More importantly, and relevant to the submission, is that I can’t find in this xml any links to the content of the document, the date of last amendment and the existing amendments.
As for the bulk download, the sitemap contains references to all the identifiers of legislation. However, the metadata is not there inside the bulk download, not to say the contents of legislation.
@ppkrauss, as you are more familiar with this than I am, perhaps you could clarify? Or perhaps the specialist @Wagner_Faria_de_Oliv consulted with about this dataset?