Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use suffix in generated IRI #3

Open
EnnoMeijers opened this issue Aug 25, 2020 · 3 comments
Open

use suffix in generated IRI #3

EnnoMeijers opened this issue Aug 25, 2020 · 3 comments
Labels
templating The use of templates in order to perform advanced transformations. transformation A new transformation that was not possible before.

Comments

@EnnoMeijers
Copy link
Contributor

Would is be possible to add support for adding a suffix to the IRI like: http://data.netwerkdigitaalerfgoed.nl/literaireprijzen/pers?

@wouterbeek
Copy link
Collaborator

This would already work when the base IRI is set to http://data.netwerkdigitaalerfgoed.nl/literaireprijzen/ and the header label is pers. But you must mean something else here...

@EnnoMeijers
Copy link
Contributor Author

EnnoMeijers commented Aug 25, 2020

Yes sorry for not being precise here. I was thinking of generating an IRI based on the row number (or column value) with the following appearance:
http://data.netwerkdigitaalerfgoed.nl/literaireprijzen/pers1
http://data.netwerkdigitaalerfgoed.nl/literaireprijzen/pers2
...
http://data.netwerkdigitaalerfgoed.nl/literaireprijzen/persN

This is done sometimes to mint IRIs based on specific types without adding extra layers in the IRI. Maybe we should discuss the need for support for this in a broader setting?

@wouterbeek wouterbeek added transformation A new transformation that was not possible before. templating The use of templates in order to perform advanced transformations. labels Aug 26, 2020
@wouterbeek
Copy link
Collaborator

We currently support the use of the row number at the end of generated IRIs, but after a forward slash. See this issue for the way in which we create subject IRIs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
templating The use of templates in order to perform advanced transformations. transformation A new transformation that was not possible before.
Projects
None yet
Development

No branches or pull requests

2 participants