Hi Sebastian,

Virtuoso support URL rewriting for Linked Data deployment as detailed at:

http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/ VirtDeployingLinkedDataGuide_Introduction#AncmozTocId502192

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 21 Jul 2009, at 10:56, Sebastian Hellmann wrote:

Hello,
For testing, I copied Ontowiki[1] into Virtuoso Webdir and it is working
(including odbc calls).
currently OntoWiki has two different modes for URIs, depending on the
existence of a URI rewrite Engine.
first mode is (rewrite off):
a)
http://localhost/ontowiki/index.php/model/select/?m=http://www.uni- leipzig.de/unigeschichte/professorenkatalog/
second mode is (rewrite on, note the missing index.php)
b.1)
http://localhost/ontowiki/model/select/?m=http://www.uni-leipzig.de/ unigeschichte/professorenkatalog/
b.2 ) http://localhost/ontowiki/list/r/Person (which will bring you
right to the instance/class)


The problem I have now is, that with no rewrite engine, VOS does not
redirect the call to the index.php (see a) ), because it is somewhere
inside the path, instead it gives a 404
The Optimal solution would of course be Version b) with full rewrite
rules enabled.
These are the apache rules, which we normally put into .htacess
RewriteEngine On
RewriteRule
!(extensions|application|libraries).*\.(js|ico|gif|jpg|png|css|php| swf)$
index.php

The reason behind this is, that OntoWiki will be a generic viewer for
LinkedData, as URI can be rewritten to Ontowiki URIs. This already works
with apache. Is there something like a rewrite Engine in Virtuoso, so
Version b works, which is the optimal solution? If not is there a way to make Version a) work. It would be possible for us to change the URLs to http://localhost/ontowiki/index.php? controller=model&action=select&m=http://www.uni-leipzig.de/ unigeschichte/professorenkatalog/ but it would be a little bit old school. Version b) is by far superior,
directly exposing Ontowikis view+ edit functionality via LinkedData

Thank you for your answers,
Meanwhile, I will try to produce a VAD Sticker, to see how that works.
Regards,
Sebastian Hellmann, AKSW
[http://code.google.com/p/ontowiki/]

---------------------------------------------------------------------- --------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to