applied changes to querries
This commit is contained in:
@@ -306,7 +306,8 @@ export async function createNewKboOrg(kboOrg, kboId) {
|
||||
${sparqlEscapeUri(contactPointUri)} a <http://schema.org/ContactPoint> ;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> ${sparqlEscapeString(
|
||||
contactPointUuidId
|
||||
)} `;
|
||||
)} ;
|
||||
<http://purl.org/dc/terms/source> <https://economie.fgov.be/>`;
|
||||
if (kboOrg.email) {
|
||||
updateStr += `; <http://schema.org/email> ${sparqlEscapeString(
|
||||
kboOrg.email
|
||||
@@ -388,13 +389,13 @@ export async function createNewKboOrg(kboOrg, kboId) {
|
||||
|
||||
export async function updateKboOrg(newKboInfo, identifiers) {
|
||||
//update address
|
||||
updateKboAddress(newKboInfo, identifiers);
|
||||
await updateKboAddress(newKboInfo, identifiers);
|
||||
|
||||
//update ContactPoint
|
||||
updateKboContact(newKboInfo, identifiers);
|
||||
await updateKboContact(newKboInfo, identifiers);
|
||||
|
||||
//update kboUnit
|
||||
updateKboAdministrativeUnit(newKboInfo, identifiers);
|
||||
await updateKboAdministrativeUnit(newKboInfo, identifiers);
|
||||
}
|
||||
|
||||
export async function linkAbbOrgToKboOrg(abbOrgUri, kboOrgUri) {
|
||||
|
||||
Reference in New Issue
Block a user