Re: Provide Access to Subsets - 2 real examples

Newton, Bernadette, and I had a discussion about this the other day. We 
agreed that these sorts of examples are in fact APIs, just built on 
SPARQL. The BP already mentions APIs. We decided to revise the BP to 
cover the case of subsetting via separate file downloads as well.
-Annette

On 3/25/16 6:19 AM, Laufer wrote:
>
> Hi All,
>
> I have collected two examples of distributing subsets that I think 
> could be taken into account as possible implementation approaches of 
> the BP related to subsets.
>
> IMHO, I still think that the text and the discussion are too much 
> focused in APIs, and gives, to me, the feeling that it is related to 
> domains such as scientific data or real-time data.
>
> I hope these examples can be useful.
>
> Thank you.
>
> Best regards, Laufer
>
> --------------------------------------------------
> Example 1 - http://education.data.gov.uk/
> --------------------------------------------------
>
> URL access to all schools
> http://education.data.gov.uk/doc/school
>
> URL access to a particular school (by it´s reference number) - (Herne 
> Hill School)
> http://education.data.gov.uk/doc/school/100866
>
> The results can be provided in different formats such csv, json, ttl, etc.
> http://education.data.gov.uk/doc/school.csv
>
> URL access to subsets: primary schools or secondary schools
> http://education.data.gov.uk/doc/school/phase/primary
> http://education.data.gov.uk/doc/school/phase/secondary
>
> URL access to a particular school, using the query part of the URI
> http://education.data.gov.uk/doc/school?uniqueReferenceNumber=100866
> http://education.data.gov.uk/doc/school?label=Herne%20Hill%20School
>
> URL access to groups of schools with a particular characteristic, 
> using the query part of the URI
> http://education.data.gov.uk/doc/school.html?districtAdministrative.label=Southwark
> http://education.data.gov.uk/doc/school.html?typeOfEstablishment.label=Community%20School
> http://education.data.gov.uk/doc/school.html?districtAdministrative.label=Southwark&typeOfEstablishment.label=Community%20School
>
> Using a SPARQL endpoint
> Leigh Dodds blog post describing how to make SPARQL queries into the 
> Edubase linked data.
> https://data.gov.uk/blog/using-sparql-our-education-datasets
>
> ----------------------------------------------------------------------
> Example 2 - http://dados.gov.br/dataset/orcamento-federal
> ----------------------------------------------------------------------
>
> CKAN entry
> http://dados.gov.br/dataset/orcamento-federal/resource/03df3200-7c7a-460e-b1f2-0eba73d09cad
>
> URL access to data for a specific year (zip file)
> https://www1.siop.planejamento.gov.br/downloads/rdf/loa{year}.zip
>
> URL access to particular subsets of data for a specific year grouped 
> by particular properties (Acao, Atividade, etc.)
> http://orcamento.dados.gov.br/doc/{year}/Acao/{code}
> http://orcamento.dados.gov.br/doc/{year}/Atividade/{code}
> http://orcamento.dados.gov.br/doc/{year}/CategoriaEconomica/{code}
> http://orcamento.dados.gov.br/doc/{year}/ElementoDespesa/{code}
> http://orcamento.dados.gov.br/doc/{year}/Esfera/{code}
> http://orcamento.dados.gov.br/doc/{year}/Exercicio/{identifier}
> http://orcamento.dados.gov.br/doc/{year}/FonteRecursos/{code}
> http://orcamento.dados.gov.br/doc/{year}/Funcao/{code}
> http://orcamento.dados.gov.br/doc/{year}/GrupoNatDespesa/{code}
> http://orcamento.dados.gov.br/doc/{year}/IdentificadorUso/{code}
> http://orcamento.dados.gov.br/doc/{year}/ItemDespesa/{code}
> http://orcamento.dados.gov.br/doc/{year}/ModalidadeAplicacao/{code}
> http://orcamento.dados.gov.br/doc/{year}/OperacaoEspecial/{code}
> http://orcamento.dados.gov.br/doc/{year}/Orgao/{code}
> http://orcamento.dados.gov.br/doc/{year}/PlanoOrcamentario/{code}
> http://orcamento.dados.gov.br/doc/{year}/Programa/{code}
> http://orcamento.dados.gov.br/doc/{year}/Projeto/{code}
> http://orcamento.dados.gov.br/doc/{year}/ResultadoPrimario/{code}
> http://orcamento.dados.gov.br/doc/{year}/Subfuncao/{code}
> http://orcamento.dados.gov.br/doc/{year}/Subtitulo/{code}
> http://orcamento.dados.gov.br/doc/{year}/UnidadeOrcamentaria/{code}
>
> -- 
>
> .  .  .  .. .  .
> .        .   . ..
> .     ..       .
>

-- 
Annette Greiner
NERSC Data and Analytics Services
Lawrence Berkeley National Laboratory

Received on Friday, 25 March 2016 17:40:30 UTC