W3C home > Mailing lists > Public > public-dwbp-wg@w3.org > March 2016

Re: Provide Access to Subsets - 2 real examples

From: Laufer <laufer@globo.com>
Date: Fri, 25 Mar 2016 14:53:49 -0300
To: Annette Greiner <amgreiner@lbl.gov>
Cc: public-dwbp-wg@w3.org
Message-ID: <815be6849d313e9ab6056044cf009ee7@globo.com>
 

Annette, 

For the users, in the second example that I gave, they see a list of
URLs. 

It is completely different from studying the format of a message to be
submitted to an API or, in this case, submit the SPARQL query. It is an
URI Template. In concrete terms, for them, they ask the subsets through
URLs. 

The fact that this is translated to a SPARQL query is transparent to the
consumers. 

Again, I hope these examples could help. 

Laufer 

---
. . . .. . . 
. . . ..
. .. . 

Em 25/03/2016 14:40, Annette Greiner escreveu: 

> 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/ [1]
>> -------------------------------------------------- 
>> 
>> URL access to all schools
>> http://education.data.gov.uk/doc/school [2] 
>> 
>> URL access to a particular school (by it´s reference number) - (Herne Hill School)
>> http://education.data.gov.uk/doc/school/100866 [3] 
>> 
>> The results can be provided in different formats such csv, json, ttl, etc.
>> http://education.data.gov.uk/doc/school.csv [4] 
>> 
>> URL access to subsets: primary schools or secondary schools
>> http://education.data.gov.uk/doc/school/phase/primary [5]
>> http://education.data.gov.uk/doc/school/phase/secondary [6] 
>> 
>> URL access to a particular school, using the query part of the URI
>> http://education.data.gov.uk/doc/school?uniqueReferenceNumber=100866 [7]
>> http://education.data.gov.uk/doc/school?label=Herne%20Hill%20School [8] 
>> 
>> 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 [9]
>> http://education.data.gov.uk/doc/school.html?typeOfEstablishment.label=Community%20School [10]
>> http://education.data.gov.uk/doc/school.html?districtAdministrative.label=Southwark&typeOfEstablishment.label=Community%20School [11] 
>> 
>> 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 [12] 
>> 
>> ----------------------------------------------------------------------
>> Example 2 - http://dados.gov.br/dataset/orcamento-federal [13]
>> ---------------------------------------------------------------------- 
>> 
>> CKAN entry
>> http://dados.gov.br/dataset/orcamento-federal/resource/03df3200-7c7a-460e-b1f2-0eba73d09cad [14] 
>> 
>> URL access to data for a specific year (zip file)
>> https://www1.siop.planejamento.gov.br/downloads/rdf/loa [15]{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/ [16]{year}/Acao/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/Atividade/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/CategoriaEconomica/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/ElementoDespesa/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/Esfera/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/Exercicio/{identifier}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/FonteRecursos/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/Funcao/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/GrupoNatDespesa/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/IdentificadorUso/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/ItemDespesa/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/ModalidadeAplicacao/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/OperacaoEspecial/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/Orgao/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/PlanoOrcamentario/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/Programa/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/Projeto/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/ResultadoPrimario/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/Subfuncao/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/Subtitulo/{code}
>> http://orcamento.dados.gov.br/doc/ [16]{year}/UnidadeOrcamentaria/{code} 
>> -- 
>> . . . .. . . 
>> . . . ..
>> . .. .
> 
> -- 
> Annette Greiner
> NERSC Data and Analytics Services
> Lawrence Berkeley National Laboratory
 

Links:
------
[1] http://education.data.gov.uk/
[2] http://education.data.gov.uk/doc/school
[3] http://education.data.gov.uk/doc/school/100866
[4] http://education.data.gov.uk/doc/school.csv
[5] http://education.data.gov.uk/doc/school/phase/primary
[6] http://education.data.gov.uk/doc/school/phase/secondary
[7] http://education.data.gov.uk/doc/school?uniqueReferenceNumber=100866
[8] http://education.data.gov.uk/doc/school?label=Herne%20Hill%20School
[9]
http://education.data.gov.uk/doc/school.html?districtAdministrative.label=Southwark
[10]
http://education.data.gov.uk/doc/school.html?typeOfEstablishment.label=Community%20School
[11]
http://education.data.gov.uk/doc/school.html?districtAdministrative.label=Southwark&amp;typeOfEstablishment.label=Community%20School
[12] https://data.gov.uk/blog/using-sparql-our-education-datasets
[13] http://dados.gov.br/dataset/orcamento-federal
[14]
http://dados.gov.br/dataset/orcamento-federal/resource/03df3200-7c7a-460e-b1f2-0eba73d09cad
[15] https://www1.siop.planejamento.gov.br/downloads/rdf/loa
[16] http://orcamento.dados.gov.br/doc/
Received on Friday, 25 March 2016 17:54:23 UTC

This archive was generated by hypermail 2.3.1 : Friday, 25 March 2016 17:54:23 UTC