0

I'm trying to add a SWRL rule to protege using conjuction sign ^ but Protege 4.3 does not approve that sign.

This issue is also present for swrl buildins such as swrlb:lessThanOrEqual.

Screenshot

What's wrong with ^? May I use , instead?

unor
  • 92,415
  • 26
  • 211
  • 360
alex
  • 7,551
  • 13
  • 48
  • 80

1 Answers1

1

The terms in the Protege SWRL editor are separated by commas, not ^. See, for instance, the screenshots in my answer to SWRL rules in protege 3.4.8.

whats wrong with ^ ? may i use , instead ?

That the answer, yes. I'm not sure what prevented you from trying it in your own running Protege, though.

Community
  • 1
  • 1
Joshua Taylor
  • 84,998
  • 9
  • 154
  • 353
  • Thanks for reply, i tried to conform [SWRL documentation](https://www.w3.org/Submission/SWRL) . but it seems protege rule editor syntax is different and i don't know where to study about swrl syntax in protege 4.3?! up now i know `^` should be `,` and `swrlb:lessThanOrEqual (?y, ?c)` should be `lessThanOrEqual (?y, ?c)` . but i cant use `swrlb:pow` or even `pow` .i hope there is a documentation – alex Jul 26 '16 at 20:19
  • 2
    @alex Protege 5.0 is already released. Please use this version which also comes with latest SWRL API which is maintained by Martin O'Connor. – UninformedUser Jul 27 '16 at 19:31
  • @AKSW yes your right . protege 5 seems to have no problem with swrl syntax – alex Jul 28 '16 at 02:59