protected function removeLanguageFromOntology()
    {
        
        $this->outVerbose("Removing RDF language description '" . $this->options['language'] . "' from ontology...");
        $taoNS = 'http://www.tao.lu/Ontologies/TAO.rdf#';
        $expectedDescriptionUri = $taoNS . 'Lang' . $this->options['language'];
        $lgResource = new core_kernel_classes_Resource($expectedDescriptionUri);
        
        if (true === $lgResource->exists()) {
            $lgResource->delete();
            $this->outVerbose("RDF language description '" . $this->options['language'] . "' successfully removed.");
        }else{
            $this->outVerbose("RDF language description '" . $this->options['language'] . "' not found but considered removed.");
        }
        
    }
protected function removeLanguageFromOntology()
    {
        
        $this->outVerbose("Removing RDF language description '" . $this->options['language'] . "' from ontology...");
        $taoNS = 'http://www.tao.lu/Ontologies/TAO.rdf#';
        $expectedDescriptionUri = $taoNS . 'Lang' . $this->options['language'];
        $lgResource = new core_kernel_classes_Resource($expectedDescriptionUri);
        
        if (true === $lgResource->exists()) {
            $lgResource->delete();
            $this->outVerbose("RDF language description '" . $this->options['language'] . "' successfully removed.");
        }else{
            $this->outVerbose("RDF language description '" . $this->options['language'] . "' not found but considered removed.");
        }
        
    }
protected function removeLanguageFromOntology ( ) { $ this -> outVerbose ( "Removing RDF language description '" . $ this -> options [ 'language' ] . "' from ontology..." ) ; $ taoNS = 'http://www.tao.lu/Ontologies/TAO.rdf#' ; $ expectedDescriptionUri = $ taoNS . 'Lang' . $ this -> options [ 'language' ] ; $ lgResource = new core_kernel_classes_Resource ( $ expectedDescriptionUri ) ; if ( true === $ lgResource -> exists ( ) ) { $ lgResource -> delete ( ) ; $ this -> outVerbose ( "RDF language description '" . $ this -> options [ 'language' ] . "' successfully removed." ) ; } else { $ this -> outVerbose ( "RDF language description '" . $ this -> options [ 'language' ] . "' not found but considered removed." ) ; } }
Removes a language from the Ontology and all triples with the related
tag. Will use command line parameters for logic.

@access protected
@author Joel Bout, <joel.bout@tudor.lu>
@return void
Removes a language from the Ontology and all triples with the related tag . Will use command line parameters for logic .