-
Notifications
You must be signed in to change notification settings - Fork 1
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 #34 from lblod/GN-4435
GN-4435: Use `cool-uri` to create permalink for `zitting`
- Loading branch information
Showing
4 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
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,5 @@ | ||
--- | ||
"app-gn-publicatie": minor | ||
--- | ||
|
||
GN-4435: Use `cool-uri` to create permalink for `zitting` |
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
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,26 @@ | ||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> | ||
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#> | ||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#> | ||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX foaf: <http://xmlns.com/foaf/0.1/> | ||
|
||
INSERT { | ||
GRAPH <http://mu.semte.ch/graphs/public> { | ||
?session foaf:page ?redirectUrl. | ||
} | ||
} | ||
WHERE { | ||
?session rdf:type besluit:Zitting ; | ||
mu:uuid ?zittingUuid ; | ||
(besluit:isGehoudenDoor/mandaat:isTijdspecialisatieVan) ?administrativeUnit . | ||
?administrativeUnit besluit:bestuurt ?bestuurseenheid . | ||
?bestuurseenheid skos:prefLabel ?administrativeUnitName ; | ||
(besluit:classificatie/skos:prefLabel) ?administrativeUnitTypeName . | ||
BIND( | ||
CONCAT("/", ?administrativeUnitName, "/", ?administrativeUnitTypeName, "/zittingen/", ?zittingUuid) | ||
AS ?redirectUrl | ||
) | ||
} | ||
|
||
|
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