Skip to content

Add webid predicate for linking to a person's WebID#5

Open
melvincarvalho wants to merge 1 commit into
webidcg:mainfrom
solid-lite:add-webid-predicate
Open

Add webid predicate for linking to a person's WebID#5
melvincarvalho wants to merge 1 commit into
webidcg:mainfrom
solid-lite:add-webid-predicate

Conversation

@melvincarvalho
Copy link
Copy Markdown
Contributor

Summary

  • Adds a webid term to the JSON-LD context for referencing a person's WebID from external documents
  • Uses https://w3id.org/webid#webid as the IRI, typed as @id

Motivation

The context defines terms for describing a WebID profile (Person, name, knows, primaryTopic), but has no predicate for referencing someone's WebID from another document — e.g. an address book entry, an ACL rule, or a social graph.

Currently people fall back on owl:sameAs, schema:sameAs, or vcard:hasUID, none of which clearly express "this is a WebID."

Usage

{
  "@context": "https://w3id.org/webid",
  "name": "Alice",
  "webid": "https://alice.example/profile/card#me"
}

Closes #4

The context currently defines terms for WebID profile documents but has
no predicate for referencing someone's WebID from an external document.
This adds a simple `webid` term that any JSON-LD document can use to
link to a person's WebID URI.

Closes webidcg#4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a 'webid' predicate for linking to a person's WebID

1 participant