Re: Way to generate LOD cloud diagram Interlinking Stats from the Virtuoso OpenSource SPARQL endpoint named graphs?

Richard Cyganiak wrote:
> I used this one here a lot. It makes use of Viruoso's awesome built-in 
> function library. Unfortunately it doesn't work on your endpoint, 
> complains about the AS in the SELECT clause. Old Virtuoso version?
> 
> PREFIX owl:  <http://www.w3.org/2002/07/owl#>
> PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
> SELECT ?domain_s ?domain_o (COUNT(*) AS ?count)
> WHERE {
>     {
>         SELECT (bif:regexp_substr("http://([^/]*)", STR(?s), 1) AS 
> ?domain_s) (bif:regexp_substr("http://([^/]*)", STR(?o), 1) AS ?domain_o)

jus wondering if it might be worth considering uri's with an https:// 
scheme too :)

Best,

Nathan

Received on Thursday, 9 September 2010 22:14:29 UTC