Package com.hp.hpl.jena.ontology

Examples of com.hp.hpl.jena.ontology.Ontology.addProperty()


        if ( prop == null ) {
          log.warn("No property found for uri='" +uri+ "'");
          continue;
        }
        //log.debug("adding property " + prop + " = " + value);
        ont.addProperty(prop, value);
      }
    }
   
    // set Omv.uri from final
    ont.addProperty(Omv.uri, finalUri);
View Full Code Here


        ont.addProperty(prop, value);
      }
    }
   
    // set Omv.uri from final
    ont.addProperty(Omv.uri, finalUri);
   
    // set Omv.acronym from primaryClass
    ont.addProperty(Omv.acronym, primaryClass);
   
    String classUri = values.get("classUri");
View Full Code Here

   
    // set Omv.uri from final
    ont.addProperty(Omv.uri, finalUri);
   
    // set Omv.acronym from primaryClass
    ont.addProperty(Omv.acronym, primaryClass);
   
    String classUri = values.get("classUri");
    if ( classUri != null ) {
      ont.addProperty(OmvMmi.shortNameUri, classUri);
    }
View Full Code Here

    // set Omv.acronym from primaryClass
    ont.addProperty(Omv.acronym, primaryClass);
   
    String classUri = values.get("classUri");
    if ( classUri != null ) {
      ont.addProperty(OmvMmi.shortNameUri, classUri);
    }
   
    // fixed issue #120: "title doesn't get carried forward"
    // problem was that Omv.name was assigned BOTH the class name and the fulltitle.
    // Only the fullTitle is now assigned.
View Full Code Here

    // Only the fullTitle is now assigned.
//    ont.addProperty(Omv.name,
//    setFirstUpperCase(cleanStringforID(primaryClass)) + " Vocabulary");
    String fullTitle = values.get("fullTitle");
    if ( fullTitle != null ) {
      ont.addProperty(Omv.name, fullTitle);
    }
   
    String creator = values.get("creator");
    if ( creator != null ) {
      ont.addProperty(Omv.hasCreator, creator);
View Full Code Here

      ont.addProperty(Omv.name, fullTitle);
    }
   
    String creator = values.get("creator");
    if ( creator != null ) {
      ont.addProperty(Omv.hasCreator, creator);
    }
   
    String briefDescription = values.get("briefDescription");
    if ( briefDescription != null ) {
      ont.addProperty(Omv.description, briefDescription);
View Full Code Here

      ont.addProperty(Omv.hasCreator, creator);
    }
   
    String briefDescription = values.get("briefDescription");
    if ( briefDescription != null ) {
      ont.addProperty(Omv.description, briefDescription);
    }
   
    if ( orgAbbreviation != null && orgAbbreviation.trim().length() > 0 ) {
      ont.addProperty(OmvMmi.origMaintainerCode, orgAbbreviation.trim());
    }
View Full Code Here

    if ( briefDescription != null ) {
      ont.addProperty(Omv.description, briefDescription);
    }
   
    if ( orgAbbreviation != null && orgAbbreviation.trim().length() > 0 ) {
      ont.addProperty(OmvMmi.origMaintainerCode, orgAbbreviation.trim());
    }
   
    createOntologIndividuals();
  }
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.