-
Notifications
You must be signed in to change notification settings - Fork 0
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 Prefixes in IRI Templates #141
Comments
Thank you for your feature request. IRI templates can also be declared on the top-level, outside of a map. Doing so eliminates some (but not all) of the duplication and facilitates IRI template refactorings. Here's an example:
One can also consider using relative IRIs in the mapping and leaving resolution against a base IRI to the mapping processor (e.g. R2RML processor ) |
I use that a lot, in the previous release XRM did not autocomplete to those, I think you did explain me once why but I can't remember. What is the reason that autocomplete is not working on templates? |
Yes that's correct. Up to now proposals for templates in code assist only included templates that were declared in the same file. This changes with XRM version 1.2.0. Now all the templates from all files in the project are included in code assist proposals. |
It would be useful if we can use prefixes in IRI templates.
At the moment i do it like this.
i can imagine something like this ... .. or something better
Problem:
The IRI templates have a 'hard coded' prefix and i have to take care of it every time i uses it.
If i can use the prefix defined in vocabulary it's 'centralised', had IDE completion support and it can support refactoring.
The text was updated successfully, but these errors were encountered: