Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use custom swrl built-in problem #1

Open
zzw95 opened this issue Dec 9, 2016 · 1 comment
Open

use custom swrl built-in problem #1

zzw95 opened this issue Dec 9, 2016 · 1 comment

Comments

@zzw95
Copy link

zzw95 commented Dec 9, 2016

Hi,
I have downloaded this example project, and transfer it to a jar file , and put the jar file to path "G:\Protege-5.0.0\plugins".
But in Protege , I use the "strings:" in a swrl rule , it shwos the error"Prefix not reistered for prefix name",even if I create the prefix "strings".
Cheers.

@situx
Copy link

situx commented May 30, 2018

I had the same experience when testing the library in Protege 5.2. The reason seems to be that the prefix is not registered in the SWRLBuiltInManager.java class. I forked this project to https://github.com/i3mainz/swrlapi-swrlgeo and could use the prefix as intended in the testing class when modifying SWRLBuiltInManager.java to include my prefix. In Protege this still does not seem to work properly as it seems. I speculate that the SWRLBuiltInManager.java class included in Protege 5.2 is loaded instead of my modified class and therefore does not include the prefix. Would appreciate any hint of how to fix this problem permanently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants