Re: Generate LOD cloud diagram image

I share a little "how to" guidance :)
I had to build one for a presentation.

=========================

1. Download all metadata about datasets already stored in http://datahub.io/.
Use this script

https://github.com/lod-cloud/datahub2void

to get a void.ttl file

2. Load void.ttl into your RDF storage server (I use Sesame)

3. Make this query


PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf:<http://xmlns.com/foaf/0.1/>
PREFIX tag:<http://www.holygoat.co.uk/owl/redwood/0.1/tags/>
PREFIX owl:<http://www.w3.org/2002/07/owl#>
PREFIX xsd:<http://www.w3.org/2001/XMLSchema#>
PREFIX void:<http://rdfs.org/ns/void#>
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos:<http://www.w3.org/2004/02/skos/core#>
PREFIX dcterms:<http://purl.org/dc/terms/>

select * {
?s a void:Linkset.
?s void:linkPredicate skos:exactMatch.
?s void:objectsTarget ?otarget.
?s void:subjectsTarget ?starget.
?s void:triples ?triples.
}

4. Export results of this query as N-triples
5. Download https://github.com/lmatteis/void-graph
6. Open file index.html in your browser. Inside text area field, paste
all n-triples you have already exported.
7. That is all. You must have your own LOD - Cloud :)

On Mon, May 5, 2014 at 12:34 AM, Sarven Capadisli <info@csarven.ca> wrote:
> On 2014-04-22 00:39, Luca Matteis wrote:
>>
>> I decided to spend the weekend and
>> come up with a pure JavaScript/CSS3 solution:
>> http://lmatteis.github.io/void-graph/
>
>
> http://270a.info/ is now using void-graph.
>
> -Sarven
> http://csarven.ca/#i
>
>

Received on Thursday, 12 June 2014 09:30:23 UTC