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/]