W3C home > Mailing lists > Public > public-linked-json@w3.org > March 2018

Re: Using document location as vocabulary base

From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Tue, 13 Mar 2018 08:11:55 -0400
To: public-linked-json@w3.org
Cc: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Message-ID: <c971e10b-6437-bb75-a9bc-d9eb42fd7026@openlinksw.com>
On 3/12/18 9:20 PM, Gregg Kellogg wrote:
> Kingsley, during the JSON-LD call today we specifically wanted to solicit your feedback on if our proposed fix in PR #603 [1] satisfies your requirements as stated in issue #488 [2].
>
> A particular use case is highlighted in the syntax document:
>
> {
>   "@context": {
>     "@base": "http://example/document",
>     "@vocab": ""
>   },
>   "@id": "http://example.org/places#BrewEats",
>   "@type": "#Restaurant",
>   "#name": "Brew Eats"
>   …
> }
>
> The “@vocab”: “” has the effect of using the current document base (either location, or set via @base) to create property IRIs. This would expand to the following:
>
> [{
>   "@id": "http://example.org/places#BrewEats",
>   "@type": ["http://example/document#Restaurant"],
>   "http://example/document#name": [{"@value": "Brew Eats"}]
> }]
>
> You can find formatted versions of the syntax [3] and API [4] documents. Kindly respond to indicate if the proposed text satisfies your requirements.
>
> Gregg Kellogg
> gregg@greggkellogg.net
>
> [1] https://github.com/json-ld/json-ld.org/pull/603
> [2] https://github.com/json-ld/json-ld.org/issues/488#issuecomment-361587510
> [3] https://rawgit.com/json-ld/json-ld.org/vocab-base/spec/latest/json-ld/index.html#using-the-document-base-as-the-default-vocabulary
> [4] https://rawgit.com/json-ld/json-ld.org/vocab-base/spec/latest/json-ld-api/index.html
>
>
>
Gregg,

I was hoping that Ted would be standing in for me during these meetings.
Anyway,  will look at case and post my comments.

-- 
Regards,

Kingsley Idehen	      
Founder & CEO 
OpenLink Software   (Home Page: http://www.openlinksw.com)

Weblogs (Blogs):
Legacy Blog: http://www.openlinksw.com/blog/~kidehen/
Blogspot Blog: http://kidehen.blogspot.com
Medium Blog: https://medium.com/@kidehen

Profile Pages:
Pinterest: https://www.pinterest.com/kidehen/
Quora: https://www.quora.com/profile/Kingsley-Uyi-Idehen
Twitter: https://twitter.com/kidehen
Google+: https://plus.google.com/+KingsleyIdehen/about
LinkedIn: http://www.linkedin.com/in/kidehen

Web Identities (WebID):
Personal: http://kingsley.idehen.net/public_home/kidehen/profile.ttl#i
        : http://id.myopenlink.net/DAV/home/KingsleyUyiIdehen/Public/kingsley.ttl#this



Received on Tuesday, 13 March 2018 12:12:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:51 UTC