You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by Esteban Aliverti <es...@gmail.com> on 2013/10/18 09:39:35 UTC

Reasoner plugin development

Hi there,
I would be interested in provide a new reasoner interface using Drools. I'm
just curious about Marmotta and I would like to experiment a little bit
with it.
So, my question is: what is the best way to create a plugin for Marmotta?
Do you have some kind of plugin/extension mechanism? Or do I have to code
the functionality directly in Marmotta's sources?

Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Blog @ http://ilesteban.wordpress.com

Re: Reasoner plugin development

Posted by Esteban Aliverti <es...@gmail.com>.
Thank you very much for you comments. I'll try to work on this in my spare
time.
By the way, it is a great product what you are building! Keep on!

Regards,


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Blog @ http://ilesteban.wordpress.com


On Sat, Oct 19, 2013 at 11:50 AM, Sergio Fernández <
sergio.fernandez@salzburgresearch.at> wrote:

> Hi Esteban
>
> as Bernhard comments, Marmotta is Sesame-based, so all such plugins would
> need to stack into the sail.
>
> Currently we are in the process of allowing a modular backends, see
> MARMOTTA-85 [1], which should make easier the development of custom plugins
> over different triple store. But we still do not have any documentation
> about how such future options. So in the meantime you would need to base
> your development on the current KiWiReasoningSail [2].
>
> Hope this helps.
>
> Cheers,
>
> [1] https://issues.apache.org/**jira/browse/MARMOTTA-85<https://issues.apache.org/jira/browse/MARMOTTA-85>
> [2] https://git-wip-us.apache.org/**repos/asf?p=incubator-**
> marmotta.git;a=blob;f=**libraries/kiwi/kiwi-reasoner/**
> src/main/java/org/apache/**marmotta/kiwi/reasoner/sail/**
> KiWiReasoningSail.java;h=**19b316b3eeec34a27edd034ab13a4f**
> f0d84fd259;hb=HEAD<https://git-wip-us.apache.org/repos/asf?p=incubator-marmotta.git;a=blob;f=libraries/kiwi/kiwi-reasoner/src/main/java/org/apache/marmotta/kiwi/reasoner/sail/KiWiReasoningSail.java;h=19b316b3eeec34a27edd034ab13a4ff0d84fd259;hb=HEAD>
>
>
> On 18/10/13 23:18, Bernhard Ortner wrote:
>
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi Esteban
>>
>> For extending or replacing the reasoner please see the "Apache Marmotta
>> Platform: Reasoner" package. It seems that you have to implement the
>> TransactionalSailProvider and your reasoner can be configured via a
>> property file (kiwi-module.properties)
>>
>> Hope that helps
>>
>> Bernhard
>>
>> Am 18.10.2013 09:39, schrieb Esteban Aliverti:
>>
>>> Hi there,
>>> I would be interested in provide a new reasoner interface using
>>>
>> Drools. I'm
>>
>>> just curious about Marmotta and I would like to experiment a little bit
>>> with it.
>>> So, my question is: what is the best way to create a plugin for Marmotta?
>>> Do you have some kind of plugin/extension mechanism? Or do I have to code
>>> the functionality directly in Marmotta's sources?
>>>
>>> Regards,
>>>
>>> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX**XXXXXXXXXX
>>>
>>> Esteban Aliverti
>>> - Blog @ http://ilesteban.wordpress.com
>>>
>>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.20 (MingW32)
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>>
>> iQEcBAEBAgAGBQJSYaWMAAoJEGKIVF**SKl71agz0H/**3CsEaMlgMJBf4OT2vAhxBTG
>> 8+8ARyKtXNV/**NuP4eFrRBMagyqbf2Dx7MuDVf47VW7**gEV4Ybr/smTJfrINBv6zoZ
>> aJ+eweHUHvVyfgQx2QtQp4+**mgeaSOM10kcHPJWBDiqpaDqPqOjnIm**hrwqnlbSS3z
>> Xkf/5RGiqlFt/BYobuXE+**gg5I2BaWSjERRjBrvNXFSRWu2Q5G0b**GeYjofSXN4zed
>> Lo2bPqLTXjvx+P+RtgkvzXw/**XZCZhIJabMOr9NhvllmL0JCnGaYgg2**FwdzVr75mC
>> RoWLdht7pt83jDmsj+**Xb76cm5XJsAP2mNHE/qeoPMZI5+**KECWPqoGZcYWfQvuGw=
>> =rRiH
>> -----END PGP SIGNATURE-----
>>
>>
> --
> Sergio Fernández
> Senior Researcher
> Knowledge and Media Technologies
> Salzburg Research Forschungsgesellschaft mbH
> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
> T: +43 662 2288 318 | M: +43 660 2747 925
> sergio.fernandez@**salzburgresearch.at<se...@salzburgresearch.at>
> http://www.salzburgresearch.at
>

Re: Reasoner plugin development

Posted by Sergio Fernández <se...@salzburgresearch.at>.
Hi Esteban

as Bernhard comments, Marmotta is Sesame-based, so all such plugins 
would need to stack into the sail.

Currently we are in the process of allowing a modular backends, see 
MARMOTTA-85 [1], which should make easier the development of custom 
plugins over different triple store. But we still do not have any 
documentation about how such future options. So in the meantime you 
would need to base your development on the current KiWiReasoningSail [2].

Hope this helps.

Cheers,

[1] https://issues.apache.org/jira/browse/MARMOTTA-85
[2] 
https://git-wip-us.apache.org/repos/asf?p=incubator-marmotta.git;a=blob;f=libraries/kiwi/kiwi-reasoner/src/main/java/org/apache/marmotta/kiwi/reasoner/sail/KiWiReasoningSail.java;h=19b316b3eeec34a27edd034ab13a4ff0d84fd259;hb=HEAD

On 18/10/13 23:18, Bernhard Ortner wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Esteban
>
> For extending or replacing the reasoner please see the "Apache Marmotta
> Platform: Reasoner" package. It seems that you have to implement the
> TransactionalSailProvider and your reasoner can be configured via a
> property file (kiwi-module.properties)
>
> Hope that helps
>
> Bernhard
>
> Am 18.10.2013 09:39, schrieb Esteban Aliverti:
>> Hi there,
>> I would be interested in provide a new reasoner interface using
> Drools. I'm
>> just curious about Marmotta and I would like to experiment a little bit
>> with it.
>> So, my question is: what is the best way to create a plugin for Marmotta?
>> Do you have some kind of plugin/extension mechanism? Or do I have to code
>> the functionality directly in Marmotta's sources?
>>
>> Regards,
>>
>> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>>
>> Esteban Aliverti
>> - Blog @ http://ilesteban.wordpress.com
>>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.20 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJSYaWMAAoJEGKIVFSKl71agz0H/3CsEaMlgMJBf4OT2vAhxBTG
> 8+8ARyKtXNV/NuP4eFrRBMagyqbf2Dx7MuDVf47VW7gEV4Ybr/smTJfrINBv6zoZ
> aJ+eweHUHvVyfgQx2QtQp4+mgeaSOM10kcHPJWBDiqpaDqPqOjnImhrwqnlbSS3z
> Xkf/5RGiqlFt/BYobuXE+gg5I2BaWSjERRjBrvNXFSRWu2Q5G0bGeYjofSXN4zed
> Lo2bPqLTXjvx+P+RtgkvzXw/XZCZhIJabMOr9NhvllmL0JCnGaYgg2FwdzVr75mC
> RoWLdht7pt83jDmsj+Xb76cm5XJsAP2mNHE/qeoPMZI5+KECWPqoGZcYWfQvuGw=
> =rRiH
> -----END PGP SIGNATURE-----
>

-- 
Sergio Fernández
Senior Researcher
Knowledge and Media Technologies
Salzburg Research Forschungsgesellschaft mbH
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
T: +43 662 2288 318 | M: +43 660 2747 925
sergio.fernandez@salzburgresearch.at
http://www.salzburgresearch.at

Re: Reasoner plugin development

Posted by Bernhard Ortner <be...@gmx.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi Esteban

For extending or replacing the reasoner please see the "Apache Marmotta
Platform: Reasoner" package. It seems that you have to implement the
TransactionalSailProvider and your reasoner can be configured via a
property file (kiwi-module.properties)

Hope that helps

Bernhard

Am 18.10.2013 09:39, schrieb Esteban Aliverti:
> Hi there,
> I would be interested in provide a new reasoner interface using
Drools. I'm
> just curious about Marmotta and I would like to experiment a little bit
> with it.
> So, my question is: what is the best way to create a plugin for Marmotta?
> Do you have some kind of plugin/extension mechanism? Or do I have to code
> the functionality directly in Marmotta's sources?
>
> Regards,
>
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>
> Esteban Aliverti
> - Blog @ http://ilesteban.wordpress.com
>


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
 
iQEcBAEBAgAGBQJSYaWMAAoJEGKIVFSKl71agz0H/3CsEaMlgMJBf4OT2vAhxBTG
8+8ARyKtXNV/NuP4eFrRBMagyqbf2Dx7MuDVf47VW7gEV4Ybr/smTJfrINBv6zoZ
aJ+eweHUHvVyfgQx2QtQp4+mgeaSOM10kcHPJWBDiqpaDqPqOjnImhrwqnlbSS3z
Xkf/5RGiqlFt/BYobuXE+gg5I2BaWSjERRjBrvNXFSRWu2Q5G0bGeYjofSXN4zed
Lo2bPqLTXjvx+P+RtgkvzXw/XZCZhIJabMOr9NhvllmL0JCnGaYgg2FwdzVr75mC
RoWLdht7pt83jDmsj+Xb76cm5XJsAP2mNHE/qeoPMZI5+KECWPqoGZcYWfQvuGw=
=rRiH
-----END PGP SIGNATURE-----