A Framework for Publishing Election Data and Results in Structured Formats
In most part of the world, there is hardly any freely available database of political election results in existence. This is because the data required to compile it is located in different websites or documents. The information is presented in many different formats and many different ways, and the only way the information can be compiled for re-use is by manual methods.
The Linked Open Election Framework is supporting the publication of election results as HTML (the language used to write web pages) embed machine-readable data (called “Metadata”) in the source code. Though invisible to normal users, publishing the information in this way gives it structure and meaning, and allowing machines to understand its meaning.
What is the Linked Open Election Framework?
The main point of Open Data is to aid accountability and transparency and this framework supports the publication and public access to Election results on websites as Linked Open Data — data that is published under an open licence that allows unrestricted reuse, and that is marked up to identify the structure and meaning, making possible its automated collection for re-publishing and mashing up with other data.
How does it work?
Rather than publishing using not-so open formats or standards like PDF, HTML, Plain Text, etc, we embed machine-readable metadata in the HTML source code of web pages. These metadata is derived from information defined from the Election data. Entities or “things” that make up the Election data are defined as items and described in an HTML page. Each item is made up of one or more key-value pairs: a property and a value. The Microdata syntax is completely made up of HTML attributes. These attributes can be used on any valid HTML element. This gives the information structure and meaning, with a licence to allow collection, collation and reuse by anyone at no cost.
This structured information or “Structured Data” is a broad term that encompasses various standards and encoding mechanisms but, at the end of the day, refers to information provided to data consumers specifically for machine consumption. This machine-readable code is closely-allied to, but separate from, the presentation layer that us humans consume when we read a web page, providing a way for dumb machines to better understand the entities and connections between entities present in a piece of content.
Although this additional code does not directly impact the user’s experience of the page, it makes a big difference to machines (including Bots, Smart Agents, Search Engines, etc), helping them to “understand” that (for example) this webpage:
- Is a News Article
- Has the headline “Election Results for Ekiti Governorship Election 2014"
- Has information on a “Poll” event held on June 21, 2014
To make this metadata available we have used a vocabulary (or Ontology) called Linked Open Election. This vocabulary provides a simple way of expressing Election data and information in Linked Data formats. Additionally, we used Schema.org vocabulary proposed by Google, Bing, Yahoo and others
This metadata comprises of real-world entities refered by Uniform Resource Identifiers (URIs).
SEO++: An immediate benefit of this work will be that search engines will be better able to display links to these News articles, helping users to find relevant stories and to determine from a search engine’s listings the relevance of the article to the story that they are searching for and ultimately help to open up references to the data contained in those stories.
Linked Open Data: It will create an open database of election data and results.
Why is it important?
The use of Linked Open Data provides a clear signal to every organizations and governments the imminence of the “web of data” or Web 3.0. Every Web Site has to evolve into a Linked Data Space: a location on the Web that provides granular access to discrete data items in line with the core principles of the Linked Data meme.
Remember, the essence of the Linked Data meme is simply this: you reference data items and access their metadata, in variety of formats via a single HTTP based URI. This approach to Web data publishing is compatible with any HTTP aware user agent (e.g. your Web Browser or tools & applications that provide abstracted access to HTTP).
Do you need a special software to do this?
No, just the same way to mark up HTML. This also works in Content Management and Blogging system.
Tutorials & How to
- How to Embed Election Data in HTML using HTML5, Microdata and Linked Data — Read
- How to Publish Election Data in Nanotation (aka micro-Turtle) — Read
- Sample Nanotation on Election Data and Results — View
- Sample Election Data in RDF (turtle) document — View
- Sample Election Data in HTML5, Microdata format — View
- Sample Election Poll Data in RDF (turtle) document — View
- List of Nigerian Political Parties in RDF (turtle) document — View
- Linked Open Election Ontology — View
- Prefix — loe
- About Linked Open Election Framework — Read