-
Notifications
You must be signed in to change notification settings - Fork 157
Support array position to property binding #146
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
Comments
Keep in mind that that potential solution might conflict with the idea of expanding a term to multiple IRIs (another possible feature under discussion: #142) |
The chat that led to this issue:
|
I think this can be a valuable feature. With this, it may even become possible to use a JSON-LD context for mapping GeoJSON to RDF (similar to the initial example here). I also think we should use
, we may need to combine an explicit
Or if the use of just an array is too cryptic (and given that this is quite a feature to add), it might warrant the addition of a keyword, e.g.
We must also make sure that the positional values can be coerced. The suggested form does that though, since one can add a complementary (If we use |
I don't know if we should really include this in JSON-LD 1.0 but if we do, I think we should do something along the lines Niklas proposed ( |
RESOLVED: Do not support a declarative mechanism that is capable of mapping array position to an RDF property. |
Too bad (ironically) the chat is unreadable, that chat should mention who is saying what. |
@ceefour: The chat comment above had the correct data but the names were being eaten by markdown as html tags. I edited the comment to put the irc log in a block so it's readable now (though no word wrapping, sorry). Also of interest may be the telecon scribe text for that issue: http://json-ld.org/minutes/2012-08-07/#topic-3. |
Reto has asked us to consider binding properties to array positions, so that something like this:
would generate this RDF:
One potential solution would have us create a context entry that looks like this:
The text was updated successfully, but these errors were encountered: