Re: Generate LOD cloud diagram image

Hi Alberto,


Thanks for the provided information. I had a time to overlook the approach.
It is really nice and effective. Only two points:

   - The query didn't work for me and I had to change the query to take the
   results, something like the following code:

************************************

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:target ?otarget.

?s void:triples ?triples.

}

*********************************

   - Creating the NTriple file, I could not see the graph. Maybe the file
   is too big (2M text file is not big for such graph, right?) or maybe it
   takes time to show?
   - We can not iterate the final graph, seems to be static, right?

Regards,


2014-06-12 14:33 GMT+02:00 Kingsley Idehen <kidehen@openlinksw.com>:

> On 6/12/14 5:55 AM, Luca Matteis wrote:
>
>> Dear Adam,
>>
>> Thanks for the guided list of steps. You can also use the hosted
>> version of VoID-graph: http://lmatteis.github.io/void-graph/ instead
>> of downloading it.
>>
>> Best,
>> Luca
>>
>
> Also note the Code Ballon [1] project.
>
> Links:
>
> [1] http://zaire.dimis.fim.uni-passau.de:8080/balloon/endpoints
> [2] http://schlegel.github.io/balloon/index.html
>
> Kingsley
>
>
>> On Wed, Jun 11, 2014 at 4:25 PM, Adam Sanchez <a.sanchez75@gmail.com>
>> wrote:
>>
>>> 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
>>>>
>>>>
>>>>
>>>
>>
>
> --
>
> Regards,
>
> Kingsley Idehen
> Founder & CEO
> OpenLink Software
> Company Web: http://www.openlinksw.com
> Personal Weblog: http://www.openlinksw.com/blog/~kidehen
> Twitter Profile: https://twitter.com/kidehen
> Google+ Profile: https://plus.google.com/+KingsleyIdehen/about
> LinkedIn Profile: http://www.linkedin.com/in/kidehen
>
>
>
>
>
>

Received on Friday, 20 June 2014 08:36:28 UTC