Example #1
0
 public static void readDataset(DatasetGraph dataset, String uri) {
   Lang lang = Lang.guess(uri);
   readDataset(dataset, uri, lang);
 }
 @Override
 protected Lang selectLang(String filename, Lang nquads) {
   return Lang.guess(filename, Lang.NQUADS);
 }
Example #3
0
 // Reuse FileManager and LocationMapper.
 public static void readGraph(Graph graph, String uri) {
   Lang lang = Lang.guess(uri);
   readGraph(graph, uri, lang);
 }