src/GraphBuilder.php
public function service( $service, $subject, $predicate = null, $object = null ) {
		$graphBuilder = $this->getGraphBuilder( $subject, $predicate, $object );
		$this->services[$service] = $graphBuilder->getSPARQL();
		return $this;
	}
public function service( $service, $subject, $predicate = null, $object = null ) {
		$graphBuilder = $this->getGraphBuilder( $subject, $predicate, $object );
		$this->services[$service] = $graphBuilder->getSPARQL();
		return $this;
	}
public function service ( $ service , $ subject , $ predicate = null , $ object = null ) { $ graphBuilder = $ this -> getGraphBuilder ( $ subject , $ predicate , $ object ) ; $ this -> services [ $ service ] = $ graphBuilder -> getSPARQL ( ) ; return $ this ; }
Adds the given graph or triple as an services condition.

@param string|GraphBuilder $subject
@param string|null $predicate
@param string|null $object
@return self
@throws InvalidArgumentException
Adds the given graph or triple as an services condition .