org.aksw.jenax.arq.aggregation.LiteralPreference Maven / Gradle / Ivy
The newest version!
package org.aksw.jenax.arq.aggregation;
import java.util.List;
import org.apache.jena.graph.Node;
/**
* Configuration object that serves as the base for choosing the best rdf term in object position
* from a set of triples.
*
* TODO Add a flag to also match IRIs
*
* @author raven
*
*/
public class LiteralPreference {
protected List langs;
protected List predicates;
protected boolean preferProperties = false;
public LiteralPreference(
List langs,
List predicates,
boolean preferProperties) {
super();
this.langs = langs;
this.predicates = predicates;
this.preferProperties = preferProperties;
}
public List getLangs() {
return langs;
}
public List getPredicates() {
return predicates;
}
public boolean isPreferProperties() {
return preferProperties;
}
}