[Pellet-users] Out of memory error when running too many SWRL rules

Michael Smith msmith at clarkparsia.com
Wed Jul 2 12:08:43 UTC 2008


On Wed, 2008-07-02 at 13:04 +0200, Lamia Abo Zaid wrote:

> Please find attached the ontology, it includes the SWRL rules. 
> I also tried running the example with the DL safe rules option set to
> false as my ontology does not have individuals to satisfy all the
> rules. 

The ontology imports a large number of ontologies that are related to
the Protege SWRL tab.  These ontologies are not OWL DL and are not part
of the SWRL submission (de-facto standard).  You also weren't using any
of the built-ins defined in those ontologies.

Pellet was able to reason over the ontology quickly and with low memory
use after I did the following

1) Removed all the imports added by the SWRL tab (for your ontology that
was all of the imports).

2) Removed the swrla:isRuleEnabled statements on rules (since the
predicate is undefined by (1) and not meaningful to Pellet).

3) Set PelletOptions.USE_CONTINUOUS_RULES = true (which I believe you've
already done).

-- 
Mike Smith

Clark & Parsia



More information about the Pellet-users mailing list