public static function createSPX( core_kernel_classes_Resource $subject,  core_kernel_classes_Property $predicate)
    {
        $returnValue = null;

        
        $termSPXClass = new core_kernel_classes_Class(RulesRdf::CLASS_TERM_SUJET_PREDICATE_X,__METHOD__);
		$label = 'Def Term SPX Label : ' .$subject->getLabel() . ' - ' . $predicate->getLabel();
		$comment = 'Def Term SPX Label : ' .$subject->getUri() . ' ' . $predicate->getUri();
        $SPXResource = core_kernel_classes_ResourceFactory::create($termSPXClass, $label,$comment );
     	$returnValue = new core_kernel_rules_Term($SPXResource->getUri());
     		
     	$subjectProperty = new core_kernel_classes_Property(RulesRdf::PROPERTY_TERM_SPX_SUBJET,__METHOD__);
		$predicateProperty = new core_kernel_classes_Property(RulesRdf::PROPERTY_TERM_SPX_PREDICATE,__METHOD__);
     	$returnValue->setPropertyValue($subjectProperty,$subject->getUri());
     	$returnValue->setPropertyValue($predicateProperty,$predicate->getUri());
        

        return $returnValue;
    }
public static function createSPX( core_kernel_classes_Resource $subject,  core_kernel_classes_Property $predicate)
    {
        $returnValue = null;

        
        $termSPXClass = new core_kernel_classes_Class(RulesRdf::CLASS_TERM_SUJET_PREDICATE_X,__METHOD__);
		$label = 'Def Term SPX Label : ' .$subject->getLabel() . ' - ' . $predicate->getLabel();
		$comment = 'Def Term SPX Label : ' .$subject->getUri() . ' ' . $predicate->getUri();
        $SPXResource = core_kernel_classes_ResourceFactory::create($termSPXClass, $label,$comment );
     	$returnValue = new core_kernel_rules_Term($SPXResource->getUri());
     		
     	$subjectProperty = new core_kernel_classes_Property(RulesRdf::PROPERTY_TERM_SPX_SUBJET,__METHOD__);
		$predicateProperty = new core_kernel_classes_Property(RulesRdf::PROPERTY_TERM_SPX_PREDICATE,__METHOD__);
     	$returnValue->setPropertyValue($subjectProperty,$subject->getUri());
     	$returnValue->setPropertyValue($predicateProperty,$predicate->getUri());
        

        return $returnValue;
    }
public static function createSPX ( core_kernel_classes_Resource $ subject , core_kernel_classes_Property $ predicate ) { $ returnValue = null ; $ termSPXClass = new core_kernel_classes_Class ( RulesRdf :: CLASS_TERM_SUJET_PREDICATE_X , __METHOD__ ) ; $ label = 'Def Term SPX Label : ' . $ subject -> getLabel ( ) . ' - ' . $ predicate -> getLabel ( ) ; $ comment = 'Def Term SPX Label : ' . $ subject -> getUri ( ) . ' ' . $ predicate -> getUri ( ) ; $ SPXResource = core_kernel_classes_ResourceFactory :: create ( $ termSPXClass , $ label , $ comment ) ; $ returnValue = new core_kernel_rules_Term ( $ SPXResource -> getUri ( ) ) ; $ subjectProperty = new core_kernel_classes_Property ( RulesRdf :: PROPERTY_TERM_SPX_SUBJET , __METHOD__ ) ; $ predicateProperty = new core_kernel_classes_Property ( RulesRdf :: PROPERTY_TERM_SPX_PREDICATE , __METHOD__ ) ; $ returnValue -> setPropertyValue ( $ subjectProperty , $ subject -> getUri ( ) ) ; $ returnValue -> setPropertyValue ( $ predicateProperty , $ predicate -> getUri ( ) ) ; return $ returnValue ; }
Short description of method createSPX

@access public
@author firstname and lastname of author, <author@example.org>
@param  Resource $subject
@param  Property $predicate
@return core_kernel_rules_Term
Short description of method createSPX