be.ugent.rml.PredicateObjectGraphMapping 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;
import be.ugent.rml.functions.MultipleRecordsFunctionExecutor;
import be.ugent.rml.term.Term;
import java.util.ArrayList;
import java.util.List;
public class PredicateObjectGraphMapping {
private final MappingInfo predicateMappingInfo;
private final MappingInfo objectMappingInfo;
private final MappingInfo graphMappingInfo;
private final List joinConditions;
private Term parentTriplesMap;
public PredicateObjectGraphMapping(MappingInfo predicateMappingInfo, MappingInfo objectMappingInfo, MappingInfo graphMappingInfo) {
this.predicateMappingInfo = predicateMappingInfo;
this.graphMappingInfo = graphMappingInfo;
this.joinConditions = new ArrayList();
this.objectMappingInfo = objectMappingInfo;
}
public Term getParentTriplesMap() {
return parentTriplesMap;
}
public List getJoinConditions() {
return joinConditions;
}
public void setParentTriplesMap(Term parentTriplesMap) {
this.parentTriplesMap = parentTriplesMap;
}
public void addJoinCondition(MultipleRecordsFunctionExecutor condition) {
joinConditions.add(condition);
}
public MappingInfo getPredicateMappingInfo() {
return predicateMappingInfo;
}
public MappingInfo getObjectMappingInfo() {
return objectMappingInfo;
}
public MappingInfo getGraphMappingInfo() {
return graphMappingInfo;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy