From c47d9d84cd990805ac1ba3c90fc7a505db5a5c9e Mon Sep 17 00:00:00 2001 From: Claire Lovisa Date: Wed, 18 May 2022 13:22:45 +0200 Subject: [PATCH] Add migration to fix broken link person/mandataris (#150) --- ...941-fix-broken-link-person-position.sparql | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config/migrations/2022/20220518092941-fix-broken-link-person-position.sparql diff --git a/config/migrations/2022/20220518092941-fix-broken-link-person-position.sparql b/config/migrations/2022/20220518092941-fix-broken-link-person-position.sparql new file mode 100644 index 0000000..57425af --- /dev/null +++ b/config/migrations/2022/20220518092941-fix-broken-link-person-position.sparql @@ -0,0 +1,21 @@ +INSERT DATA { + GRAPH { + . + } +} + +# The associated call to trigger a reindex is : +# curl --location --request POST '/update' \ +# --header 'Content-Type: application/vnd.api+json' \ +# --data-raw ' [ +# { +# "deletes": [], +# "inserts": [ +# { +# "subject": { "type": "uri", "value": "http://data.lblod.info/id/mandatarissen/61B762983C1A230C43B4522F" }, +# "predicate": { "type": "uri", "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" }, +# "object": { "type": "uri", "value": "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris" } +# } +# ] +# } +# ]'