3

OSGi 環境で Sesame と OWLIM を動作させる簡単な方法はありますか? または、OWL-Data を推論して保存する別の高速な方法はありますか? ビルトインの推論、ペレットなどでJenaを試しましたが、とても遅いです。次に、OWLIM で Sesame を試してみましたが、信じられないほど高速でしたが、OSGi では動作しません。この問題を解決した人はいますか?

4

3 に答える 3

2

私の同僚の1人は現在、Sesame、OWLIM、OSGiで作業しています。OWLIMの場合、VM引数を追加する必要があるようです。OWLIMサイトのニュースセクションで何かを読むことができます。このPDFでOSGiとSwiftOWLIMも探してください。正しい選択であると思われる非常に興味深いプロジェクトもありますamdatu-semanticweb。残念ながら、直接のドキュメントはありませんが、OSGiコンポーネントの準備が必要な場合は、amdatuのプロジェクトが適しています。ご覧ください。お役に立てば幸いです。

しかし、VM引数の使用は、私の意見ではflexibelではない絶対パスで機能するように見えるためお勧めしません。

于 2012-10-10T07:31:25.287 に答える
0

OWLIM is fast with respect to something like Pellet because it materializes inferences, that is, at load time, it computes all inferences and puts them into the database. So when you run a query, you're just querying over the data, there is no extra work for reasoning done when querying.

This eager materialization of inferences is very appropriate in situations where your data does not change frequently, however, in use cases when that is not the case, the overhead of maintaining the materialized inferences can be unacceptable.

The flip side of the coin is for systems like Pellet, or other databases which use backward chaining-style approaches to reasoning is that loads and data changes are not affected by inference, but the work of reasoning is done at query time, which can slow down queries. So you'd need to think about how you plan on using inference to know what approach will suit your needs, neither one is the "right" approach.

I will say that Pellet, the first time you query it, will usually have to do all the hard work of reasoning...classification, realization, which can make the first query very slow, but once that information is computed, if there are no changes to the data, later queries can be quite performant.

Disclaimer, I don't know how OWLIM works, that is just an educated guess from what I know about it. Also, I realize this does not answer your question -- I don't know of a way to use OSGI with OWLIM or other databases -- but thought your comments merited some clarification, which was too long to fit into a comment =)

于 2012-10-09T23:18:36.793 に答える
0

私は OSGi の専門家ではありませんが、少なくとも Sesameは OSGi バンドルとして入手できます。OWLIM が現在そのまま利用できるとは思いませんが、これに対する需要があることは知っているので、OWLIM 開発者に (サポート メーリング リストを介して) 直接問い合わせるのが得策かもしれません。

于 2012-10-10T06:27:04.963 に答える