Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] SWRL, Namespaces and imports

Samson Tu swt at stanford.edu
Sun Aug 19 21:50:49 PDT 2007


What I do is to have the swrl rules owl file  import the model_1.owl file.

Samson


Ely Edison Matos wrote:
> Hello All,
> I'm using Protege 3.3beta build 414 with the SWRL Rules Tab.
> For a modular design to my ontology, I put the SWRL rules in a separate 
> file, e.g. "rules.owl" (that imports my others ontology files with base 
> classes and individuals). My workfile ontology, e.g. "model_1.owl", 
> contains individuals, and owl:imports the "rules.owl". The rules will be 
> applied over this individuals.
> But...in "model_1.owl", the variables (?x1, ?x2, ..) are "namespace 
> qualified" (?rules:x1, ?rules:x2, ...) and, so long I tested, the rules 
> don't work as expected (actually, they don't work at all...)..If I 
> manually edit the rules and strip the namespace (while "model_1.owl" 
> loaded in Protege), the rules works.
> My question: are there some way to qualify the rules variables to 
> "current" ontology? if not, any suggestions of how get the modularity 
> with the rules?
>  
> Thanks,
> Ely
>  
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
> 
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 




More information about the protege-owl mailing list