Search Mailing List Archives
[protege-owl] Query problem with SQWRL in Java
martin.oconnor at stanford.edu
Fri Feb 6 14:47:32 PST 2009
The next relase (which would be available today or early next week) has
a fix for this bug.
wassim bouaziz wrote:
>I have an ontology and I defined in Protege
>some SQWRL query. They work fine in Protege. I can even call these
>queries in a Java-based program with
>SWRLRuleEngineBridge bridge = BridgeFactory.createBridge(owlModel);
>SQWRLResult result = queryEngine.getSQWRLResult("HJA");
>which works fine.
>However when I define the query not in the ontology
>itself, but in Java application I get the following error:
>Message: error invoking built-in from Jess: exception
>thrown by built-in
>'sqwrl:select' in rule 'HJA': attempt to add data beyond
>the end of a row.
>I have examined all documentation, but I cannot find the error.
>Can same one help me please.
>Thanks a lot..
More information about the protege-owl