RE: Random JSON-LD requests for the future: @job & slash-rooted paths

On Saturday, March 08, 2014 8:13 PM, David Janes wrote:
> I've been using JSON-LD for awhile and there's two things I'd

Cool. Do you have some pointers or could you share how you used JSON-LD?

> like to suggest two ideas for future releases
>
> (1) "@job" (like a BLOB in a DB)
> 
> It would be nice if I could mark part of the JSON-LD as having
> "no semantic meaning / interpretation" and that it would be passed
> various functions (compaction, etc) without being touched.
>
> The lack of this has made me do some ugly / questionable things...

We are aware of that shortcoming and have been discussing it several times
but decided to leave it out of JSON-LD 1.0 due to its algorithmic
complexity. I've created ISSUE-333 to keep track of this:

  https://github.com/json-ld/json-ld.org/issues/333


> (2) "/" routed IRIs
>
> Instead of returning various @base relative IRIs as "../../../x/y/z",
> it would be nice if there was an option for just getting "/x/y/z".

Can't you achieve that by simply setting the base to the domain instead of
some directory? So, http://example.com/ instead of
http://example.com/a/directory/



--
Markus Lanthaler
@markuslanthaler

Received on Monday, 10 March 2014 13:59:15 UTC