Hi Hugh, On Wed, Nov 11, 2009 at 12:49 PM, Hugh Williams <hwilli...@openlinksw.com> wrote: > Hi Aldo, > > The description page in the RDF cartridges VAD uses sponging and works on a > specific graph. One possibility would be to make your own page by disabling > sponging and change the queries so they do not scope to a graph as you > suggest.
Yes we tried that. But hacking is not the ideal sln ;) > > We are considering adding the ability to produce a HTML+RDFa based > representation of a local resource description with sponging disabled i.e., > SPARQL is not assigned SPARQL_SPONGE role. Also to add a UI option in > Conductor for enabling / disabling sponging at the re-write rule level. That would be ideal ( all of it ). I think some Virtuoso deployments will only want to expose the data available locally. For example, when using Virtuoso as a datawarehouse solution with Closed World behaviour. For now the hack will do, but if you have any update on this, let us know. Our solution for now looks something like this: 1) http://data.domain.com/something -- 303 --> http://data.domain.com/page/something 2) http://data.domain.com/page/something --(internal)--> /description.vsp?uri={uri}$local=true the local=true flag does the following: * Turn off sponging * Make SPARQL queries just hit the local ( NULL ) graph * Avoid creating proxy URIs for links ( just expose verbatim URIs as hrefs ). Regards, A > > Best Regards > Hugh Williams > Professional Services > OpenLink Software > Web: http://www.openlinksw.com > Support: http://support.openlinksw.com > Forums: http://boards.openlinksw.com/support > Twitter: http://twitter.com/OpenLink > > On 10 Nov 2009, at 19:40, Aldo Bucchi wrote: > >> Hi, >> >> I am trying to see how I can use description.vsp ( included in mappers >> VAD ) to publish local resources as Linked Data. >> That means, no sponging, no resource-specific graphs, etc. Just a >> plain old query over the complete graph. >> >> I just want to do this ( under a redirection ). >> >> description.vsp?res=<someURIThatHasDataInTheLocalStore> >> >> where the graph remains the >> >> Of course this can be achieved by doing a whole loop where I do some >> self-sponging in the middle. >> It can also be done by introducing a simple hack where you disable >> sponging and remove graph ?g from the queries. >> I can also code this by hand and create an alternative VSP. >> >> But what is the suggested way of doing this? >> >> Regards, >> A >> >> >> -- >> Aldo Bucchi >> skype:aldo.bucchi >> http://www.univrz.com/ >> http://aldobucchi.com/ >> >> PRIVILEGED AND CONFIDENTIAL INFORMATION >> This message is only for the use of the individual or entity to which it >> is >> addressed and may contain information that is privileged and confidential. >> If >> you are not the intended recipient, please do not distribute or copy this >> communication, by e-mail or otherwise. Instead, please notify us >> immediately by >> return e-mail. >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Virtuoso-users mailing list >> Virtuoso-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/virtuoso-users > > -- Aldo Bucchi skype:aldo.bucchi http://www.univrz.com/ http://aldobucchi.com/ PRIVILEGED AND CONFIDENTIAL INFORMATION This message is only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If you are not the intended recipient, please do not distribute or copy this communication, by e-mail or otherwise. Instead, please notify us immediately by return e-mail.