From fa0a786f9f3555102a6fe075be61c7a6bcbcb73f Mon Sep 17 00:00:00 2001 From: Jacky Date: Tue, 10 Apr 2018 21:29:21 -0400 Subject: [PATCH] set n3 format --- main/webapp/modules/core/MOD-INF/controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/webapp/modules/core/MOD-INF/controller.js b/main/webapp/modules/core/MOD-INF/controller.js index 23e5304eb..c37ec5723 100644 --- a/main/webapp/modules/core/MOD-INF/controller.js +++ b/main/webapp/modules/core/MOD-INF/controller.js @@ -210,7 +210,8 @@ function registerImporting() { IM.registerFormat("text/line-based/fixed-width", "Fixed-width field text files", "FixedWidthParserUI", new Packages.com.google.refine.importers.FixedWidthImporter()); - IM.registerFormat("text/rdf+n3", "RDF/N3 files", "RdfTriplesParserUI", new Packages.com.google.refine.importers.RdfTripleImporter()); + IM.registerFormat("text/rdf+n3", "RDF/N3 files", "RdfTriplesParserUI", + new Packages.com.google.refine.importers.RdfTripleImporter(Packages.com.google.refine.importers.RdfTripleImporter.Mode.N3)); IM.registerFormat("text/xml", "XML files", "XmlParserUI", new Packages.com.google.refine.importers.XmlImporter()); IM.registerFormat("binary/text/xml/xls/xlsx", "Excel files", "ExcelParserUI", new Packages.com.google.refine.importers.ExcelImporter());