be.ugent.rml.term.ProvenancedTerm 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.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