Metrics-based comparison of OWL and XML for representing and querying cognitive radio capabilities