Re: Collecting JSON-LD WebID examples

On 1/27/22 6:16 AM, Melvin Carvalho wrote:
> There have been a number of great example of what WebID could look 
> like in JSON-LD
>
> I've started the process of collecting them here:
>
> https://github.com/webidcg/webid-context/issues/2
>
> Please add any examples or use cases either on this thread or in the 
> github issue, and we can try and create a documentation of possible 
> approaches
>
> First 3 from Aaron, reproduced here for convenience:
>
>
>     Example 1
>
> A JSON-LD WebID document might look like this
>
> {
>      "@context": [
>        "https://home.apache.org/~acoburn/context/webid.json"
>      ],
>      "id":"https://id.example/acoburn#i",
>      "type": ["Person"],
>      "name":"Aaron Coburn",
>      "primaryTopicOf": {
>        "id":"https://id.example/acoburn",
>        "type": ["PersonalProfileDocument"]
>      }
> }
>
>
>     Example 2
>
> One could also reverse the Information Resource -- WebID relationship
>
> {
>      "@context": [
>        "https://home.apache.org/~acoburn/context/webid.json"
>      ],
>      "id":"https://id.example/acoburn",
>      "type": ["PersonalProfileDocument"],
>      "primaryTopic": {
>          "id":"https://id.example/acoburn#i",
>          "type": ["Person"],
>          "name":"Aaron Coburn"
>      }
> }
>
>
>     Example 3
>
> If you want to layer another system -- say, for example, Solid -- on 
> top of
> this, it is easy with a separate context
>
> {
>      "@context": [
>        "https://home.apache.org/~acoburn/context/webid.json",
>        "https://home.apache.org/~acoburn/context/solid.json"
>      ],
>      "id":"https://id.example/acoburn#i",
>      "type": ["Person"],
>      "name":"Aaron Coburn",
>      "storage": ["https://solid.example/1","https://solid.example/2"],
>      "oidcIssuer": ["https://idp.example"],
>      "primaryTopicOf": {
>        "id":"https://id.example/acoburn",
>        "type": ["PersonalProfileDocument"]
>      }
> }
>

My contribution to the example collection, using Relative HTTP URIs [1][2].

Links:

[1] 
https://github.com/webidcg/webid-context/issues/2#issuecomment-1023342619 
-- JSON-LD Profile Document Content within a Github Comment

[2] https://tinyurl.com/m8cz76wd -- Profile Document Validation  using 
JSON-LD Playground

-- 
Regards,

Kingsley Idehen 
Founder & CEO
OpenLink Software
Home Page:http://www.openlinksw.com
Community Support:https://community.openlinksw.com
Weblogs (Blogs):
Company Blog:https://medium.com/openlink-software-blog
Virtuoso Blog:https://medium.com/virtuoso-blog
Data Access Drivers Blog:https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers

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

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 Saturday, 29 January 2022 20:52:39 UTC