Class RelationOps
java.lang.Object
org.aksw.jenax.sparql.fragment.impl.RelationOps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Fragment2forAllHavingTheSameValue(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.static Fragment2from(org.apache.jena.sparql.path.Path path)
-
Constructor Details
-
RelationOps
public RelationOps()
-
-
Method Details
-
from
-
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:
-