Package com.clarkparsia.pellet.utils

Examples of com.clarkparsia.pellet.utils.PropertiesBuilder


  @Test
  public void testIncrementalTBoxDisjointRemove4() {
    // test that a disjoint axiom absorbed into domain axiom cannot
    // be removed

    Properties newOptions = new PropertiesBuilder().set( "USE_TRACING", "true" ).set(
        "USE_ROLE_ABSORPTION", "true" ).build();
    Properties savedOptions = PelletOptions.setOptions( newOptions );

    try {
      ATermAppl A = ATermUtils.makeTermAppl( "A" );
View Full Code Here


  @Test
  public void testIncrementalTBoxDisjointRemove5() {
    // Same as testIncrementalTBoxDisjointRemove4 but
    // uses n-ary disjointness axioms

    Properties newOptions = new PropertiesBuilder().set( "USE_TRACING", "true" ).set(
        "USE_ROLE_ABSORPTION", "true" ).build();
    Properties savedOptions = PelletOptions.setOptions( newOptions );

    try {
      ATermAppl A = ATermUtils.makeTermAppl( "A" );
View Full Code Here

  @Test
  public void testIncrementalTBoxDisjointRemove6() {
    // test that a disjoint axiom absorbed into range axiom cannot
    // be removed

    Properties newOptions = new PropertiesBuilder().set( "USE_TRACING", "true" ).set(
        "USE_ROLE_ABSORPTION", "true" ).build();
    Properties savedOptions = PelletOptions.setOptions( newOptions );

    try {
      ATermAppl A = ATermUtils.makeTermAppl( "A" );
View Full Code Here

  @Test
  public void testCRonDTP() {
    // Test for ticket #143

    Properties newOptions = new PropertiesBuilder().set( "SILENT_UNDEFINED_ENTITY_HANDLING",
        "false" ).build();
    Properties savedOptions = PelletOptions.setOptions( newOptions );

    try {
      KnowledgeBase kb = new KnowledgeBase();
View Full Code Here

  /**
   * Tests whether PelletOptions.DISABLE_EL_CLASSIFIER can be properly read from a properties file
   */
  @Test
  public void testDisableELClassifierOptionRead() {
    Properties newOptions = new PropertiesBuilder().set( "DISABLE_EL_CLASSIFIER", "true" ).build();
    Properties savedOptions = PelletOptions.setOptions( newOptions );
   
    try {
      assertTrue( PelletOptions.DISABLE_EL_CLASSIFIER );
     
      newOptions = new PropertiesBuilder().set( "DISABLE_EL_CLASSIFIER", "false" ).build();
      PelletOptions.setOptions( newOptions );
     
      assertFalse( PelletOptions.DISABLE_EL_CLASSIFIER );
    }
    finally {
View Full Code Here

  @Test
  public void testIncrementalTBoxDisjointRemove4() {
    // test that a disjoint axiom absorbed into domain axiom cannot
    // be removed

    Properties newOptions = new PropertiesBuilder().set( "USE_TRACING", "true" ).set(
        "USE_ROLE_ABSORPTION", "true" ).build();
    Properties savedOptions = PelletOptions.setOptions( newOptions );

    try {
      ATermAppl A = ATermUtils.makeTermAppl( "A" );
View Full Code Here

  @Test
  public void testIncrementalTBoxDisjointRemove5() {
    // Same as testIncrementalTBoxDisjointRemove4 but
    // uses n-ary disjointness axioms

    Properties newOptions = new PropertiesBuilder().set( "USE_TRACING", "true" ).set(
        "USE_ROLE_ABSORPTION", "true" ).build();
    Properties savedOptions = PelletOptions.setOptions( newOptions );

    try {
      ATermAppl A = ATermUtils.makeTermAppl( "A" );
View Full Code Here

  @Test
  public void testIncrementalTBoxDisjointRemove6() {
    // test that a disjoint axiom absorbed into range axiom cannot
    // be removed

    Properties newOptions = new PropertiesBuilder().set( "USE_TRACING", "true" ).set(
        "USE_ROLE_ABSORPTION", "true" ).build();
    Properties savedOptions = PelletOptions.setOptions( newOptions );

    try {
      ATermAppl A = ATermUtils.makeTermAppl( "A" );
View Full Code Here

  @Test
  public void testCRonDTP() {
    // Test for ticket #143

    Properties newOptions = new PropertiesBuilder().set( "SILENT_UNDEFINED_ENTITY_HANDLING",
        "false" ).build();
    Properties savedOptions = PelletOptions.setOptions( newOptions );
   
    try {
      KnowledgeBase kb = new KnowledgeBase();
View Full Code Here

  /**
   * Tests whether PelletOptions.DISABLE_EL_CLASSIFIER can be properly read from a properties file
   */
  @Test
  public void testDisableELClassifierOptionRead() {
    Properties newOptions = new PropertiesBuilder().set( "DISABLE_EL_CLASSIFIER", "true" ).build();
    Properties savedOptions = PelletOptions.setOptions( newOptions );
   
    try {
      assertTrue( PelletOptions.DISABLE_EL_CLASSIFIER );
     
      newOptions = new PropertiesBuilder().set( "DISABLE_EL_CLASSIFIER", "false" ).build();
      PelletOptions.setOptions( newOptions );
     
      assertFalse( PelletOptions.DISABLE_EL_CLASSIFIER );
    }
    finally {
View Full Code Here

TOP

Related Classes of com.clarkparsia.pellet.utils.PropertiesBuilder

Copyright © 2018 www.massapicom. 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.