-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Differing URI resolution behavior for jsonldPredicate on purpose? #786
Comments
One could force link resolution by changing in the
Which seems a bit odd, if not a string, but an object is the value of Or one could, during pre-processing normalize the |
The
The general form of this would be a directive in The mapSubject/mapPredicate work somewhat like this but not exactly (they specify transformation of a set of key:value entries into a list objects), so it might require a new directive to be able to specify exactly the right behavior. |
Description
If in a SALAD schema the
jsonldPredicate
of a SaladRecordField is set as_id
the provided URI is resolved with respect to the provided base URI during pre-processing.Example
Input schema with directly provided URI string:
Output JSON-LD Context:
Input schema with JsonldPredicate object:
Output JSON-LD Context:
Intuitively, I would have assumed that the two schemes would be equivalent, but apparently they are not.
Is this observed behavior correct (or a bug) and if so, where is this defined in the current SALAD specification (currently there is some documentation about
jsonldPredicate
pre-processing in 2.7 Record field annotations, but only for the cases, if the value is an object or@id
)?The text was updated successfully, but these errors were encountered: