1. A method executed by a computer system of executing a digitally encoded database query comprised of a representation expressed in a first query language where the first query language operates on a first type of data organized as a graph, where the query is executed on a second type of data organized as a relational database with a corresponding database schema, by using the computer system to automatically translate the query representation expressed in the first query language into a digitally encoded query representation expressed in a second query language that operates on the relational database by using a subset of the contents of a data structure representing a mapping from the relational database schema to a synthetic domain model that is a putative ontology automatically created from the relational schema.