You are browsing the archive for OKF Sweden.

Beauty behind the scenes

- August 5, 2015 in ckan, OKF Sweden, Open Data, Open Knowledge

Good things can often go unnoticed, especially if they’re not immediately visible. Last month the government of Sweden, through Vinnova, released a revamped version of their open data portal, Ö The portal still runs on CKAN, the open data management system. It even has the same visual feeling but the principles behind the portal are completely different. The main idea behind the new version of Ö is automation. Open Knowledge teamed up with the Swedish company Metasolutions to build and deliver an automated open data portal.

Responsive design

In modern web development, one aspect of website automation called responsive design has become very popular. With this technique the website automatically adjusts the presentation depending on the screen size. That is, it knows how best to present the content given different screen sizes. Ö got a slight facelift in terms of tweaks to its appearance, but the big news on that front is that it now has a responsive design. The portal looks different if you access it on mobile phones or if you visit it on desktops, but the content is still the same. These changes were contributed to CKAN. They are now a part of the CKAN core web application as of version 2.3. This means everyone can now have responsive data portals as long as they use a recent version of CKAN.
New Ö

New Ö

Old Ö

Old Ö

Data catalogs

Perhaps the biggest innovation of Ö is how the automation process works for adding new datasets to the catalog. Normally with CKAN, data publishers log in and create or update their datasets on the CKAN site. CKAN has for a long time also supported something called harvesting, where an instance of CKAN goes out and fetches new datasets and makes them available. That’s a form of automation, but it’s dependent on specific software being used or special harvesters for each source. So harvesting from one CKAN instance to another is simple. Harvesting from a specific geospatial data source is simple. Automatically harvesting from something you don’t know and doesn’t exist yet is hard. That’s the reality which Ö faces. Only a minority of public organisations and municipalities in Sweden publish open data at the moment. So a decision hasn’t been made by a majority of the public entities for what software or solution will be used to publish open data. To tackle this problem, Ö relies on an open standard from the World Wide Web Consortium called DCAT (Data Catalog Vocabulary). The open standard describes how to publish a list of datasets and it allows Swedish public bodies to pick whatever solution they like to publish datasets, as long as one of its outputs conforms with DCAT. Ö actually uses a DCAT application profile which was specially created for Sweden by Metasolutions and defines in more detail what to expect, for example that Ö expects to find dataset classifications according the Eurovoc classification system. Thanks to this effort significant improvements have been made to CKAN’s support for RDF and DCAT. They include application profiles (like the Swedish one) for harvesting and exposing DCAT metadata in different formats. So a CKAN instance can now automatically harvest datasets from a range of DCAT sources, which is exactly what Ö does. For Ö, the CKAN support also makes it easy for Swedish public bodies who use CKAN to automatically expose their datasets correctly so that they can be automatically harvested by Ö For more information have a look at the CKAN DCAT extension documentation.

Dead or alive

The Web is decentralised and always changing. A link to a webpage that worked yesterday might not work today because the page was moved. When automatically adding external links, for example, links to resources for a dataset, you run into the risk of adding links to resources that no longer exist. To counter that Ö uses a CKAN extension called Dead or alive. It may not be the best name, but that’s what it does. It checks if a link is dead or alive. The checking itself is performed by an external service called deadoralive. The extension just serves a set of links that the external service decides to check to see if some links are alive. In this way dead links are automatically marked as broken and system administrators of Ö can find problematic public bodies and notify them that they need to update their DCAT catalog (this is not automatic because nobody likes spam). These are only the automation highlights of the new Ö Other changes were made that have little to do with automation but are still not immediately visible, so a lot of Ö’s beauty happens behind the scenes. That’s also the case for other open data portals. You might just visit your open data portal to get some open data, but you might not realise the amount of effort and coordination it takes to get that data to you. Image of Swedish flag by Allie_Caulfield on Flickr (cc-by) This post has been republished from the CKAN blog.

The state of Swedish digital policy: Open Knowledge Sweden at the annual Almedalen Political Summit

- August 1, 2014 in Almedalen, Featured Project, OKF Sweden, Policy, Sweden

This is a guest blog post by Kristina Olausson, Blog writer and editor for Open Knowledge Sweden. You can see the Swedish version it is based on here. Almedalen 2014

Photo by Socialdemokrater, CC-BY-ND

Part of the team of Open Knowledge Sweden, Kristina Olausson and Mattias Axell, visited the annual politicians week – the Almedalen week at Gotland, Sweden. It is an event in which the political parties, interest groups and the public sector participates. The Almedalen week was initiated by Swedish Prime Minister Olof Palme in 1968 and has evolved to become the main political gathering of the year. Even though the outline has changed over time it now follows a rather fixed pattern. Each party has one day of the week dedicated to their events, and the party leader gives a speech in the evening. In parallel to what the parties arrange, there is a huge number of seminars organized by different interest groups, companies and public sector bodies. This year more than 3500 seminars could be found in the program. By participating, Open Knowledge Sweden aimed to follow the current debates on Swedish digital policy and what importance these have in the upcoming Swedish national elections this autumn. During the week we took part in seminars on digitalization, integrity and open data.  Almedalen 2014

Photo by djurensratt, CC-BY-NC

