Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Context vocabulary"

(resource)
(Links)
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}} [[Image:Higgins logo 76Wx100H.jpg|right]]
+
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}  
 +
 
 
A vocabulary to describe contexts. Imported by [[Persona vocabulary]].
 
A vocabulary to describe contexts. Imported by [[Persona vocabulary]].
  
Line 6: Line 7:
  
 
==UML Overview==
 
==UML Overview==
[[Image:Context 2.0.100.png|center]]
+
[[Image:Context 2.0.108.png|center]]
  
 
==Classes==
 
==Classes==
  
===<code>AccessControlList</code>===
+
===Context===
A user-defined access control list. If this is the value of the context's sharingPolicy attribute then the sharing of this context's contents are controled by this context's associated "control" context.
+
A context as used in the Persona data model. A container of a set of entities. Contexts are usually created using information from a special kind of context called a template:TemplateContext. The template:TemplateContext contains a ContextPrototype that describes the context to be created. Regular contexts have a ''template'' attribute that its the TemplateContext that originally defined it.
* subClassOf: SharingPolicy
+
 
+
===<code>Context</code>===
+
A context as used in the Persona data model
+
 
* subClassOf: h:Context
 
* subClassOf: h:Context
 
* 0..1 h:control
 
* 0..1 h:control
 +
* 0..1 issuer
 
* 0..1 template
 
* 0..1 template
 
* 0..1 settings
 
* 0..1 settings
 
* 1..1 skos:prefLabel
 
* 1..1 skos:prefLabel
  
===<code>CardContext</code>===
+
===AppContext===
A special kind of context that acts as a visual link to a p:Person entity (via the resource attribute). It inherits from p:Context and h:Context a set of attributes. The values of these inherited attributes are duplicated from and thus identical to the values of these inherited attributes of the regular, data context that contains the target of the resource attribute of this context.
+
A context that provides storage for an add-on app to the portal, a built-in app-like functionality in the portal (e.g. the all-about-me editor app), or an HBX add-on (e.g. dynamically loaded JavaScript app).
* subClassOf: Context
+
* subClassOf: h:Context
* 1..1 resource
+
 
* 1..1 backgroundColor
+
===InboxContext===
* 0..1 image
+
Special "inbox" context that is used to receive notifications from other ADS user accounts. Only one inbox context per ADS user.
* 0..1 imageType
+
* subClassOf: h:Context
  
=== <code>RootContext</code>===
+
=== RootContext===
 
A tagging subclass indicating that this context is the "root" context for this user. There should only be one instance of RootContext for each user.
 
A tagging subclass indicating that this context is the "root" context for this user. There should only be one instance of RootContext for each user.
 
* subClassOf: Context
 
* subClassOf: Context
  
===<code>Settings</code>===
+
===Settings===
 
A class to hold setting information for the containing context. Settings are the user's preferences for how to interact with the containing context, as opposed to pure data held by the context. It is expected that contexts that have specific settings will attach them as attributes to an instance of Settings (or some subclass thereof).
 
A class to hold setting information for the containing context. Settings are the user's preferences for how to interact with the containing context, as opposed to pure data held by the context. It is expected that contexts that have specific settings will attach them as attributes to an instance of Settings (or some subclass thereof).
 
* subClassOf: owl:Thing
 
* subClassOf: owl:Thing
 
===<code>SharingPolicy</code>===
 
Abstract superclass. Policy under which the entire contents of this context is shared with external parties.
 
 
===<code>WhiteList</code>===
 
A list of websites managed by the PDS operator (not the user). This list is stored in a "system" context that is shared by all PDS users.
 
* subClassOf: SharingPolicy
 
  
 
==Attributes==
 
==Attributes==
Line 53: Line 44:
 
**The value <code>http://!self</code> - the user has explicitly asserted entities &amp; attributes in this context  
 
**The value <code>http://!self</code> - the user has explicitly asserted entities &amp; attributes in this context  
 
** The value <code>http://!derived</code> - the active client has derived entities &amp; attributes in this context based on observed behavior and/or assertions made by the user in other contexts
 
