org.aksw.jenax.path.domain.TraversalProviderTriple Maven / Gradle / Ivy
The newest version!
package org.aksw.jenax.path.domain;
import org.aksw.commons.path.core.Path;
import org.apache.jena.graph.Node;
/**
* The idea is to have domain specific traversal classes which however
* are backed by conventional traversal */
public interface TraversalProviderTriple<
B extends TraversalNode>,
TA extends TraversalAlias,
TD extends TraversalDirection,
TP extends TraversalProperty
>
{
TD root();
TP toProperty(TD x, Node direction);
TA toAlias(TP x, Node property);
TD toValues(TA x, Node alias);
B resolve(Path path);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy