Skip to content

Commit

Permalink
Added support to reconcile with dbo:Agent
Browse files Browse the repository at this point in the history
  • Loading branch information
sahalali committed Oct 14, 2024
1 parent 7e426db commit 5aec5c8
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ EVENT="event-index"
PLACE="place-index"
ORGANIZATION="organization-index"
PERSON="person-index"
AGENT="agent-index"
CONCEPT="concept-index"
EVENT_TYPE="event-type-index"
DEFAULT="resource-index"
Expand Down
1 change: 1 addition & 0 deletions src/config/graphdb-indexes.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const GRAPHDB_INDEX = {
PLACE: env.PLACE || "place-index",
ORGANIZATION: env.ORGANIZATION || "organization-index",
PERSON: env.PERSON || "person-index",
AGENT: env.AGENT || "agent-index",
CONCEPT: env.CONCEPT || "concept-index",
EVENT_TYPE: env.EVENT_TYPE || "event-type-index",
DEFAULT: env.DEFAULT || "resource-index",
Expand Down
4 changes: 4 additions & 0 deletions src/constant/manifest.constant.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"id": "schema:Place",
"name": "Place"
},
{
"id": "dbo:Agent",
"name": "Agent"
},
{
"id": "schema:Organization",
"name": "Organization"
Expand Down
4 changes: 4 additions & 0 deletions src/dto/manifest.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export class ServiceManifestResponse {
"id": "schema:Person",
"name": "Person"
},
{
"id": "dbo:Agent",
"name": "Agent"
},
{
"id": "schema:Place",
"name": "Place"
Expand Down
2 changes: 2 additions & 0 deletions src/helper/reconciliation-service.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ export class ReconciliationServiceHelper {
return GRAPHDB_INDEX.ORGANIZATION;
case "schema:Person":
return GRAPHDB_INDEX.PERSON;
case "dbo:Agent":
return GRAPHDB_INDEX.AGENT;
case "skos:Concept":
return GRAPHDB_INDEX.CONCEPT;
case "ado:EventType":
Expand Down

0 comments on commit 5aec5c8

Please sign in to comment.