- From: Nathan <nathan@webr3.org>
- Date: Thu, 09 Sep 2010 23:13:24 +0100
- To: Richard Cyganiak <richard@cyganiak.de>
- CC: Peter DeVries <pete.devries@gmail.com>, public-lod@w3.org
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