public ParameterizedSparqlString(String command, QuerySolutionMap map, String base, PrefixMapping prefixes) {
if (command != null)
this.cmd.append(command);
this.setParams(map);
this.baseUri = (base != null && !base.equals("") ? base : null);
this.prefixes = new PrefixMappingImpl();
if (prefixes != null)
this.prefixes.setNsPrefixes(prefixes);
}