You study and note recurring themes and when you have enough of those themes you form a theory and as you form a theory you develop an ontology to label the elements of that theory.Back to Joe's example...A computer is an electronic device and I assume from his description that the beings examining the computer at least understood electricity and magnetism.