* @package generis */ interface core_kernel_api_ApiModel extends core_kernel_api_Api { // --- OPERATIONS --- /** * import xml rdf files into the knowledge base * * @access public * @author Bertrand Chevrier, * @param string targetNameSpace * @param string fileLocation * @return boolean */ public function importXmlRdf($targetNameSpace, $fileLocation); /** * returns an xml rdf serialization for uriResource with all meta dat found * inferenced from te knowlege base about this resource * * @access public * @author Bertrand Chevrier, * @param string uriResource * @return string */ public function getResourceDescriptionXML($uriResource); /** * returns metaclasses tat are not subclasses of other metaclasses * * @access public * @author patrick.plichart@tudor.lu * @return core_kernel_classes_ContainerCollection */ public function getMetaClasses(); /** * returns classes that are not subclasses of other classes * * @access public * @author patrick.plichart@tudor.lu * @return core_kernel_classes_ContainerCollection */ public function getRootClasses(); /** * Short description of method getAllClasses * * @access public * @author Bertrand Chevrier, * @return core_kernel_classes_ContainerCollection */ public function getAllClasses(); /** * add a new statment to the knowledge base * * @access public * @author patrick.plichart@tudor.lu * @param string subject * @param string predicate * @param string object * @param string language * @return boolean */ public function setStatement($subject, $predicate, $object, $language); /** * Short description of method removeStatement * * @access public * @author Bertrand Chevrier, * @param string subject * @param string predicate * @param string object * @param string language * @return boolean */ public function removeStatement($subject, $predicate, $object, $language); /** * Short description of method getSubject * * @access public * @author Bertrand Chevrier, * @param string predicate * @param string object * @return core_kernel_classes_Resource */ public function getSubject($predicate, $object); /** * Short description of method getObject * * @access public * @author Bertrand Chevrier, * @param string subject * @param string predicate * @return core_kernel_classes_ContainerCollection */ public function getObject($subject, $predicate); }