be.ugent.rml.term.BlankNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rmlmapper Show documentation
Show all versions of rmlmapper Show documentation
The RMLMapper executes RML rules to generate high quality Linked Data from multiple originally (semi-)structured data sources.
package be.ugent.rml.term;
import be.ugent.rml.Utils;
public class BlankNode extends AbstractTerm {
public BlankNode(String suffix) {
super(suffix);
}
public BlankNode() { super(Utils.randomString(10)); }
@Override
public String toString() {
return "_:" + this.getValue();
}
@Override
public boolean equals(Object o) {
if (o instanceof BlankNode) {
return o.toString().equals(toString());
} else {
return false;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy