1. A method for automating exploration or production of subterranean resources, comprising: representing a first body of knowledge relevant to exploration or production of subterranean resources in an ontology, the first body of knowledge comprises a Bayesian Belief Network comprising conditional probabilities linking exploration or production problems to observable or detectable physical quantities; representing a second body of knowledge relevant to exploration or production of subterranean resources in the ontology, wherein the second body of knowledge is a stochastic grammar comprising rules to interpret a data stream in terms of activities performed during an exploration or production operation; producing a first interpretation product from the first body of knowledge, wherein the first interpretation product comprises a first set of indexed values; producing a second interpretation product from the second body of knowledge, wherein the second interpretation product comprises a second set of indexed values; correlating the first and second interpretation products to produce rules reflecting how the first set of indexed values affect the second set of indexed values; and using the rules to automate at least one task associated with the exploration or production of subterranean resources.