Skip to content

Getting started

Terminal window
pip install time-agnostic-library
  • Python >= 3.10
  • A SPARQL triplestore containing RDF data with OCDM v2.0.1 provenance metadata
import json
from 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: