LLM Persona Ontology

The LLM Persona Ontology provides a structured model for representing personas used to guide, configure, describe, or evaluate LLM-based agents and roles. It organises persona information around the identity and behaviour pillars.

This ontology defines 7 classes and 91 properties.

See it on GitHub
The LLM Persona Ontology provides a structured model for representing personas used to guide, configure, describe, or evaluate LLM-based agents and roles. It models both Identity (demographic, biographical, and social characteristics) and Behaviour (personality, goals, preferences, reasoning styles, and behavioural constraints), enabling personas to be represented, queried, compared, and edited independently of natural-language prompts. Rather than describing personas as free-text prompts, it encodes identity, behavioural characteristics, preferences, goals, and constraints as structured RDF knowledge. This enables semantic querying, validation, comparison, reuse, and automatic generation of persona prompts while remaining interoperable with existing Semantic Web vocabularies.
An example of a persona represented in the ontology is shown below:
 ex:persona a llmp:LLMPersona ;
  llmp:hasAgentType llmpv:NaturalPerson ;
  llmp:hasApparentAge "58"^^xsd:integer ;
  llmp:hasOccupation ex:Artist ;
  llmp:hasHomeLocation ex:NewYork ;
  llmp:hasInterest ex:Volunteering ;
  llmp:hasSpecies ex:Human .

LLM Persona properties

Object properties · has persona feature Datatype properties · has persona literal feature
HAS IDENTITY FEATURE HAS IDENTITY LITERAL FEATURE
has personal identity feature has personal identity literal feature
has agent type(skos:Concept) has alias(string)
has apparent age(schema:QuantitativeValue) has birth date(date)
has birth place(schema:Place) has birth name(string)
has gender(skos:Concept) has death date(date)
has home location(schema:Place) has family name(string)
has nationality(schema:Country) has full name(string)
has occupation(schema:Occupation) has given name(string)
has species(skos:Concept) has personal description(string)
has residence description(string)
has biographical identity feature has biographical identity literal feature
has career position(bio:Position) has backstory(string)
has life event(bio:Event)
has social identity feature has social identity literal feature
has affiliation(foaf:Group ∪ foaf:Organization) follows social norm(string)
has audience relation role(skos:Concept) has social boundary(string)
has community(llmp:Community) has social description(string)
has relationship(foaf:Person)
has social status(string)
has social alignment(skos:Concept)
has social role(schema:Role)
HAS BEHAVIOR FEATURE HAS BEHAVIOR LITERAL FEATURE
has decision feature has decision literal feature
has collaboration preference(skos:Concept) has autonomy level(decimal)
has decision speed(skos:Concept) has confidence level(decimal)
has risk attitude(skos:Concept) has information-seeking level(decimal)
uses decision criterion(skos:Concept) has behavior description(string)
has goal(llmp:Goal) has behavior constraint literal feature
has need(llmp:Need) may do(string)
has preference(llmp:PreferenceStatement) must do(string)
has interest(llmp:PreferenceStatement) must not do(string)
has preferred interaction mode(llmp:PreferenceStatement) out-of-character behavior(string)
has trait assessment(llmp:TraitAssessment) should do(string)
should not do(string)
has task behavior literal feature
has attention pattern(string)
has error-handling behavior(string)
has execution behavior(string)
has learning behavior(string)
has persistence level(decimal)
has planning behavior(string)
has tool-use behavior(string)

Summary

Classes

Properties

Classes

Properties