> Dear friends of jena community,
I am testing the syntax of apache jena rules, with a very simple example,
where I create the following model and classes:
OntModel m = ModelFactory.createOntologyModel();
OntClass c0 = m.createClass( NS + "c0" );
OntClass c1 = m.createClass( NS + "c1" );
On
Hi all,
we have a Security related scenario where whenever an INSERT query gets
executed on our Fuseki dataset, we intercept the execution of this query (using
Jena Permissions and its Security Evaluator) and during this interception we
execute a SELECT query to the same dataset. Whenever we di
I am not certain if the lock is the reason but am providing more background
on the permissions processing so someone with more dataset experience can
answer.
To use the permissions on a dataset requires that the dataset be
constructed from individual models. As each of the models would have to
ha
Barry,
Can you provide the configuration for the Fuseki server? I need to know
how the dataset(s) are constructed.
Claude
On Mon, Jan 20, 2020 at 11:10 AM Claude Warren wrote:
> I am not certain if the lock is the reason but am providing more
> background on the permissions processing so some
Barry,
I just realised you said "Select against the same dataset". Are you
selecting against an unrestricted model/graph? If you query a graph with
permissions to determine the permissions you can get into a situation where
things are running _very_ slowly.
How have you designed your permissions
In your example code you have an OntModel which is specified to include
a reasoner using the default OWL rules. You then have an InfModel on top
of that with your own rule. So the OWL rules are generating entailments
from the domain declarations for born_in which are then visible through
your e
Hi Barry,
"hangs indefinitely" -- is this the CPU is doing nothing or the CPU is
doing work but never finishes?
If it is the former, CPU doing nothing, what would be useful is a JVM
threaddump. Should be one thread that is stuck (I'm assuming the SELECT
runs on the same thread as the INSERT and a
Hi Claude/Andy, thanks for the responses.
@Claude: Below a shortened version of the configuration we are using
(untested). During the processing of an INSERT query, we are firing a new
SELECT sparql http request to the same secured dataset. We use a user that has
unlimited permissions to preven