Package org.semanticweb.owlapi.model

Examples of org.semanticweb.owlapi.model.OWLNamedIndividual.asOWLNamedIndividual()


                mock(OWLAnnotationProperty.class));
        when(entityChecker.getOWLAnnotationProperty("rdfs:comment"))
                .thenReturn(dataFactory.getRDFSComment());
        OWLNamedIndividual ind = mock(OWLNamedIndividual.class);
        when(entityChecker.getOWLIndividual("ind")).thenReturn(ind);
        when(ind.asOWLNamedIndividual()).thenReturn(ind);
        parser = new ParserWrapper();
    }

    @Test
    public void unknownClassNameShouldCauseException() {
View Full Code Here


          continue;
        if( Individual.DL.getOWLIndividual().equals( s ) )
          satisfied.add( SyntaxConstraint.DL );
        else
          throw new IllegalArgumentException( format(
              "Unexpected species ( %s ) for test case %s", s.asOWLNamedIndividual().getIRI()
                  .toURI().toASCIIString(), i.getIRI() ) );
      }
    }

    semantics = EnumSet.noneOf( Semantics.class );
View Full Code Here

      for( OWLIndividual s : notspecies ) {
        if( Individual.DL.getOWLIndividual().equals( s ) )
          notsatisfied.add( SyntaxConstraint.DL );
        else
          throw new IllegalArgumentException( format(
              "Unexpected species ( %s ) for test case %s", s.asOWLNamedIndividual().getIRI()
                  .toURI().toASCIIString(), i.getIRI() ) );
      }
    }

    notsemantics = EnumSet.noneOf( Semantics.class );
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.