Representing Java Object in OWL
<p>I have two <code>classes</code> one <code>Student</code> having <em>name</em> as an attribute and another <code>College</code> also having <em>name</em> as an attribute. I want to represent same information (without creating different Data Properties for 'name') in OWL. As both classes are disjoint <code>Student Disjoint College</code>. So <code>name Domain Student</code> and <code>name Domain College</code> considers both <em>Student</em> and <em>College</em> as same.</p>

<p>Here the question is if I am having some attribute (java object attribute) which are broadly used in many more classes then how to model this in OWL ? Also how to get the same information back from OWL ? (Represent JAVA in OWL and then get information from OWL convert it into JAVA required in one case for my project)</p>