Hi Dave,

Yes i tried,


Its the same result.


Thanks






Sent with Unibox



> On Jul 15, 2014, at 5:28 PM, Dave Reynolds <[email protected]> wrote:
> 
> 
> So have you tried without a reasoner as I suggested?
> 
> Dave
> 
> On 15/07/14 00:50, [email protected]
>  wrote:
> 
>> Hi Dave and Others,
>> 
>> 
>> I’m using OWL Micro reasoner.
>> 
>> 
>> I have attached the ontology to this email. This ontology uses lot of 
>> restrictions, unions and intersections which gets translated to subclass
>> 
>> 
>> file://localhost/Users/kamalrajjairam/Downloads/SNOMED_module4fma.owl.zip
>> 
>> 
>> 
>> I’m trying to extract the following class and its subclasses using the 
>> statement
>> 
>> 
>> Class Name :- Body_Structure
>> 
>> 
>> ExtendedIterator<OntClass> subClassEnumeration = 
>> ontClass.listSubClasses(true);
>> 
>> 
>> Thanks
>> Kamalraj
>> 
>> 
>> 
>> 
>> 
>> 
>> Sent with Unibox
>> 
>> 
>> 
>>> On Jul 14, 2014, at 7:36 PM, Dave Reynolds <[email protected]>
>>>  wrote:
>>> 
>>> 
>>> On 14/07/14 08:39, [email protected]
>>>  wrote:
>>> 
>>> 
>>>> Hello All,
>>>> 
>>>> 
>>>> 
>>>> 
>>>> How can i handle circular dependency in ontological model
>>>> 
>>>> 
>>>> 
>>>> 
>>>> For eg, i have a complex model more than 12.5 mb in size which has a lot 
>>>> of statements like
>>>> 
>>>> 
>>>> 
>>>> 
>>>> A subclassof b
>>>> 
>>>> 
>>>> 
>>>> 
>>>> b subclassof a
>>>> 
>>>> 
>>>> That's not really a circular dependency, just means that a and b are
>>> equivalent class.
>>> 
>>> 
>>>> 
>>>> 
>>>> I’m trying to load similar statements into an OntModel and execute the 
>>>> following code
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ExtendedIterator<OntClass> subClassEnumeration = 
>>>> ontClass.listSubClasses(true);
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Above statements runs forever. Is there a way to overcome this ?
>>>> 
>>>> 
>>>> 
>>> 
>>> Should work. It may not be a loop, but performance issues. Are you using
>>> a reasoner? If so which one? Try without a reasoner and see if you get
>>> answers back.
>>> 
>>> 
>>> Dave
>>> 
>>> 
>>> 
> 

Reply via email to