public LoggerStatus log(InputStream xliff, String filename,LoggerJena loggerJena) {

        LoggerStatus results = new LoggerStatus();

        try {
            // Parse the xliff into an XML DOM
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            factory.setNamespaceAware(true);
            DocumentBuilder parser = factory.newDocumentBuilder();

            results.enterStage(LoggerStatus.Stage.Parsing);
            Document xliffDoc = parser.parse(xliff);
            DOMSource xliffSource = new DOMSource(xliffDoc);

            // Validate it, if required
            if (this.validate) {
                results.enterStage(LoggerStatus.Stage.Validating);

                String validationErrors = xliffValidator.validate(xliffSource);
                if (validationErrors != null) {
                    results.append(validationErrors);
                    return results;
                }
            }

            // Convert the XLIFF to N3
            results.enterStage(LoggerStatus.Stage.Converting);
            StringWriter out = new StringWriter();
            converter.convert(xliffSource, filename, out);
            String n3Output = out.toString();
            results.append(n3Output);
            
             //Process the N3
            results.enterStage(LoggerStatus.Stage.Merging);
          //  graph.take(new StringReader(n3Output), RDFFormat.N3);
            System.out.println("===========n3Output==========="+n3Output+loggerJena.getUrl()+"/"+loggerJena.getrepositoryId()+"/sparql".trim());
             graph.takeJena(new StringReader(n3Output),loggerJena.getUrl()+"/"+loggerJena.getrepositoryId()+"/sparql",loggerJena.getUrl()+"/"+loggerJena.getrepositoryId()+"/update");
            results.setSucceeded(true);
            
        } catch (Exception ex) {
            results.reportException(ex);
            Logger.getLogger(LoggerJena.class.getName()).log(Level.SEVERE, null, ex);
        }

        return results;
    }