Package br.uniriotec.orion.model.forte.resources

Examples of br.uniriotec.orion.model.forte.resources.RelationshipExample


        for(Individual i :conjIndividuals){
          StmtIterator it = i.listProperties();
          while(it.hasNext()){
            Statement p = it.next();
            if((p.getObject().isResource()) && (p.getPredicate().getLocalName().equalsIgnoreCase("type") == false)){
              RelationshipExample ex = new RelationshipExample();
                ex.setPredicado(lowerFirstChar(
                    i.getOntClass().getLocalName()
                    +"_"
                    +p.getPredicate().getLocalName())
                  );
                ex.setPrimeiroTermo(lowerFirstChar(p.getSubject().getLocalName()));
                ex.setSegundoTermo(lowerFirstChar(p.getObject().asResource().getLocalName()));
              conjFacts.add(ex);
            }
          }
        }
       
View Full Code Here

TOP

Related Classes of br.uniriotec.orion.model.forte.resources.RelationshipExample

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.