Skip to content

paulduchesne/state

Repository files navigation

STATE

Introduction

Inspired as much by Annie Ernaux and Karl Ove Knausgaard as by Jer Thorp or Tim Berners-Lee, State is the latest iteration of a longstanding interest in modelling data into a personal knowledge graph. This is intended as a technical exercise, potentially personally useful, and as a counterpoint to the clandestine accumulation of such data by others.

The term "state" refers both to the representation of "states" of myself, and as a platform where I can "state" information.

Utilities

There are a number of helper functions for adding data to the graph.

# add a person.

state.person(
    label="Adelheid Heftberger", 
    comment="Austrian researcher.", 
    member="Bundesarchiv", 
    wikidata="Q42369365",
    )

# add a location.

state.location(
    label="Rabat", 
    comment="Capital city of Morocco.", 
    wikidata="Q3551",
    )

# add a reading event.

state.reading_event(
    reader_id='0ef53722-52ca-49c8-873d-3549a74914e8', 
    book_label='This Is for Everyone',
    book_isbn='9781035023684',
    author_label='Tim Berners-Lee',
    author_decription='English computer scientist.',
    author_wikidata='Q80',
    event_start='2025-12-22',
    event_end='2025-12-24')

Example

Paul Duchesne

License

CC0 1.0 Universal

About

Personal Knowledge Graph

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published