All Downloads are FREE. Search and download functionalities are using the official Maven repository.

be.ugent.rml.term.BlankNode Maven / Gradle / Ivy

Go to download

The RMLMapper executes RML rules to generate high quality Linked Data from multiple originally (semi-)structured data sources.

There is a newer version: 7.2.0
Show newest version
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