Package edu.stanford.smi.protegex.owl.model.impl

Examples of edu.stanford.smi.protegex.owl.model.impl.DefaultOWLIndividual


        //rdf property unit: http://planetarium.hki.uni-koeln.de/public/XCL/ontology/XCLOntology.owl#Unit
          RDFProperty propertyUnit = individual.getOWLModel()
          .getRDFProperty(this.xclOntologyLocation+"#Unit");
          Object oUnit = individual.getPropertyValue(propertyUnit);
          if(oUnit instanceof DefaultOWLIndividual){
            DefaultOWLIndividual dUnit = (DefaultOWLIndividual)individual.getPropertyValue(propertyUnit);
            unit= dUnit.getLocalName();
          }
          else{
            unit="";
          }
        }
View Full Code Here


      RDFProperty propertyDatatype = individual.getOWLModel()
      .getRDFProperty(this.xclOntologyLocation+"#Datatype");
          //System.out.println("<Prop name: "+datatype.getBrowserText() +" value: "+individual.getPropertyValue(datatype));
          Object oDatatype = individual.getPropertyValue(propertyDatatype);
          if(oDatatype instanceof DefaultOWLIndividual){
            DefaultOWLIndividual ddatatype = (DefaultOWLIndividual)individual.getPropertyValue(propertyDatatype);
            dataType = ddatatype.getLocalName();
          }else{
            dataType="";
          }
    }
        return dataType;
View Full Code Here

TOP

Related Classes of edu.stanford.smi.protegex.owl.model.impl.DefaultOWLIndividual

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.