An ontology for an electronic coin