Hi Hugh, Regarding URL Rewrite via the SPARQL Endpoint...
If a triple exists such as <http://localhost:8890/a/b/c> < http://ontology/attribute> 'value' When queried we get <http://domain.com.au/a/b/c> <http://ontology/attribute> 'value' For this query the value of URIQA DefaultHost = localhost:8890 I'd have thought that instead of getting the domain the URIQA would rewrite localhost to use the DefaultHost value which is 'localhost'. Eg no change should have taken place. The problem we have when querying through the sparql endpoint is that it is impossible to determine the true value of the triple, eg localhost or domain. We have to use isql to avoid the url rewrite to see the true value of the triples. The guides you sent explain how to turn url rewrite on and set the regexp for a specific scenario's but I haven't found anything to switch url rewrite off across the board such that when data is retrieved via the sparql endpoint the true values of each triple component is displayed rather than the rewritten value. Regards, Peter Secomb clearbluewater.com.au On 18 November 2011 12:25, Hugh Williams <hwilli...@openlinksw.com> wrote: > Hi Sachit, > > You probably need to set the URIQA “DefaultHost” parameter in the Virtuoso > configuration INI file to the hostname you want to be used in the rewrite > rules as detailed at: > > http://docs.openlinksw.com/virtuoso/uriqa.html#uriqaws > http://docs.openlinksw.com/virtuoso/dbadm.html#ini_URIQA > > As the default setting is “localhost:8890” and the rewrite rules typically > use the “URIQADefaultHost” macro function to read the value of the URIQA > DefaultHOst param in the INI file for use in generating the hostname for > the URL as indicated in the example at: > > > http://docs.openlinksw.com/virtuoso/fn_urlrewrite_create_regex_rule.html#ex_urlrewrite_create_regex_rule > > I hope this resolves the problem for you ... > > 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 17 Nov 2011, at 06:04, Sachit Malhotra wrote: > > Hi Guys, > > Can anyone tell me how i can stop url rewrite from the sparql endpoint? > For example, i have a namespace: > > http://localhost:8890/schemas/demo > > and my domain is http://demo.cbw.com.au, > > So when i query the sparql endpoint, it rewrites localhost to > demo.cbw.com.au. > > Any help is much appreciated. > > Thanks. > > -- > > Sachit Malhotra | Clear Blue Water Pty Ltd > +61 403565478 | smalho...@clearbluewater.com.au > > <mja...@clearbluewater.com.au> > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > > http://p.sf.net/sfu/splunk-novd2d_______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users > >