Re: WebID default serialization for WebID 2.x

On 1/25/22 4:29 PM, Nathan Rixham wrote:
> On Tue, Jan 25, 2022 at 9:23 PM Kingsley Idehen 
> <kidehen@openlinksw.com> wrote:
>
>     On 1/25/22 1:28 PM, Nathan Rixham wrote:
>>     Would a fair definition of a valid WebId then be something like:
>>     A URI is a valid WebIdentifier if it dereferences to a valid
>>     WebId-Profile describing the URI with the minimum set of required
>>     properties (type, name, public_keys)?
>
>     A WebID is a resolvable identifier that denotes an agent. It
>     resolves to a WebID Profile Document.
>
>  How do you know it's a WebID before you resolve it?


Good question!

By deciding the want to denote yourself using a given identifier, 
relative to your profile document. Basically, the steps are as follows:

1. Open a file

2. Describe yourself using terms from your preferred vocabulary

3. Save the file

4. Publish to the Web

To see why I am claiming above, in action, please open this message via 
a browser that has our Structured Data Browser Extension installed.

## Turtle Start ##

@prefix schema: <http://schema.org/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix like: <http://ontologi.es/like#> .
@prefix : <#> .

## About Profile Doc

:doc
a schema:WebPage;
schema:title "A Personal Profile Document"@en ;
schema:mainEntity :netid .

## About Me

:netid
a schema:Person ;
schema:name "Kingsley Uyi Idehen"@en ;
schema:description "A document about me"@en ;
schema:mainEntityOfpage :doc .

## Turtle End ##

If you for whatever reasons you can install the extension, here is the 
entity description 
<https://linkeddata.uriburner.com/sparql?default-graph-uri=&query=%0D%0ADESCRIBE+%3Fs%0D%0AFROM+%3Cfile%3A%2F%2F%2FUsers%2Fkidehen%2FDocuments%2FRDF_DATA%2Ftemplates%2Fbasic-netid-profile-example.ttl%23osds%3E+%0D%0AWHERE+%7B+%0D%0A++++++++%3Fs+a+%3Fo+.+%0D%0A++++++++FILTER+%28CONTAINS%28STR%28%3Fo%29%2C%27schema%27%29%29+%0D%0A++++++%7D+%0D%0A%0D%0A&should-sponge=&format=text%2Fx-html-nice-turtle&timeout=30000000#this> 
that you would have seen in your browser. Other profile variants include:

  * Basic JSON-LD variant
    <https://linkeddata.uriburner.com/sparql?default-graph-uri=&query=%0D%0ADESCRIBE+%3Fs%0D%0AFROM+%3Cfile%3A%2F%2F%2FUsers%2Fkidehen%2FDocuments%2FRDF_DATA%2Ftemplates%2Fbasic-netid-profile-example.ttl%23osds%3E+%0D%0AWHERE+%7B+%0D%0A++++++++%3Fs+a+%3Fo+.+%0D%0A++++++++FILTER+%28CONTAINS%28STR%28%3Fo%29%2C%27schema%27%29%29+%0D%0A++++++%7D+%0D%0A%0D%0A&should-sponge=&format=application%2Fx-ld%2Bjson&timeout=30000000#this>
  * Use this page
    <https://linkeddata.uriburner.com/sparql?qtxt=%23%20DEFINE%20get%3Asoft%20%22soft%22%20%0ASELECT%20(SAMPLE(%3Fs)%20AS%20%3FEntityID)%20%0A%20%20%20%20%20%20%20(COUNT(*)%20AS%20%3Fcount)%20%0A%20%20%20%20%20%20%20(%3Fo%20AS%20%3FEntityTypeID)%20%0AFROM%20%3Cfile%3A%2F%2F%2FUsers%2Fkidehen%2FDocuments%2FRDF_DATA%2Ftemplates%2Fbasic-netid-profile-example.ttl%23osds%3E%20%0AWHERE%20%7B%20%0A%20%20%20%20%20%20%20%20%3Fs%20a%20%3Fo%20.%20%0A%20%20%20%20%20%20%20%20FILTER%20(CONTAINS(STR(%3Fo)%2C%27schema%27))%20%0A%20%20%20%20%20%20%7D%20%0AGROUP%20BY%20%3Fo%20%0AORDER%20BY%20DESC%20(%3Fcount)%20%0ALIMIT%2050%20%0A&format=text%2Fx-html%2Btr#this>
    to see other variants by picking your preference from the drop-down

Fundamentally, the data transformation issues enabling what I am 
demonstrating are an implementation detail written into our tools (which 
comply with these concepts). Even if you didn't have said tools at your 
disposal, the act of describing one's self still breaks down the same 
way -- with or without a Web i.e., you describe yourself in some 
document where you identity is relative to said doc :)

-- 
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 Tuesday, 25 January 2022 22:58:50 UTC