本文整理了Java中edu.isi.karma.modeling.alignment.Alignment.getGraphBuilder()
方法的一些代码示例,展示了Alignment.getGraphBuilder()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Alignment.getGraphBuilder()
方法的具体详情如下:
包路径:edu.isi.karma.modeling.alignment.Alignment
类名称: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) {
内容来源于网络,如有侵权,请联系作者删除!