Package edu.isi.karma.kr2rml

Examples of edu.isi.karma.kr2rml.Prefix


  private void addPrefixes()
  {
    Map<String, String> prefixMap = workspace.getOntologyManager().getPrefixMap();
    for (Entry<String, String> entry :prefixMap.entrySet()) {
      Prefix p = new Prefix(entry.getValue(), entry.getKey());
      r2rmlMapping.addPrefix(p);
    }
  }
View Full Code Here


    }
    KR2RMLMapping kr2rmlMapping = new KR2RMLMapping(id, version);
    Map<String, String> prefixes = model.getNsPrefixMap();
    for(Entry<String, String> prefix : prefixes.entrySet())
    {
      Prefix p = new Prefix(prefix.getKey(), prefix.getValue());
      kr2rmlMapping.addPrefix(p);
    }
   
    SourceTypes sourceType = getSourceType(mappingResource);
    kr2rmlMapping.setColumnNameFormatter(KR2RMLColumnNameFormatterFactory.getFormatter(sourceType));
View Full Code Here

TOP

Related Classes of edu.isi.karma.kr2rml.Prefix

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.