private static String getOrGenerateOperationLabel(QuerySolution row) {
        String result;
        String svcLabel = getOrGenerateServiceLabel(row);
        String opLabel = getOperationLabel(row);
        if (opLabel == null) {
            URL opUrl = getOperationUrl(row);
            result = URIUtil.generateItemLabel(svcLabel, opUrl);
        } else {
            result = svcLabel + "." + opLabel;
        }
        return result;
    }
private static String getOrGenerateOperationLabel ( QuerySolution row ) { String result ; String svcLabel = getOrGenerateServiceLabel ( row ) ; String opLabel = getOperationLabel ( row ) ; if ( opLabel == null ) { URL opUrl = getOperationUrl ( row ) ; result = URIUtil . generateItemLabel ( svcLabel , opUrl ) ; } else { result = svcLabel + "." + opLabel ; } return result ; }
Obtain or generate a label for an operation.

TODO: Deal better with WSDL naming convention

@param row the result from a SPARQL query
@return