Class LiteralPreference

java.lang.Object
org.aksw.jenax.arq.aggregation.LiteralPreference

public class LiteralPreference extends Object
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
  • Field Details

    • langs

      protected List<String> langs
    • predicates

      protected List<org.apache.jena.graph.Node> predicates
    • preferProperties

      protected boolean preferProperties
  • Constructor Details

    • LiteralPreference

      public LiteralPreference(List<String> langs, List<org.apache.jena.graph.Node> predicates, boolean preferProperties)
  • Method Details

    • getLangs

      public List<String> getLangs()
    • getPredicates

      public List<org.apache.jena.graph.Node> getPredicates()
    • isPreferProperties

      public boolean isPreferProperties()