Introduction
In the current digital landscape, users are increasingly caught in "data traps." Personal information—ranging from location history and emails to contact lists and calendars—is fragmented across various commercial silos like Google, Microsoft, and Apple. While these services excel at data ingestion, querying across them remains a significant challenge. For instance, answering a simple question like "Where did I have lunch with Alice last week?" requires the manual alignment of calendar events, contact details, and GPS history.
To address this, the authors present Thymeflow, an open-source framework designed to integrate fragmented personal data into a single, locally-hosted Personal Knowledge Base (PKB). By centralizing this data on a user's own machine, Thymeflow enables complex cross-service querying while maintaining strict privacy standards.
System Architecture
Thymeflow adopts a warehousing approach to data integration, pulling information from external sources via standard protocols such as IMAP and CalDAV and transforming it into a unified Resource Description Framework (RDF) format.
The architecture relies on two primary components:
- Synchronizers: These modules periodically fetch updates from various sources and convert them into RDF "deltas."
- Enricher Pipeline: A sequence of modules that perform inference and alignment on the raw data to create a cohesive knowledge graph.
Enrichment and Alignment Techniques
Two novel enrichment techniques are central to the framework's ability to resolve data across disparate silos:
Agent Matching
Personal data is often sparse, with individuals represented by different email addresses, nicknames, or partial names across different services. The authors developed the AgentMatch algorithm to link these various "facets" to a single person entity. Unlike standard graph-alignment algorithms that require dense attribute sets, AgentMatch utilizes Inverse Document Frequency (IDF) weights and string similarity measures (such as Levenshtein or Jaro-Winkler) to identify matches even in sparse datasets.
Spatiotemporal Alignment
Raw GPS data is semantically poor on its own. Thymeflow processes GPS points by clustering them into "stays" (stationary periods) and "moves" (transitions). By using Hellinger distance to account for GPS inaccuracy, the system can align these detected stays with calendar events. This process provides semantic context to location data, transforming a set of coordinates into a meaningful event, such as a business meeting or a social gathering.
Evaluation and Results
The researchers evaluated Thymeflow using two long-term, real-world datasets from volunteers ("Angela" and "Barack"), comprising hundreds of thousands of location points and thousands of emails and calendar events.
The results demonstrate that the custom algorithms significantly outperform existing commercial and state-of-the-art solutions. Specifically, the AgentMatch algorithm (using Jaro-Winkler and IDF) achieved an F1-measure of 0.949, surpassing both Google’s native duplicate detection and the PARIS alignment algorithm. Furthermore, the system's geocoding method achieved an F1-score of 66.7% in identifying (event, stay) pairs, more than doubling the performance of Google Timeline (29.4%) on the same task.
Conclusion and Future Work
Thymeflow demonstrates the feasibility of a local-first, privacy-preserving Personal Knowledge Base. While the system effectively integrates semi-structured metadata, several challenges remain. Restrictive APIs from major social platforms continue to hinder data ingestion. Future work will focus on implementing Natural Language Processing (NLP) to extract entities from the unstructured bodies of messages and developing more intuitive natural language interfaces to replace the current requirement for SPARQL queries. Ultimately, Thymeflow represents a significant step toward returning digital agency to the user.
Summary updated