-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from lblod/hotfix/lekp-1.0-2025-active-step
Add migration setting opvolgmoment 2025 as active step for LEKP 1.0
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
config/migrations/2024/20241112144138-set-opvolgmoment-2025-as-LEKP-1.0-active-step.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
PREFIX cpsv: <http://purl.org/vocab/cpsv#> | ||
PREFIX common: <http://www.w3.org/2007/uwa/context/common.owl#> | ||
PREFIX transactie: <http://data.vlaanderen.be/ns/transactie#> | ||
PREFIX adms: <http://www.w3.org/ns/adms#> | ||
|
||
# Add active step to opvolgmoment-2025 for LEKP 1.0 subsidy | ||
INSERT { | ||
GRAPH ?g { | ||
?consumptie common:active <http://lblod.data.info/id/subsidie-application-flow-steps/10b2a1d8-f3ca-44d7-b987-6eeb7b844107> # Opvolgmoment 2025 | ||
} | ||
} WHERE { | ||
GRAPH ?g { | ||
?consumptie adms:status <http://lblod.data.gift/concepts/c849ca98-455d-4f31-9e95-a3d9d06e4497> . #Active | ||
?consumptie transactie:isInstantieVan <http://lblod.data.info/id/subsidy-measure-offers/64d40351-8128-464f-990f-41066154583e> ; # LEKP 1.0 | ||
cpsv:follows <http://lblod.data.info/id/subsidie-application-flows/83353c51-0d65-44bb-b3a7-6b8701b395c9> . | ||
|
||
# Filter for Active steps only! this disregards steps in concept | ||
FILTER NOT EXISTS { | ||
?consumptie common:active ?anyActive . | ||
} | ||
} | ||
} |