NamespaceSupport namespaces = new NamespaceSupport();
namespaces.declarePrefix("sa", SANS);
namespaces.declarePrefix("geo", GEONS);
namespaces.declarePrefix("xlink", XLINK.NAMESPACE);
final FilterFactory2 ff = new FilterFactoryImplNamespaceAware(namespaces);
final PropertyName propertyName = ff.property(queryProperty);
final Literal literal = ff.literal(queryLiteral);
final Filter filter = ff.equals(propertyName, literal);
FeatureCollection<FeatureType, Feature> features = (FeatureCollection<FeatureType, Feature>) fSource
.getFeatures(filter);
// did the query work?