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

be.ugent.rml.term.ProvenancedTerm 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.MappingInfo;
import be.ugent.rml.metadata.Metadata;

public class ProvenancedTerm {

    private Term term;
    private Metadata metadata;

    public ProvenancedTerm(Term term, Metadata metadata) {
        this.term = term;
        this.metadata = metadata;
    }

    public ProvenancedTerm(Term term, MappingInfo mappingInfo) {
        this.term = term;
        this.metadata = new Metadata();
        this.metadata.setSourceMap(mappingInfo.getTerm());
    }

    public ProvenancedTerm(Term term) {
        this.term = term;
    }

    public Term getTerm() {
        return term;
    }

    public Metadata getMetadata() {
        return metadata;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy