public SemanticParserAdaptatorImpl() {
   try {
     oConfigOSGi = ConfigBundleOSGiImpl.getInstance(); // OJO
     cmservice = oConfigOSGi.getCmservice();
   } catch (SQLException e) {
     mLogger.error(
         "Component CM perform operation CONSTRUCTOR. Exception: " + e.getMessage() + ".");
   }
 }
  public boolean sparqlUpdateProperty(
      String sThingServiceName, String sDataProperty, String sValue) {
    boolean bResult = true;
    String sNoValue = "";

    if (sValue.equals("true")) sNoValue = "false";
    else sNoValue = "true";

    try {
      cmservice = oConfigOSGi.getCmservice();

      String sQueryUpdate =
          ""
              + "PREFIX BETaaS: <http://www.betaas.eu/2013/betaasOnt#> "
              + "DELETE {BETaaS:"
              + sThingServiceName
              + " BETaaS:"
              + sDataProperty
              + " '"
              + sNoValue
              + "' } "
              + "INSERT  {BETaaS:"
              + sThingServiceName
              + " BETaaS:"
              + sDataProperty
              + " '"
              + sValue
              + "'} "
              + "WHERE { "
              + "} ";
      cmservice.sparqlUpdate(sQueryUpdate);
    } catch (Exception e) {
      mLogger.error(
          "Component CM perform operation subscribe. It has not been executed correctly.");
      return false;
    }

    return bResult;
  }