//
ResourcePropertyCollection props = getWsResource().getPropertyCollection();
Element wsrpDoc = props.getResourcePropertyDocument();
QueryExpressionFactory factory = getQueryExpressionFactory();
QueryExpression evaluator = factory.newInstance(dialect);
return evaluator.evaluate(wsrpDoc, query);
}