Hi Kurt,

As per output of:

http://dbtune.org/cmn/sparql/?default-graph-uri=http%3A%2F% 2Fdbtune.org%2Fcmn%2Fresource&should-sponge=&query=SELECT+*+WHERE+%7B% 3Fs+%3Fp+%3Fo%7D&format=text%2Fhtml&debug=on

The resource Identified by URI: <http://dbtune.org/cmn/resource/WAGN> is an entity in the graph with IRI: <http://dbtune.org/cmn/resource> .

The SPARQL in your re-write rule should have <http://dbtune.org/cmn/ resource/WAGN> in the FROM Clause for instance, for the RDF representation of the resource description:

DESCRIBE <http://dbtune.org/cmn/resource/WAGN> FROM <http:// dbtune.org/cmn/resource>

For the HTML representation, you just want to redirect the resource identifier to the information resource description page (description.vsp) using:

         /about/html/<http://dbtune.org/cmn/resource/WAGN>

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support



On 2 Feb 2009, at 18:14, Kurt J wrote:

Please give me a resource URI as that is going to be the easiest way to
explain the solution.

http://dbtune.org/cmn/resource/WAGN

is the uri for Wagner.  i know it's a bit ugly - the caps abbreviated
surnames are legacy and i need to refactor...

http://dbtune.org/cmn/resource

is the name in the list of rdf graphs

http://dbtune.org/cmn/sparql

redirects to the sparql interface

Also, you could add a triple connecting the information resource to what it
describes via a foaf:primarytopic triple.

"description.vsp" is geared towards describing information resources, hence my comment above (which is how you make a conduit into the specific resource
description graph).

so this was my intent.  i sort of inferred from the northwind examples
that html pages could be created on the fly from rdf in the data store
usng this method.

thanks for you help!

-kurt j

---------------------------------------------------------------------- --------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to