Skip to content

Latest commit

 

History

History
357 lines (241 loc) · 8.18 KB

File metadata and controls

357 lines (241 loc) · 8.18 KB

Class: UserAction

Immutable record of a curator action on an entity mention resolution.

Stored in the User Action Log for traceability and training.

__

NOT related to ERE messages; represents curator intent only.

__

URI: ere:UserAction

 classDiagram
    class UserAction
    click UserAction href "../UserAction/"
      UserAction : about_entity_mention
        
          
    
        
        
        UserAction --> "1" EntityMentionIdentifier : about_entity_mention
        click EntityMentionIdentifier href "../EntityMentionIdentifier/"
    

        
      UserAction : action_type
        
          
    
        
        
        UserAction --> "1" UserActionType : action_type
        click UserActionType href "../UserActionType/"
    

        
      UserAction : actor
        
      UserAction : candidates
        
          
    
        
        
        UserAction --> "1..*" ClusterReference : candidates
        click ClusterReference href "../ClusterReference/"
    

        
      UserAction : created_at
        
      UserAction : id
        
      UserAction : metadata
        
      UserAction : selected_cluster
        
          
    
        
        
        UserAction --> "0..1" ClusterReference : selected_cluster
        click ClusterReference href "../ClusterReference/"
    

        
      
Loading

Slots

Name Cardinality and Range Description Inheritance
id 1
String
Unique audit trail entry identifier direct
about_entity_mention 1
EntityMentionIdentifier
The entity mention the curator acted upon direct
candidates 1..*
ClusterReference
The candidate clusters presented to the curator for selection direct
selected_cluster 0..1
ClusterReference
The cluster selected by the curator (if action was ACCEPT_TOP direct
action_type 1
UserActionType
The type of action the curator performed direct
actor 1
String
User ID or identifier of the curator who performed the action direct
created_at 1
Datetime
Timestamp when the curator action was recorded direct
metadata 0..1
String
JSON metadata providing context (e direct

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self ere:UserAction
native ere:UserAction

LinkML Source

Direct

Details ```yaml name: UserAction description: 'Immutable record of a curator action on an entity mention resolution.

Stored in the User Action Log for traceability and training.

NOT related to ERE messages; represents curator intent only.

' from_schema: https://data.europa.eu/ers/schema/ere attributes: id: name: id description: Unique audit trail entry identifier from_schema: https://data.europa.eu/ers/schema/ers domain_of: - Decision - UserAction required: true about_entity_mention: name: about_entity_mention description: The entity mention the curator acted upon from_schema: https://data.europa.eu/ers/schema/ers domain_of: - Decision - UserAction range: EntityMentionIdentifier required: true candidates: name: candidates description: 'The candidate clusters presented to the curator for selection.

  Ordered by confidence (same as shown in curation UI).

  '
from_schema: https://data.europa.eu/ers/schema/ers
domain_of:
- EntityMentionResolutionResponse
- Decision
- UserAction
range: ClusterReference
required: true
multivalued: true

selected_cluster: name: selected_cluster description: 'The cluster selected by the curator (if action was ACCEPT_TOP

  or ACCEPT_ALTERNATIVE). NULL if action was REJECT_ALL.

  '
from_schema: https://data.europa.eu/ers/schema/ers
rank: 1000
domain_of:
- UserAction
range: ClusterReference

action_type: name: action_type description: The type of action the curator performed from_schema: https://data.europa.eu/ers/schema/ers rank: 1000 domain_of: - UserAction range: UserActionType required: true actor: name: actor description: User ID or identifier of the curator who performed the action from_schema: https://data.europa.eu/ers/schema/ers rank: 1000 domain_of: - UserAction required: true created_at: name: created_at description: Timestamp when the curator action was recorded from_schema: https://data.europa.eu/ers/schema/ers domain_of: - Decision - UserAction range: datetime required: true metadata: name: metadata description: 'JSON metadata providing context (e.g., curator notes, reasoning).

  '
from_schema: https://data.europa.eu/ers/schema/ers
rank: 1000
domain_of:
- UserAction
</details>

### Induced

<details>
```yaml
name: UserAction
description: 'Immutable record of a curator action on an entity mention resolution.

  Stored in the User Action Log for traceability and training.


  NOT related to ERE messages; represents curator intent only.

  '
from_schema: https://data.europa.eu/ers/schema/ere
attributes:
  id:
    name: id
    description: Unique audit trail entry identifier
    from_schema: https://data.europa.eu/ers/schema/ers
    alias: id
    owner: UserAction
    domain_of:
    - Decision
    - UserAction
    range: string
    required: true
  about_entity_mention:
    name: about_entity_mention
    description: The entity mention the curator acted upon
    from_schema: https://data.europa.eu/ers/schema/ers
    alias: about_entity_mention
    owner: UserAction
    domain_of:
    - Decision
    - UserAction
    range: EntityMentionIdentifier
    required: true
  candidates:
    name: candidates
    description: 'The candidate clusters presented to the curator for selection.

      Ordered by confidence (same as shown in curation UI).

      '
    from_schema: https://data.europa.eu/ers/schema/ers
    alias: candidates
    owner: UserAction
    domain_of:
    - EntityMentionResolutionResponse
    - Decision
    - UserAction
    range: ClusterReference
    required: true
    multivalued: true
  selected_cluster:
    name: selected_cluster
    description: 'The cluster selected by the curator (if action was ACCEPT_TOP

      or ACCEPT_ALTERNATIVE). NULL if action was REJECT_ALL.

      '
    from_schema: https://data.europa.eu/ers/schema/ers
    rank: 1000
    alias: selected_cluster
    owner: UserAction
    domain_of:
    - UserAction
    range: ClusterReference
  action_type:
    name: action_type
    description: The type of action the curator performed
    from_schema: https://data.europa.eu/ers/schema/ers
    rank: 1000
    alias: action_type
    owner: UserAction
    domain_of:
    - UserAction
    range: UserActionType
    required: true
  actor:
    name: actor
    description: User ID or identifier of the curator who performed the action
    from_schema: https://data.europa.eu/ers/schema/ers
    rank: 1000
    alias: actor
    owner: UserAction
    domain_of:
    - UserAction
    range: string
    required: true
  created_at:
    name: created_at
    description: Timestamp when the curator action was recorded
    from_schema: https://data.europa.eu/ers/schema/ers
    alias: created_at
    owner: UserAction
    domain_of:
    - Decision
    - UserAction
    range: datetime
    required: true
  metadata:
    name: metadata
    description: 'JSON metadata providing context (e.g., curator notes, reasoning).

      '
    from_schema: https://data.europa.eu/ers/schema/ers
    rank: 1000
    alias: metadata
    owner: UserAction
    domain_of:
    - UserAction
    range: string