public String getDisplayName() { String name; if (getPrefix() == null) { name = getUri(); } else name = prefix + ":" + getLocalName(); if(name == null || name.length() == 0) name = uri; return name; }
String clazzLocalNameWithPrefix = domainURI.getDisplayName(); if(domainURI.getPrefix() == null) clazzLocalNameWithPrefix = domainURI.getUri() + "/" + domainURI.getLocalName(); insertSemanticTypeSuggestion(arr, clazzLocalNameWithPrefix, domainURI.getRdfsLabel(), domainURIStr, domainURIStr, typeURI.getDisplayName(), typeURI.getRdfsLabel(), typeURIStr, probability);
if (atom instanceof ClassAtom) { ClassAtom classAtom = (ClassAtom)atom; logicalForm += classAtom.getClassPredicate().getLocalName(); logicalForm += "("; logicalForm += classAtom.getArgument1().getId(); logicalForm += propertyAtom.getPropertyPredicate().getLocalName(); logicalForm += "("; logicalForm += propertyAtom.getArgument1().getId();
linkObj.put(JsonKeys.targetNodeId.name(), target.getId()); linkObj.put(JsonKeys.label.name(), link.getLabel().getLocalName()); linkObj.put(JsonKeys.rdfsLabel.name(), link.getLabel().getRdfsLabel()); linkObj.put(JsonKeys.rdfsComment.name(), link.getLabel().getRdfsComment());
String hNodeId = ((ColumnNode)n).getHNodeId(); String attId = "att" + String.valueOf(attributeList.size() + 1); Attribute att = new Attribute(attId, this.getUri(), n.getLabel().getLocalName(), IOType.NONE, AttributeRequirement.NONE); att.sethNodeId(hNodeId); attributeList.add(att);
linkObj.put(JsonKeys.sourceNodeId.name(), source.getId()); linkObj.put(JsonKeys.targetNodeId.name(), target.getId()); linkObj.put(JsonKeys.label.name(), link.getLabel().getLocalName()); linkObj.put(JsonKeys.rdfsLabel.name(), link.getLabel().getRdfsLabel()); linkObj.put(JsonKeys.rdfsComment.name(), link.getLabel().getRdfsComment());
String type = lNode.getDatatype().getLocalName(); if(type != null && type.length() > 0) type = lNode.getDatatype().getDisplayName();
clazzLocalNameWithPrefix = domainURI.getUri() + "/" + domainURI.getLocalName();