[Pellet-users] swrl Rule problem
Alexander Musidlowski
musidlow at informatik.hu-berlin.de
Wed Apr 16 10:13:19 UTC 2008
Hi Matoo,
your model is not properly set up. How do you know to which man the
weight belongs?
It should be something like this:
Man(?x) and
hasWeight(?x,?y) and
swrlb:greaterThan(?y, 100)
=> ObeseMan(?x)
hasWeight has to be a datatype property.
Hope this helps.
--
Bye
Alex
on Monday, April 14, 2008 at 12:33 martin pego wrote:
> Helo,
> I am beginner in creating Ontology and SWRL rules. I use Protege 3.4beta
> to create ontology and rule and in application Jena+Pellet. I create in
> my ontology class Man and int datatype property "weight" and subClass
> ObeseMan.
> In SWRL I tried create rule:
> Man(?x) "conjuct" swrlb:greaterThan(weight, 100) => ObeseMan(?x)
> Then I create some instance of Man which realized this rule and in my
> application I tried print to output instance of ObeseMan and results are
> nothing. I don't know how activates this my SWRL rule in my application
> and if it's correct?
> Could you help me, please
> Thanks
> Matoo
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 183 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20080416/50a95648/attachment.pgp
More information about the Pellet-users
mailing list