1

I working on a mechatronic project and i use dymola tool to generate modelica code for my model . now i want to transform modellica to .owl inorder to implement semantic search for the elements . I used protege to manually generate ontologies but its time consuming . i need to design a tool that automatically does that for me . the tool can be programmed in Java but the problem is how to make the tool understand the semantics ( not just the syntactic structure) of d modellica code ? if grammar parsing is the answer, how? or is there any alternate way other than using a parser? can sum1 help me! ...it would be great if u could refer me some books that can go thro ..

  • Welcome to Stack Overflow! Please show us your code. – Corey Adler Mar 04 '13 at 14:15
  • I have a task on hand where I have to build a RDF/OWL ontology from Modelica classes, and stumbled across your question while searching online. I am curious if you found a way to expedite this tedious process. – GuSuku Aug 25 '14 at 18:05

1 Answers1

0

The OWL-API is a solid Java library to work with OWL. It's the engine behind Protege so you might want to start looking there. You could also try Brain, it supports only the OWL2 EL profile at the moment.

loopasam
  • 3,027
  • 2
  • 21
  • 22