Comprehensive Entity Types Reference
Observable: Comprehensive Entity Types Reference
User Intent
"What entity types can Graphlit extract? What properties does each type have?"
Operation
Concept: Observable entity types (Schema.org-based)
GraphQL Enum: ObservableTypes
Entity Types: 20+ types supported
Common Use Cases: Understanding available entities, choosing extraction types, entity properties
All Observable Types
Graphlit supports 20+ entity types, all based on Schema.org standards for interoperability.
Core Entity Types
Person
Type: ObservableTypes.Person
Schema.org: @type: "Person"
Use For: People, authors, contacts, team members, contributors
Properties:
Examples:
"Kirk Marple, CEO of Graphlit"
"Maria Garcia, Software Engineer at Microsoft"
Contact information in emails
Organization
Type: ObservableTypes.Organization
Schema.org: @type: "Organization"
Use For: Companies, teams, departments, organizations
Properties:
Examples:
"Graphlit, a context layer for AI agents"
"Microsoft Corporation"
"Stanford University"
Place
Type: ObservableTypes.Place
Schema.org: @type: "Place"
Use For: Locations, offices, venues, geographic entities
Properties:
Examples:
"Seattle, Washington"
"123 Main St, San Francisco, CA 94105"
"Golden Gate Park"
Event
Type: ObservableTypes.Event
Schema.org: @type: "Event"
Use For: Meetings, conferences, appointments, events
Properties:
Examples:
"AWS re:Invent 2024"
"Q4 Planning Meeting"
"Product Launch Event"
Product
Type: ObservableTypes.Product
Schema.org: @type: "Product"
Use For: Products, tools, services
Properties:
Examples:
"iPhone 15 Pro"
"Tesla Model 3"
"Adobe Photoshop"
Repo
Type: ObservableTypes.Repo
Schema.org: @type: "SoftwareSourceCode"
Use For: GitHub/GitLab repositories, source code repos
Properties:
Examples:
"graphlit/graphlit-samples"
"facebook/react"
"microsoft/vscode"
Software
Type: ObservableTypes.Software
Schema.org: @type: "SoftwareApplication"
Use For: Software products, applications, tools
Properties:
Examples:
"Python 3.11"
"Docker"
"PostgreSQL 15"
Classification Types
Category
Type: ObservableTypes.Category
Schema.org: @type: "Thing" with category
Use For: Topics, classifications, tags, subjects
Properties:
Examples:
"Machine Learning"
"Product Development"
"Financial Reports"
Label
Type: ObservableLabel
Schema.org: @type: "Thing" with label
Use For: Tags, labels, keywords
Properties:
Examples:
"urgent"
"bug"
"high-priority"
Medical Entity Types (12 types)
All fully supported - not beta
MedicalCondition
Type: ObservableTypes.MedicalCondition
Schema.org: @type: "MedicalCondition"
Use For: Diseases, symptoms, diagnoses
Examples:
"Type 2 Diabetes"
"Hypertension"
"COVID-19"
MedicalDrug
Type: ObservableTypes.MedicalDrug
Schema.org: @type: "Drug"
Use For: Medications, pharmaceuticals
Examples:
"Aspirin"
"Metformin"
"Lisinopril"
MedicalDrugClass
Type: ObservableMedicalDrugClass
Schema.org: @type: "DrugClass"
Use For: Drug categories
Examples:
"Antibiotics"
"Beta blockers"
"Statins"
MedicalProcedure
Type: ObservableTypes.MedicalProcedure
Schema.org: @type: "MedicalProcedure"
Use For: Surgeries, medical procedures
Examples:
"Appendectomy"
"MRI Scan"
"Blood Transfusion"
MedicalTest
Type: ObservableTypes.MedicalTest
Schema.org: @type: "MedicalTest"
Use For: Diagnostic tests, lab tests
Examples:
"Complete Blood Count"
"X-Ray"
"Glucose Tolerance Test"
MedicalStudy
Type: ObservableTypes.MedicalStudy
Schema.org: @type: "MedicalStudy"
Use For: Clinical trials, research studies
Examples:
"Phase III Clinical Trial"
"Longitudinal Study on Heart Disease"
MedicalDevice
Type: ObservableMedicalDevice
Schema.org: @type: "MedicalDevice"
Use For: Medical equipment, devices
Examples:
"Pacemaker"
"Insulin Pump"
"Stethoscope"
MedicalTherapy
Type: ObservableMedicalTherapy
Schema.org: @type: "MedicalTherapy"
Use For: Treatments, therapies
Examples:
"Physical Therapy"
"Radiation Therapy"
"Cognitive Behavioral Therapy"
MedicalGuideline
Type: ObservableMedicalGuideline
Schema.org: @type: "MedicalGuideline"
Use For: Clinical guidelines, protocols
Examples:
"AHA Heart Disease Guidelines"
"CDC Vaccination Schedule"
MedicalIndication
Type: ObservableMedicalIndication
Schema.org: @type: "MedicalIndication"
Use For: Reasons for treatment
Examples:
"High Blood Pressure"
"Bacterial Infection"
MedicalContraindication
Type: ObservableMedicalContraindication
Schema.org: @type: "MedicalContraindication"
Use For: Reasons to avoid treatment
Examples:
"Pregnancy"
"Allergy to Penicillin"
TypeScript (Canonical)
Use Cases by Domain
Business Documents
Legal Documents
Technical Documentation
Medical Literature
News Articles
GitHub/Code
All entity types available as enums
extraction_types = [ ObservableTypes.PERSON, ObservableTypes.ORGANIZATION, ObservableTypes.PLACE, ObservableTypes.EVENT, ObservableTypes.PRODUCT, ObservableTypes.REPO, ObservableTypes.SOFTWARE, ObservableTypes.CATEGORY, ObservableTypes.LABEL, # Medical types ObservableTypes.MEDICAL_CONDITION, ObservableTypes.MEDICAL_DRUG, # ... etc ]
Developer Hints
Choose Relevant Types
Schema.org Compliance
Medical Types Fully Supported
Common Issues & Solutions
Issue: Too many entities extracted (noise) Solution: Narrow down entity types
Issue: Missing entities Solution: Check if type is included
Issue: Want custom entity types Solution: Currently limited to Schema.org types
Production Example
Last updated
Was this helpful?