diff --git a/config/migrations/2022/20220429135441-remove-person-and-related-positions.sparql b/config/migrations/2022/20220429135441-remove-person-and-related-positions.sparql new file mode 100644 index 0000000..a063a30 --- /dev/null +++ b/config/migrations/2022/20220429135441-remove-person-and-related-positions.sparql @@ -0,0 +1,17 @@ +# A person has been wrongly added (it's a duplicate) and someone attached to him a wrong position + +DELETE { + GRAPH ?g { + ?pperson ?operson . + ?pmandataris ?omandataris . + ?pcontact ?ocontact . + ?paddress ?oaddress . + } +} WHERE { + GRAPH ?g { + ?pperson ?operson . + ?pmandataris ?omandataris . + ?pcontact ?ocontact . + ?paddress ?oaddress . + } +}