I use some tdb stores but also hdt for larger graphs (simply because it's more convenient). I could add a filter before submitting to Fuseki, but in the general case it looks to me that a Fuseki configuration would be a better approach. The reason is that appending all prefixes for each query is going to add a lot of (unused) overhead for each request. With a server-side config Fuseki could also have an index of default prefixes instead of parsing them for every query. If Fuseki doesn't have this option, I think it would be a useful feature.
Sent: Sunday, February 25, 2018 at 7:44 PM From: ajs6f <[email protected]> To: [email protected] Subject: Re: Use PREFIXes by default This seems like something that might be well-handled by a filter or other processing element outside of Fuseki itself, which could just add a PREFIXes header to all incoming requests. Otherwise, are you using TDB? (Because I believe that it does maintain some information about prefixes used.) ajs6f > On Feb 25, 2018, at 12:53 PM, Laura Morales <[email protected]> wrote: > > When querying Fuseki, is it possible to have it use all prefixes by default > without having to specify them all the time with "PREFIX ..."? What I have in > mind is something like this: > > - have a list of default PREFIXes, somewhere in the Fuseki config files > - send queries without any PREFIX instructions, but tell Fuseki to > automatically use all the PREFIXes it knows > - if the query specifies any PREFIX, these will override any default PREFIX > with the same name defined in the "defaults" list > > does this make sense? Is it possible to do this?
