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] Query problem with SQWRL in Java

Martin O'Connor 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.

Martin


wassim bouaziz wrote:

>Hello,
>
>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
>
>queryEngine.runSQWRLQueries();
>
>SWRLRuleEngineBridge bridge = BridgeFactory.createBridge(owlModel);
>System.out.println("H2");
>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 mailing list