Since last year a change can be noticed in the attitude towards open data among Swedish public sector bodies and municipalities. It is now more open an positive, less skeptical. The question is no longer if, but how the public sector can make its information easier to use. More public sector bodies (PSBs) than before have started working with open data. However, with regards to the OKFN definition of open data, it should be noted that in these cases it is rather the re-use of public sector information than open data that is discussed. The municipality Skellefteå and the region Västerbotten arranged a seminar on open data and how the possibilities of innovation can be used. They also raised the question about how the responsibility for this process should be devided between the public and private sector as well as other interested parties. Henrik Ishihara, an expert working for Anna-Karin Hatt, the Minister for Information Technology and Energy, said that about 40 percent of all PSBs now work with re-use of public information. Janne Elvelid, former employee of the Committee of Digitization, was more sceptical to the current development and showed that Sweden has actually lost its place among the leading countries on IT.  Almedalen 2014

Photo by Kristina Olausson, CC-BY-SA

At another seminar organized by Lantmäteriet, who offer map-data, discussed if charges should be put on data and if so, how much. The public sector body itself has now started to work more actively to make their data open. Why then are Swedish PSBs and municipalities lacking behind their European colleagues in this development?  According to many actors the main obstacle in making more data open is the demand on the PSBs to charge for re-use of data. The principle of publicity is an old tradition in Sweden which implies that all public information is available to the public. However, this does not mean that it is for free. What separates Sweden from many other European countries is the fact that many public sector bodies are obliged to charge for re-use of data. It was argued by some actors we met that it will be impossible to create more re-use without removing the rules of charging. In the case of Lantmäteriet, they estimate that the removal of charges on their map-data will cost about 100 million Swedish kronor (about 12 million euro).  The possibilies of digitazation was another theme of many seminars. Dagens Industri and SAS Institute organized one to discuss how the public sector can use big data (as already done by the private sector) to predict certain patterns in society. This could for example be finding the next flue crisis by analysing Facebook status updates. One challenge put forward in this discussion is the fact that many public services are offered by the 290 Swedish municipalities (kommuner). As there is a strong self-governing principle in Sweden, the municipalities are not collaborating on many of these services which makes it hard for small municipalities to invest in digitalization. Thus, more collaboration is needed not only for municipalities but also for public sector bodies. Cloud services is a positive possibility of developing the public services as the goal is to have more service online and thus also more information stored in this format. In the mean time, during this development, there is a need to take privacy issues into account. Microsoft arranged a number on seminars on this theme during the week. One that we attended was regarding privacy in schools in combination with cloud services. In Sweden the Salem-case is especially well known. The municipality Salem was criticized by the Data Inspection Authorities because they let their students use Google’s cloud services which was regarded not to have sufficient protection for the pupils’ privacy. How this should be done in practice is still under political discussion, if so very limited. At a seminar by Ernst and Young company representatives of some of our big telephone- and network operators said this has led to they themselves having to make their own priorities on privacy. This might however not be positive as it could lead to companies starting to censor their net services, according to their own liking. This might lead to less transparent processes of handling these issues. Additionally, not all companies are happy to take on this responsibility themselves. The debated judgement from the European Court of Justice in the case Google Spain vs. Mario Costeja González was used as an example by David Mothander, Nordic Policy Advisor at Google Almedalen 2014

Photo by FORES, CC-BY

He was critical to the judgement, also called the right to be forgotten, states that internet search engine operators are responsible for “the processing that it carries out of personal data which appear on web pages published by third parties“. Naturally, it is not surprising that a company like Google does not want to be responsible for such procedures. However it also leads to interesting questions on who should be responsible for protecting the privacy and personal data of individuals. The opportunities of digitization was also discussed at a seminar with representatives of youth party organisations. While the left (and the youth organisation of the Swedish democrats) were most concerned about the surveillance society, the right wing parties wanted better conditions for companies. They instead want the state to take care of the infrastructure (broad band etc.) and the companies should run the development. The interesting aspect of this seminar was foremost that it had such a high density of politicians. Generally the events on the themes we covered did not have that many political representatives in the panels. Thus it has been hard to evaluate the digital politics of the parties with regards to the upcoming elections this autumn. Almedalen 2014

Photo by Lärarnas Nyheter, CC-BY-NC-ND

Digital policy has not been a central theme to this years election campaigns. However, even though the Swedish politicians were not discussing these issues intensively many interesting ideas were put forward by interest groups and companies. Open Data is still not common among Swedish public sector bodies. Even though some mix up the terms, it is rather re-use of public sector information that is discussed. The positive change that can be noticed is that the representatives of the public sector who participated in this year’s Almedalen week had a more open attitude towards the possibility of re-using their data. Open Knowledge Sweden works to advocate more re-use of information from the public sector and we are positive towards the ongoing shift in Sweden regarding these issues. We believe that more re-use will create huge value for society, both within the public and private sector. The main obstacle is not the technological shift, that some want to point at, but rather the rule of charges that applies to many public sector bodies who collects and offer public information. Unfortunately it seems that politicians are not prioritizing to change the current system. The more probable next step will be that public sector bodies themselves try to find ways of limiting the charges. However, the decision to charge remains with the government. Except for following the current debates on Swedish digital policy, the Almedalen week was an opportunity to make contact with other actors and advocates of digitalization. There seems to be a general support and interest in making data open for re-use. However, we will probably have to wait until after our national elections this autumn to see real change regarding such issues in Sweden.