friends i wrote an ontology that use same property that i named it " hasPart" for classes via properties restriction in necessary section of classes in protege."hasPart " property is without any resource for that i can reuse it .
for example
in httpMassage class:
httpMessage subclassOf hasPart only (httpRequest or httpReponse)
in httpRequest class:
httpRequest subclassOf hasPart only (generalHeader or entityHeader or requestHeader or Payload or request_line)
in request_line class:
request_line subclassOf has Part only (httpMethod or URl or httpVersion)
i use "hasPart" propety in many other classes too. then i want to use transitive deductive rule in swrl over my ontology example
hasPart(?x,?y)^ hasPart(?y,?z) -> hasPart(?x,?z)
but when i execute it , swrl display error that outof memory detected please increase the heap size what is wrong about it?