1. A computer readable storage device storing a program of instructions executable by a machine to perform a method of integrating diverse sources of data and data streams, the method comprising: selecting a scenario for refinement based on a topic, the scenario comprising a text document that describes the topic to be examined, the scenario identifying one or more downstream data users and uses that drive said refinement of the scenario; creating a multi-relational directed graph based on the scenario; identifying and converting resources in accordance with the scenario and updating the multi-directed graph based on the converted resources; identifying data feeds in accordance with the scenario and updating the multi-directed graph based on the data feeds; creating detectors operable to continuously provide data related to the topic, the detectors receiving said data from said data feeds; identifying analytical routines that compare information in said data to the scenario and updating the multi-directed graph using the analytical routines, the analytical routines comprising sensors that subscribe to said detectors and responsive to receiving said data, perform at least one of: comparing, based on alignment, sequences in a data stream to sequences in entities of the multi-relational directed graph, and adding one or more statements to the multi-directed graph based on finding a match; performing analysis among the entities, literals associated with the scenario and represented as a node in the multi-directed graph and ontologies associated with the scenario and linked to the multi-directed graph, wherein one or more relationship statements are generated between two or more of an entity, a literal, and an ontology in the multi-directed graph; and linking the entities to samples corresponding to events; and identifying data outputs in accordance with the scenario at least based on one of the one or more statements and the one or more relationship statements and defining queries to produce the data outputs from the multi-directed graph, the method further comprising consuming one or more messages from one or more of the sensors indicating a match in said data, the consuming performed by a controller comprising a state machine, and the controller publishing an advisory responsive to finding that all conditions in the scenario are met based on said one or more consumed messages.