Examples of clearIRIMappers()


Examples of org.semanticweb.owlapi.model.OWLOntologyManager.clearIRIMappers()

        return manager.loadOntologyFromOntologyDocument(sourceFile);
    }

    private OWLOntologyManager createOntologyManager() {
        OWLOntologyManager manager = WebProtegeOWLManager.createOWLOntologyManager();
        manager.clearIRIMappers();
        return manager;
    }


View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyManager.clearIRIMappers()

      OWLOntologyManager manager = OWLManager.createOWLOntologyManager();
      Collection<String> inputFiles = FileUtils.getFileURIs(getInputFiles());

      LimitedMapIRIMapper iriMapper = new LimitedMapIRIMapper();
      OWLOntology  baseOntology = manager.createOntology();
      manager.clearIRIMappers();

      if(options.getOption("ignore-imports").getValueAsBoolean())
      {
        manager.addIRIMapper(iriMapper);
        manager.setSilentMissingImportsHandling(true);       
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyManager.clearIRIMappers()

  public OWLOntology parseConclusionOntology(SerializationFormat format)
      throws OntologyParseException {
    try {
      OWLOntologyManager manager = OWLManager.createOWLOntologyManager();
      manager.setSilentMissingImportsHandling( true );
      manager.clearIRIMappers();

      ImportsHelper.loadImports( manager, this, format );
      OWLOntology o = parsedConclusion.get( format );
      if( o == null ) {
        String l = getConclusionOntology( format );
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyManager.clearIRIMappers()

  public OWLOntology parsePremiseOntology(SerializationFormat format)
      throws OntologyParseException {
    try {
      OWLOntologyManager manager = OWLManager.createOWLOntologyManager();
      manager.setSilentMissingImportsHandling( true );
      manager.clearIRIMappers();

      ImportsHelper.loadImports( manager, this, format );
      OWLOntology o = parsedPremise.get( format );
      if( o == null ) {
        String l = getPremiseOntology( format );
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyManager.clearIRIMappers()

  public OWLOntology parsePremiseOntology(SerializationFormat format)
      throws OntologyParseException {
    try {
      OWLOntologyManager manager = OWLManager.createOWLOntologyManager();
      manager.setSilentMissingImportsHandling( true );
      manager.clearIRIMappers();
     
      ImportsHelper.loadImports( manager, this, format );
      OWLOntology o = parsedPremise.get( format );
      if( o == null ) {
        String l = getPremiseOntology( format );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.