I'm currently working on a project that requires certain OWL2 XML files that describe real-life scenarios to be 'translated' to the ALP (type of XML) format of AnyLogic models, so they can be opened in the application. This translation is eventually supposed to happen automatically via another application.
The scenarios describe tourism flows in certain areas in the Netherlands. These scenarios are defined in and exported from a local Semantic MediaWiki in the RDF-OWL2 format. In AnyLogic, we have already managed to create a simulation model and scenarios that we want. Now, we want to directly 'translate' these scenarios from the MediaWiki to AnyLogic, so that simulation models are created without having to touch the AnyLogic application. The type of parameters, classes, agents etc. are all already defined by us, so it's all just a case of "the tourism area in Semantic Wiki Page A should turn into the tourism area A in AnyLogic."
For example, the a part input RDF file might look like this:
<genericTrainStation>
<name>Station Amsterdam</name>
<size>20km</size>
....
</genericTrainStation>
In AnyLogic, if I were to make the same station in the application, the output in the .alp file would be something along the line of...
<EmbeddedObject>
<stuffIrrelevant></stuffIrrelevant>
<stuffIrrelevant2></stuffIrrelevant2>
<name>Station Amsterdam></name>
<size>20km</size>
The question is if it's possible to directly translate between the input and the output, by somehow using the RDF to supplement or replace certain values in the AnyLogic ALP file.
So far, I've flirted with two ideas:
Use XSLT to try and perform the translation
Use the AnyLogic ALP format as a base, and construct a compiler surrounding that performs the translation
I've looked long and far for any resources that concern manipulating the ALP AnyLogic format, but to no avail. I'm generally looking for help concerning the overal plausibility of the two ideas, and eventual resources I can use in my task.