def add_capability(self,capability=None,uri=None,name=None):
        if (capability is not None):
            name = capability.capability_name
            if (capability.uri is not None):
                uri=capability.uri
        self.add( Resource(uri=uri,capability=name) )
Specific add function for capabilities
dataset/ETHPy150Open resync/resync/resync/capability_list.py/CapabilityList.add_capability