Sergio, Yes, two completely different KiWi triplestores in the same database. For just a few users it shouldn't be a problem to have multiple databases. I will explore the table prefix idea and if I get anything good I'll contribute it in case anyone else ever needs it.
Thanks! Jeff On Sun, Jan 26, 2014 at 5:48 PM, Sergio Fernández < sergio.fernan...@salzburgresearch.at> wrote: > Hi Jeff, > > not sure if I understood you right... what do you want? Two completely > different KiWi triplestores on the same database, or split the data for > different users? > > The first thing is currently not supported by KiWi. We could try to > explore ideas like use table prefixes or so, but I think it's not a > priority since it's not required in our typical deployment scenarios. > > > The second one, which most likely is want you want, is quite easy to > implement by using different contexts (named graphs) per user. If you have > control how the user access the data, you can route him to the appropriate > context. > > But... if the users have complete access to Marmotta, you could not trust > they would only access their contexts. And the security model currently > does not support access control at such level. We've been experimenting a > bit with that concept and WebId, but without concrete results, just a > prototype: > > > http://bitbucket.org/srfgkmt/s-watchdog > > Hope this helps. > > Cheers, > > > On 25/01/14 19:45, Jeffrey Zemerick wrote: > >> Greetings, new KiWi Triplestore user here. >> >> Is it possible to use the KiWi Triplestore for isolated users in the same >> database? What I mean is I'd like to use the same database for multiple >> users and keep each user's triples separate and inaccessible to the other >> users. I have it set up based on the sample code ( >> https://marmotta.apache.org/kiwi/triplestore.html) and it seems like >> multiple databases would be required to support multiple users. Is that >> right or is there another way? >> >> Thanks! >> Jeff >> >> P.S. The "Post" link for the User's mailing list is missing an "a" on >> https://marmotta.apache.org/mail-lists.html. >> >> > -- > Sergio Fernández > Senior Researcher > Knowledge and Media Technologies > Salzburg Research Forschungsgesellschaft mbH > Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria > T: +43 662 2288 318 | M: +43 660 2747 925 > sergio.fernan...@salzburgresearch.at > http://www.salzburgresearch.at >