Class RelationOps

java.lang.Object
org.aksw.jenax.sparql.fragment.impl.RelationOps

public class RelationOps extends Object
  • Constructor Details

    • RelationOps

      public RelationOps()
  • Method Details

    • from

      public static Fragment2 from(org.apache.jena.sparql.path.Path path)
    • forAllHavingTheSameValue

      public static Fragment2 forAllHavingTheSameValue(Fragment2 role, org.aksw.commons.collections.generator.Generator<org.apache.jena.sparql.core.Var> baseGenerator)
      Takes a sparql relation and returns a new one which only links an s with a t if all t's are the same. Example: All teams whose members were all born in the same country: x, y: x forAllHavingTheSameValue(hasMembers/birthPlace/country) y
      Parameters:
      relation -
      Returns: