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] error running SQWRL queries

Martin O'Connor martin.oconnor at stanford.edu
Wed Feb 1 14:01:05 PST 2012


In the current 3.4.8 version, the built-in is called tbox:isClass.

cf. http://protege.cim3.net/cgi-bin/wiki.pl?SWRLTBoxBuiltIns

Martin

On 1/31/2012 12:18 PM, samane abdi wrote:
> dear experts,
>
> I have this query in the swrlTab :
> "" tbox:isOWLNamedClass(?c1) ∧ tbox:isOWLNamedClass(?c2) ∧
> tbox:isSubClassOf(?c2, ?c1) ∧ abox:isIndividual(?i1) ∧
> abox:hasIndividual(?c2, ?i1) ∧ abox:isIndividual(?i2) ∧
> abox:hasIndividual(?c1, ?i2)  ∧ differentFrom(?i1,?i2) →
> sqwrl:select(?i2, ?i1) ∧ sqwrl:columnNames("MainPermission", "Implies") ""
>
>
> And I get the following error when running the query in protege GUI.
>
> "Exception when running SQWRL query 'Rule-2': error running SQWRL queries: error running Jess rule engine: Jess 
> reported an error in routine invokeSWRLBuiltIn
> while executing (invokeSWRLBuiltIn ?ruleName ?builtInName ?index false $?dependsOnVariables $?variableNames $?arguments)
> while executing defrule MAIN::InvokeSWRLBuiltInRule.
>   Message: exception thrown by built-in tbox:isOWLNamedClass in rule Rule-2: 
> edu.stanford.smi.protegex.owl.swrl.bridge.exceptions.UnresolvedBuiltInMethodException: unresolved built-in method 
> 'tbox:isOWLNamedClass' in rule 'Rule-2'. 
> edu.stanford.smi.protegex.owl.swrl.bridge.builtins.tbox.SWRLBuiltInLibraryImpl.isOWLNamedClass(java.util.List)."
>
> Is there a solution?
>
> Thanks,
> -- 
> Samane
>
>
> _______________________________________________
> 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