You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Marcelo Machado <ma...@gmail.com> on 2020/10/06 20:42:54 UTC
Re: Fuseki Reasoner
Is there any solution to validate inference rules with Fuseki?
This question is also in Stackoverflow:
https://stackoverflow.com/questions/64219347/inference-validation-with-jena-fuseki
At.te,
Marcelo de Oliveira Costa Machado
Re: Fuseki Reasoner
Posted by Andy Seaborne <an...@apache.org>.
On 08/10/2020 13:24, Andy Seaborne wrote:
> Hi Marcelo
>
> I couldn't find document but there is this test:
>
> https://github.com/apache/jena/blob/master/jena-fuseki2/jena-fuseki-main/src/test/java/org/apache/jena/fuseki/main/TestFusekiCustomOperation.java
Cleaner version:
https://github.com/apache/jena/blob/master/jena-fuseki2/jena-fuseki-main/src/test/java/org/apache/jena/fuseki/main/examples/ExtendFuseki_AddService_1.java
>
>
> It used the Fuseki main/embedded which is easier to work with for
> customization. You can access the dataset directly from yoru code - just
> use in a transaction (Txn).
>
> It is better to use the named service form "/myDataset/special" rather
> than dispatch by content type of the body (i.e. send to //myDataset"
> with "Content-type: field).
>
> FusekiExt provide operations to help with custom extensions and it does
> not expose the dispatch by content type. The feature is likely to be
> removed.
>
> Because most content types are already used for something (e.g.
> text/turtle for Graph Store Protocol), there is to much change of a clash.
>
> Andy
>
> On 08/10/2020 07:57, Marcelo Machado wrote:
>> Could you tell me where I find the steps to make this implementation?
>>
>> At.te,
>>
>> Marcelo de Oliveira Costa Machado
>>
>>
>> Em qua., 7 de out. de 2020 às 08:56, Andy Seaborne <an...@apache.org>
>> escreveu:
>>
>>> Not built-in
>>> but Fuseki can be extended with addition services (which requires
>>> writing java).
>>>
>>> On 06/10/2020 21:42, Marcelo Machado wrote:
>>>> Is there any solution to validate inference rules with Fuseki?
>>>>
>>>> This question is also in Stackoverflow:
>>>>
>>> https://stackoverflow.com/questions/64219347/inference-validation-with-jena-fuseki
>>>
>>>>
>>>> At.te,
>>>>
>>>> Marcelo de Oliveira Costa Machado
>>>>
>>>
>>
Re: Fuseki Reasoner
Posted by Andy Seaborne <an...@apache.org>.
Hi Marcelo
I couldn't find document but there is this test:
https://github.com/apache/jena/blob/master/jena-fuseki2/jena-fuseki-main/src/test/java/org/apache/jena/fuseki/main/TestFusekiCustomOperation.java
It used the Fuseki main/embedded which is easier to work with for
customization. You can access the dataset directly from yoru code - just
use in a transaction (Txn).
It is better to use the named service form "/myDataset/special" rather
than dispatch by content type of the body (i.e. send to //myDataset"
with "Content-type: field).
FusekiExt provide operations to help with custom extensions and it does
not expose the dispatch by content type. The feature is likely to be
removed.
Because most content types are already used for something (e.g.
text/turtle for Graph Store Protocol), there is to much change of a clash.
Andy
On 08/10/2020 07:57, Marcelo Machado wrote:
> Could you tell me where I find the steps to make this implementation?
>
> At.te,
>
> Marcelo de Oliveira Costa Machado
>
>
> Em qua., 7 de out. de 2020 às 08:56, Andy Seaborne <an...@apache.org>
> escreveu:
>
>> Not built-in
>> but Fuseki can be extended with addition services (which requires
>> writing java).
>>
>> On 06/10/2020 21:42, Marcelo Machado wrote:
>>> Is there any solution to validate inference rules with Fuseki?
>>>
>>> This question is also in Stackoverflow:
>>>
>> https://stackoverflow.com/questions/64219347/inference-validation-with-jena-fuseki
>>>
>>> At.te,
>>>
>>> Marcelo de Oliveira Costa Machado
>>>
>>
>
Re: Fuseki Reasoner
Posted by Marcelo Machado <ma...@gmail.com>.
Could you tell me where I find the steps to make this implementation?
At.te,
Marcelo de Oliveira Costa Machado
Em qua., 7 de out. de 2020 às 08:56, Andy Seaborne <an...@apache.org>
escreveu:
> Not built-in
> but Fuseki can be extended with addition services (which requires
> writing java).
>
> On 06/10/2020 21:42, Marcelo Machado wrote:
> > Is there any solution to validate inference rules with Fuseki?
> >
> > This question is also in Stackoverflow:
> >
> https://stackoverflow.com/questions/64219347/inference-validation-with-jena-fuseki
> >
> > At.te,
> >
> > Marcelo de Oliveira Costa Machado
> >
>
Re: Fuseki Reasoner
Posted by Andy Seaborne <an...@apache.org>.
Not built-in
but Fuseki can be extended with addition services (which requires
writing java).
On 06/10/2020 21:42, Marcelo Machado wrote:
> Is there any solution to validate inference rules with Fuseki?
>
> This question is also in Stackoverflow:
> https://stackoverflow.com/questions/64219347/inference-validation-with-jena-fuseki
>
> At.te,
>
> Marcelo de Oliveira Costa Machado
>