Hi Jürgen, See the following document detailing the Destination Path Format construction of URL Rewrite rules with a nice diagram showing the construction process:
http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtDeployingLinkedDataGuide_UsingVirtuoso#AncmozTocId409168
Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc. // http://www.openlinksw.com/
Weblog -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter -- http://twitter.com/OpenLink
Google+ -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers
> On 10 Aug 2016, at 12:23, Jürgen Jakobitsch <[email protected]>
> wrote:
>
> hi,
>
> i'm having trouble creating a suitable url-rewrite, can someone help me with
> this?
>
> i have a virtual directory (/search) which i want to redirect to a sparql
> fulltextquery, but in the url rewrite's "destination path format" i don't
> know how to access a url-parameter.
>
> what i want to do is to redirect from
>
> /search?query=myquerystring
>
> to
>
> /sparql=SELECT * WHERE { ?s ?p ?o FILTER(REGEX(STR(?o),'myquerystring','i'))}
>
> any pointer greatly appreciated
>
> krj
>
>
> Jürgen Jakobitsch
> Innovation Director
> Semantic Web Company GmbH
> EU: +43-1-4021235 <tel:%2B43-1-4021235>-0
> Mobile: +43-676-6212710
> http://www.semantic-web.at <http://www.semantic-web.at/>
> http://www.poolparty.biz <http://www.poolparty.biz/>
>
>
>
> PERSONAL INFORMATION
> | web : http://www.turnguard.com <http://www.turnguard.com/>
> | foaf : http://www.turnguard.com/turnguard
> <http://www.turnguard.com/turnguard>
> | g+ : https://plus.google.com/111233759991616358206/posts
> <https://plus.google.com/111233759991616358206/posts>
> | skype : jakobitsch-punkt
> | xmlns:tg = "http://www.turnguard.com/turnguard#
> <http://www.turnguard.com/turnguard#>"
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports.
> http://sdm.link/zohodev2dev_______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev
_______________________________________________ Virtuoso-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/virtuoso-users
