Raffaele is completely right, that's how Marmotta can handle other resources' base URIs.

Just a small remark:
the redirection should be to http://opendata.cs.pub.ro/resource?uri=<>
for instance http://opendata.cs.pub.ro/resource?uri=http://opendata.cs.pub.ro/ontology/

Hope that helps.

P.S.: for a private installation I'd recommend you to tune some things, such as making the admin ui private http://marmotta.apache.org/configuration#production and/or customizing the startup page http://wiki.apache.org/marmotta/Customizing

On 18/03/15 11:52, Raffaele Palmieri wrote:
Hi Vlad, no, currently all the resources are queried through that URL
schema.
You could solve it at web server level, trying to implement a rewrite rule.
If you use Apache Web Server, you may enable mod_rewrite for remapping URL
from http://opendata.cs.pub.ro/ontology/ to
http://opendata.cs.pub.ro/resource
<http://opendata.cs.pub.ro/resource/Braila_judet>?uri=

P.S.: when importing ontology in Marmotta, ensure that the URI have the
right prefix: http://opendata.cs.pub.ro/ontology/

Regards,
Raffaele.






2015-03-17 18:07 GMT+01:00 Vlad Posea <vlad.po...@stagiipebune.ro>:

Hi
i'm starting to use marmotta for a project where i want to transform the
public government data in linked data in Romania.
It's really a nice tool congrats for it:)

The first question i have is if i can make it handle more resource paths.
For example i have it installed at http://opendata.cs.pub.ro and it works
well when it has to do content negotiation like for example when i want to
display info about http://opendata.cs.pub.ro/resource/Braila_judet
However i'd like to have it handle some other namespaces like for example
http://opendata.cs.pub.ro/ontology/ (just as in dbpedia's case the
dbpedia.org/resource is used for resources and
http://dbpedia.org/ontology/ is used for the classes and properties)

Is this possible to do using marmotta?

Thank you

Best regards,

Vlad Posea

--
Coordonator national Stagii pe Bune
http://vlad.posea.eu
Asociatia Studenti si Profesionisti IT&C
www.aspi.ro
tel: 0723609326



--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 660 2747 925
e: sergio.fernan...@redlink.co
w: http://redlink.co

Reply via email to