public boolean addR2RMLMapping(KR2RMLMapping mapping, Worksheet worksheet, Workspace workspace) throws RepositoryException, JSONException { try { Resource mappingRes = addKR2RMLMappingResource(worksheet, mapping); addTripleMaps(mapping, mappingRes, worksheet, workspace); addPrefixes(mapping); } catch (OpenRDFException e) { logger.error("Error occured while generating RDF representation of R2RML data " + "structures.", e); } return true; }