Getting started
Installation
Section titled “Installation”pip install time-agnostic-libraryRequirements
Section titled “Requirements”- Python >= 3.10
- A SPARQL triplestore containing RDF data with OCDM v2.0.1 provenance metadata
Quick example
Section titled “Quick example”import jsonfrom time_agnostic_library.agnostic_entity import AgnosticEntity
with open("./config.json") as f: config = json.load(f)
entity = AgnosticEntity(res="https://example.com/br/1", config=config)history, prov_metadata = entity.get_history(include_prov_metadata=True)The library provides five types of queries:
- Version materialization - retrieve entity state at a given time
- Structured queries - run SPARQL queries on specific or all versions
- Delta queries - track changes over time