-
Notifications
You must be signed in to change notification settings - Fork 0
Entities & Relationships
A tuple containing:
-
Subject
: Entity (full or URI). Can be blank if this is a first-person statement (i.e. the Author is the Subject) -
Verb
: Relationship -
Object
: Entity (full or URI) -
Data
: Optional additional data -
Time
: Stated UTC time at which the statement is made -
Author
: Public key of the identity making this statement -
Signature
: The above elements, signed with the author's private key
Any of the following, or a custom type.
-
Identity
- a private/public key pair. Each device has a unique identity -
User
- an alleged natural person with Name, Photo, etc. Statement
Any of the following, or a custom type.
-
Is
(Identity
,User
) - Used in the first statement made by anIdentity
, to begin establishing a connection between the machine-generatedIdentity
and aUser
. MultipleIdentities
can exist claiming to be a singleUser
. E.g. anIdentity
on a laptop and anIdentity
on a phone can both claim to be the sameUser
. -
Believes
(Identity
,Statement
) - First-person only - Signifies that anIdentity
lends credence to aStatement
. Note that recursive belief statements (e.gA Believes (B Believes X)
) are unnecessary, becauseBelieves
statements are first-person-only and can be verified by a signature.The
Data
for such a statement can have acertainty
(1.0 = definitely true; 0.0 = definitely false). This is only a statement of belief by anIdentity
, not necessarily actuality.The
Data
for aBelieves
statement can also have areason
, which is a list of otherStatements
supporting this belief.Examples:
-
Identity Believes (Identity Is User)
- Used by a
User
that controls multipleIdentities
to link a newIdentity
. Order ofStatements
:A Is U
B Is U
A Believes (B Is U) { certainty: 1.0 }
- Used by another
User
to support someone else'sIs
claim.A Is U
B Is V
- (B makes statements that lead A/U to believe B's claim to be V at a probability of 75%)
A Believes (B Is V) { certainty: 0.75 }
- Used by a
-