I'd like to make an ontology of the XML code below:
<InterfaceList>
<EventInputs>
<Event Name="INIT" Comment="Initialization Request">
<With Var="MODE" />
</Event>
<Event Name="REQ" Comment="Update Request">
<With Var="MODE" />
</Event>
</EventInputs>
<EventOutputs>
<Event Name="CNF" Comment="Update Confirmation">
<With Var="LED1" />
</Event>
</EventOutputs>
</InterfaceList>
I built a superclass InterfaceList with the subclasses of EventInputs and EventOutputs but the problem occurs when it comes to subclasses: "Event" and "With". since in the owl ontology it is not possible to create subclasses with the same name, what would be the suggestion about the subclass of "Event" and "With" that differs in EventInputs and EventOutputs