Models
Entity
The Entity model represents an entity with full URI and type information.
See the documentation for the Entity concept.
class Entity(BaseModel):
uri: str
types: List[str] = Field(default_factory=list)
properties: Dict[str, LiteralValue] = Field(default_factory=dict)| Attribute | Type | Description |
|---|---|---|
uri | str | The unique URI of the entity. |
types | List[str] | A list of URIs representing the types of the entity. Defaults to an empty list. |
properties | Dict[str, LiteralValue] | A dictionary where keys are full predicate URIs and values are LiteralValue objects. Defaults to an empty dictionary. |