Hi Joshua, On Mon, Sep 14, 2015 at 5:29 PM, Joshua Dunham <joshua_dun...@vrtx.com> wrote: > > Two questions for the marmotta community, > > 1: Can someone shed some more light on kiwi's database.mode option? I > could find little more than the options to choose (create update, validate, > off). >
Honestly It's normal that you're confused. Because I have to admit that such configuration is not used anymore in Marmotta, and it doesn't have any effect. The story behind is simple: It comes from the old LMF times when we used a JPA-based method for mapping to the database. But after moving away from that setup, now we directly do the mappings in a more efficient (and complex) way, we kept it in some place of the admin interface, but it should be removed to avoid any confusion. I already created MARMOTTA-616 for that: https://issues.apache.org/jira/browse/MARMOTTA-616 > 2: I'm trying to update some fields in marmotta via the import folder > functionality. Is it possible to use this feature (solely) and do a > delete/insert? Or is the import folder insert only? Basically I'm going to > drop in nearly the same .ttl or .nt with some slight changes each cycle and > want to delete the old import first? > No, import only adds triples, it doesn't remove triples that are missing in the new file. RDF doesn't work in that way. What I'd use for such scenario is the import folder feature in combination with the graph store protocol, so: * You import data to a dedicated context (named graph); i.e., copy files to /path/to/marmotta/import/<NAME> * If you want to "overwrite" the data, drop the context with a DELETE HTTP request (with curl, for instance) to http://host/marmotta/context/<NAME> Here the documentation about those two features: http://wiki.apache.org/marmotta/ImportData#Import_data_via_the_local_directory *http://www.w3.org/TR/sparql11-http-rdf-update/#http-delete <http://www.w3.org/TR/sparql11-http-rdf-update/#http-delete>* Hope that helps. If you' d need more documentation, either by mail or improving the current one, just ask here. Cheers, -- Sergio Fernández Partner Technology Manager Redlink GmbH m: +43 6602747925 e: sergio.fernan...@redlink.co w: http://redlink.co