This is slightly involved.
If you have a triple (“v:A”, “v:B”, “v:C”) and I want to found out when it was last updated, you can query the commit graphs for the time. Given a COMMIT_ID, the following query will tell you whether the triple was updated in that specific transaction:
let v = "f92h1w1ewizmsm6v6gdhaguu9le5uap"
using("admin/knowledgex/local/commit/" + v).added_triple("v:A", "v:B", "v:C"),
using("_commits").triple("v:Commit IRI", "ref:commit_id", v).triple("v:Commit IRI", "ref:commit_timestamp", "v:Timestamp")
If this returns any results, the triple was updated in this commit and the variable v:Timestamp will contain the timestamp
What makes it slightly intricate is that you have to assemble the query from another query which gives you all the relevant commit ids to check.
There are a bunch of library queries which return lists of commits depending on your exact situation:
WOQL.lib().active_commit_id(branch, timestamp) will give you the commit id that was active at any particular / branch / time combination, they you can use:
WOQL.lib().previous_commits(commit_id, count) and WOQL.lib().next_commits(commit_id, branch, count) to navigate the commit graph. You can combine these queries as so:
WOQL.lib().previous_commits("v:Commit ID", 100)