org.linkeddatafragments.fragments.tpf.ITriplePatternFragmentRequest Maven / Gradle / Ivy
package org.linkeddatafragments.fragments.tpf;
import org.linkeddatafragments.fragments.ILinkedDataFragmentRequest;
/**
* Represents a request of a Triple Pattern Fragment (TPF).
*
* @param type for representing constants in triple patterns
* (i.e., URIs and literals)
* @param type for representing named variables in triple patterns
* @param type for representing anonymous variables in triple
* patterns (i.e., variables denoted by a blank node)
*
* @author Olaf Hartig
*/
public interface ITriplePatternFragmentRequest
extends ILinkedDataFragmentRequest
{
/**
*
*/
public final static String PARAMETERNAME_SUBJ = "subject";
/**
*
*/
public final static String PARAMETERNAME_PRED = "predicate";
/**
*
*/
public final static String PARAMETERNAME_OBJ = "object";
/**
* Returns the subject position of the requested triple pattern.
* @return
*/
ITriplePatternElement getSubject();
/**
* Returns the predicate position of the requested triple pattern.
* @return
*/
ITriplePatternElement getPredicate();
/**
* Returns the object position of the requested triple pattern.
* @return
*/
ITriplePatternElement getObject();
}