private void addTripleMapMetadata(KR2RMLMapping mapping, Resource mappingRes, Worksheet worksheet, TriplesMap trMap, URI trMapUri) throws RepositoryException { // Add the triples map type statement con.add(trMapUri, RDF.TYPE, repoURIs.get(Uris.RR_TRIPLESMAP_CLASS_URI)); // Associate it with the source mapping URI con.add(mappingRes, repoURIs.get(Uris.KM_HAS_TRIPLES_MAP_URI), trMapUri); con.add(trMapUri, repoURIs.get(Uris.KM_IS_PART_OF_MAPPING_URI), mappingRes); addLogicalSource(mapping, worksheet, mappingRes, trMapUri); }