Newer
Older
chrome-lod / README
@Alex Tucker Alex Tucker on 5 Dec 2014 2 KB Add RDFa parsing.
Chrome LOD extension
====================

An extension for Chrome that looks for the presence of Linked Open
Data behind the pages you browse and if available, reveals the
underlying data.

Debugging/Building
------------------

In Chrome, open the tools/extensions page, ensure that developer mode
is selected, and click to 'load unpacked extension...'.  Select the
directory you checked out the chrome-lod source to.  This should
enable the extension directly.

In order to package the extension for deployment, use the 'pack
extension' button, which will result in a chrome-lod.crx file and
associated keyfile.

Rationale
---------

The extension runs once on each page you visit looking for any RDF
data it can find in the following order:

1) Any <link> tags in the page with relationship 'meta' or 'alternate'
pointing to a URI with media-type application/rdf+xml or text/turtle.

2) Any RDFa in the body of the HTML document.

3) Using content negotiation on the current URI, asking for
application/rdf+xml or text/turtle representation of the current
resource.

If an RDF representation is available, it will be rendered behind the
current page and a peel-back animation will reveal the background RDF
data as the mouse hovers over the top left corner of the page.

Examples
--------

http://sws.geonames.org/3020251/

http://data.nytimes.com/48675831753778135041

http://collection.britishmuseum.org/id/object/EOC3130

http://data.ordnancesurvey.co.uk/datasets/os-linked-data

http://id.loc.gov/vocabulary/organizations/ukmajru.html

http://www.bbc.co.uk/programmes/b03kqfzx

http://alpha.acropolis.org.uk/dc1c141fe5d14dcbb04e907156c62e46#id

http://live.dbpedia.org/page/William_Shakespeare

http://data.europeana.eu/item/92056/BD9D5C6C6B02248F187238E9D7CC09EAF17BEA59

http://didactalia.net/comunidad/materialeducativo/recurso/La-teoria-de-la-relatividad-en-ingles/eb95e40e-937f-4447-a68d-5f1a3fbc97ff

Todo
----

Parsing Turtle to look for licensing statements.

Checking that the license applies to the document URI of the RDF document.

Checking what license is being applied and that it is usable.