** The value <code>http://!derived</code> - the active client has derived entities &amp; attributes in this context based on observed behavior and/or assertions made by the user in other contexts
 
=== member ===
 
Member of a WhiteLlist.
 
* domain: WhiteList
 
* value: Website
 
 
=== resource ===
 
Link to a p:Person of this CardContext
 
* domain: CardContext
 
* value: h:Person (really p:Person)
 
  
 
=== settings ===
 
=== settings ===
A singleton isntance of the Settings class.
+
A singleton instance of the Settings class.
 
* domain: Context
 
* domain: Context
 
* value: Settings
 
* value: Settings
  
=== sharingPolicy ===
+
=== template ===
Sharing policy of this context. If a context has no sharingPolicy then it's contents are not shared with any external party and only visible to the user who owns this context.
+
A link to a TemplateContext that acts as a template for this context.
 
* domain: Context
 
* domain: Context
* value: SharingPolicy
+
* value: template:TemplateContext
 
+
=== template ===
+
A link to a (TemplateContext) context that acts as a template for this context.
+
* domain: h:Context
+
* value: h:Context (must be instance of TemplateContext)
+
  
 
==Attributes from higgins.owl ==
 
==Attributes from higgins.owl ==

Latest revision as of 20:50, 11 October 2011

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}

A vocabulary to describe contexts. Imported by Persona vocabulary.

Files

UML Overview

Context 2.0.108.png

Classes

Context

A context as used in the Persona data model. A container of a set of entities. Contexts are usually created using information from a special kind of context called a template:TemplateContext. The template:TemplateContext contains a ContextPrototype that describes the context to be created. Regular contexts have a template attribute that its the TemplateContext that originally defined it.

  • subClassOf: h:Context
  • 0..1 h:control
  • 0..1 issuer
  • 0..1 template
  • 0..1 settings
  • 1..1 skos:prefLabel

AppContext

A context that provides storage for an add-on app to the portal, a built-in app-like functionality in the portal (e.g. the all-about-me editor app), or an HBX add-on (e.g. dynamically loaded JavaScript app).

  • subClassOf: h:Context

InboxContext

Special "inbox" context that is used to receive notifications from other ADS user accounts. Only one inbox context per ADS user.

  • subClassOf: h:Context

RootContext

A tagging subclass indicating that this context is the "root" context for this user. There should only be one instance of RootContext for each user.

  • subClassOf: Context

Settings

A class to hold setting information for the containing context. Settings are the user's preferences for how to interact with the containing context, as opposed to pure data held by the context. It is expected that contexts that have specific settings will attach them as attributes to an instance of Settings (or some subclass thereof).

  • subClassOf: owl:Thing

Attributes

issuer

The entity (e.g. a business) that defines this context: defines the schema used, defines the meaning of the attributes of the schema, defines the interaction context withing which these attributes gain values. The issuer is often, but not necessarily the entity that makes the attribute value assertions (claims). If the issuer is Equifax, then indeed Equifax is making the claim that the "bearer" of this context is, say, over 21 years of age. As a counter example, the issuer of a context might be Facebook. In this case the values are asserted by the Facebook user, yet Facebook is considered the issuer. This is a required attribute of all Contexts.

  • domain: Context
  • value: URI. The URI is either the domain name that is the authority behind the attribute assertions or
    • The value http://!self - the user has explicitly asserted entities & attributes in this context
    • The value http://!derived - the active client has derived entities & attributes in this context based on observed behavior and/or assertions made by the user in other contexts

settings

A singleton instance of the Settings class.

  • domain: Context
  • value: Settings

template

A link to a TemplateContext that acts as a template for this context.

  • domain: Context
  • value: template:TemplateContext

Attributes from higgins.owl

Repeated here for convenience.

h:control

Inherited from h:Context. See Higgins Data Model 2.0.

  • domain: Context
  • value: h:Context

h:vocabulary

Inherited from h:Context. See Higgins Data Model 2.0.

  • domain: h:Context
  • range: owl:Ontology

Links

Back to the top