You will have to change the entity names to the corresponding ones from EOC. e.g. EOC.Event and EOC.Node., Also will have to use the OrionID in the join statements to make sure the data lines up correctly.
You should be able to test your query using SWQL Studio, just make sure you select "EOC" from the Server Type dropdown.