edu.isi.karma.modeling.alignment.Alignment.getGraphBuilder()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(129)

本文整理了Java中edu.isi.karma.modeling.alignment.Alignment.getGraphBuilder()方法的一些代码示例,展示了Alignment.getGraphBuilder()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Alignment.getGraphBuilder()方法的具体详情如下:
包路径:edu.isi.karma.modeling.alignment.Alignment
类名称:Alignment
方法名:getGraphBuilder

Alignment.getGraphBuilder介绍

暂无

代码示例

代码示例来源:origin: usc-isi-i2/Web-Karma

ColumnNode columnNode = (ColumnNode)node;
String columnName = getClassName(columnNode);
List<LabeledLink> links = alignment.getGraphBuilder().getIncomingLinks(node.getId());
for(LabeledLink link : links) {
  String property = "`" + getPropertyName(link.getLabel()) + "`";

代码示例来源:origin: usc-isi-i2/Web-Karma

List<LabeledLink> columnNodeIncomingLinks = alignment.getGraphBuilder().getIncomingLinks(columnNode.getId());
if (columnNodeIncomingLinks != null) { 
  for(LabeledLink oldIncomingLinkToColumnNode : columnNodeIncomingLinks) {

代码示例来源:origin: usc-isi-i2/Web-Karma

this.getGraphBuilder().addLink(source, target, newLink); // returns false if link already exists
tree.addEdge(source, target, newLink);
tree.setEdgeWeight(newLink, l.getWeight());

代码示例来源:origin: usc-isi-i2/Web-Karma

ColumnNode columnNode = alignment.getColumnNodeByHNodeId(hNode.getId());
List<LabeledLink> columnNodeIncomingLinks = alignment.getGraphBuilder().getIncomingLinks(columnNode.getId());
if (columnNodeIncomingLinks == null || columnNodeIncomingLinks.isEmpty()) { // SemanticType not yet assigned
  Label propertyLabel = new Label(ns + columnName, ns, "karma");

代码示例来源:origin: usc-isi-i2/Web-Karma

modelLearner = new ModelLearner(alignment.getGraphBuilder(), steinerNodes);
else
  modelLearner = new ModelLearner(ontologyManager, alignment.getLinksByStatus(LinkStatus.ForcedByUser), steinerNodes);

代码示例来源:origin: usc-isi-i2/Web-Karma

columnNode.setRdfLiteralType(rdfLiteralType);
columnNode.setLanguage(language);
List<LabeledLink> columnNodeIncomingLinks = alignment.getGraphBuilder().getIncomingLinks(columnNode.getId());
if (columnNodeIncomingLinks != null) { 
  for(LabeledLink oldIncomingLinkToColumnNode : columnNodeIncomingLinks) {

相关文章