Ivan Peikov
Fri, 11 Jun 2010 03:48:31 -0700
Hi, First of all thanks for your interest in the OWLIM engine. We'll be happy to help you make the most use out of it.
As for the rules, you are indeed correct that OWLIM's rules are specified in
its so called ruleset file. Custom ruleset files traditionally have the
extension ".pie". Their syntax is fairly well documented so you might refer
to the documentation inside the distribution package for more on that topic
and examples. The distribution also contains several sample .pie files (e.g.
RdfsRules_builtin.pie). This is a good starting point if you want to
implement your own ruleset file.
The task of dynamically generating the rules for the inference engine sounds
interesting and perfectly doable with OWLIM. Let us know if we can help you
further with it!
Cheers,
Ivan
On Friday 11 June 2010 05:55:23 yonghong ke wrote:
> Hi, i am a beginer, in jena based application, it may like :
>
> Step1, def a rule:
> String rule1 = "[rule1:(?x :works_on_a_project ?y) "
> + "(?y :is_about_a_topic ?z) "
> + " ->(?x :knows_about_topic ?z)]";
>
> ....
>
> Step2, excute the query :
> String query= "SELECT ?x ?z"
> + "WHERE {?x :knows_about_topic ?z} ";
>
>
> ............
>
> It's very simple, easy to use, can owlim be used as simple as jena?
> it seems owlim's must be written to a rule file,is it?
> I want to provide a GUI that users can write rules and infer dynamicly? how
> shuld i do?
>
> Thank you very much!
_______________________________________________
OWLIM-discussion mailing list
OWLIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/owlim-discussion