protected function load($modelId, $file) {
        
        $easyRdf = new EasyRdf_Graph();
        $easyRdf->parseFile($file);
        
        foreach ($easyRdf->toRdfPhp() as $subject => $propertiesValues){
            foreach ($propertiesValues as $predicate => $values){
                foreach ($values as $k => $v) {
                    $triple = new core_kernel_classes_Triple();
                    $triple->modelid = $modelId;
                    $triple->subject = $subject;
                    $triple->predicate = $predicate;
                    $triple->object = $v['value'];
                    $triple->lg = isset($v['lang']) ? $v['lang'] : null;
                    $this->triples[] = $triple;
                }
            }
        }
    }