Worksheet ws = workspace.getFactory().getWorksheet(worksheetId);
R2RMLMappingIdentifier id = new R2RMLMappingIdentifier(ws.getTitle(), r2rmlModelFile.toURI().toURL());
WorksheetR2RMLJenaModelParser parser = new WorksheetR2RMLJenaModelParser(id);
KR2RMLMapping mapping = parser.parse();
KR2RMLVersion version = mapping.getVersion();
if(version.compareTo(KR2RMLVersion.current) < 0)
{
uc.add(new InfoUpdate("Model version is " + version.toString() + ". Current version is " + KR2RMLVersion.current.toString() + ". Please publish it again."));
}
return mapping.getWorksheetHistory();