Discussion:
Reasoner and updating data in Fuseki
Claude Warren
2018-11-27 16:57:40 UTC
Permalink
I have a case using Fuseki. I have 2 named graphs call them "data" and
"schema". Data contains all the data, schema contains all the RDFS based
triples.

I can configure Fuseki so that an inference model uses an RDF Reasoner to
apply the "schmea" rules to the "data", call this graph "inf". In addition
I think fuseki can be configured so that any updates to "inf" are added as
triples to "data".

My issue is that there are periodic updates to the "schema" (e.g. when new
a RDF class is created). My understanding is that the reasoners do not
like it when you make updates to the graphs they are manipulating without
going through the reasoner itself. So is there a way to make updates to
the "schema" graph via fuseki such that the "inf" graph/reasoner will be
happy?

Claude
--
I like: Like Like - The likeliest place on the web
<http://like-like.xenei.com>
LinkedIn: http://www.linkedin.com/in/claudewarren
Andy Seaborne
2018-11-30 13:11:30 UTC
Permalink
Post by Claude Warren
I have a case using Fuseki. I have 2 named graphs call them "data" and
"schema". Data contains all the data, schema contains all the RDFS based
triples.
I can configure Fuseki so that an inference model uses an RDF Reasoner to
apply the "schmea" rules to the "data", call this graph "inf". In addition
I think fuseki can be configured so that any updates to "inf" are added as
triples to "data".
My issue is that there are periodic updates to the "schema" (e.g. when new
a RDF class is created). My understanding is that the reasoners do not
like it when you make updates to the graphs they are manipulating without
going through the reasoner itself. So is there a way to make updates to
the "schema" graph via fuseki such that the "inf" graph/reasoner will be
happy?
What happens if schema and data are in the same graph and so the updates
do go via the inference engine?
Post by Claude Warren
Claude
Claude Warren
2018-12-06 14:55:51 UTC
Permalink
Somehow I missed this response.

If the schema and the data are in the same graph everything is fine, but I
have schema and data in separate graphs.

So without putting the graphs together into a single graph is it possible,
via fuseki, to update the "schema" rules in an inference graph?

Even if I put the schema and the data together in a union graph and run the
inferencer on that the updates still have to go to one or the other graph
right? So i have to start mixing the schema and the data.

Is there a way around this? If not, does anyone have any idea how hard it
would be to implement an inference model that would allow updates of the
schema data. I figure if that is available I can plug that into Fuseki
with a couple of custom hooks and do the updates.

Claude
Post by Claude Warren
Post by Claude Warren
I have a case using Fuseki. I have 2 named graphs call them "data" and
"schema". Data contains all the data, schema contains all the RDFS based
triples.
I can configure Fuseki so that an inference model uses an RDF Reasoner to
apply the "schmea" rules to the "data", call this graph "inf". In
addition
Post by Claude Warren
I think fuseki can be configured so that any updates to "inf" are added
as
Post by Claude Warren
triples to "data".
My issue is that there are periodic updates to the "schema" (e.g. when
new
Post by Claude Warren
a RDF class is created). My understanding is that the reasoners do not
like it when you make updates to the graphs they are manipulating without
going through the reasoner itself. So is there a way to make updates to
the "schema" graph via fuseki such that the "inf" graph/reasoner will be
happy?
What happens if schema and data are in the same graph and so the updates
do go via the inference engine?
Post by Claude Warren
Claude
--
I like: Like Like - The likeliest place on the web
<http://like-like.xenei.com>
LinkedIn: http://www.linkedin.com/in/claudewarren
Loading...