OpenRefine (formerly Google Refine) is a powerful tool for working with messy data: cleaning it; transforming it from one format into another; and extending it with web services and external data.
For matching your data against ancient Roman consulates in the GODOT graph you can use the GODOT OpenRefine Reconciliation Service, the URL for this API is: https://godot.date/api/openrefine/reconcile. Results (GODOT URIs) are ordered by score.