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)
AttributeTypeDescription
uristrThe unique URI of the entity.
typesList[str]A list of URIs representing the types of the entity. Defaults to an empty list.
propertiesDict[str, LiteralValue]A dictionary where keys are full predicate URIs and values are LiteralValue objects. Defaults to an empty dictionary.