Package uk.ac.osswatch.simal.model.jena.simal

Examples of uk.ac.osswatch.simal.model.jena.simal.JenaSimalRepository


  public JenaReviewService(ISimalRepository simalRepository) {
    super(simalRepository);
  };
 
  public Set<IReview> getReviews() {
    JenaSimalRepository simalRepository = (JenaSimalRepository)getRepository();
    Model model = simalRepository.getModel();
      StmtIterator itr = model.listStatements(null, RDF.type, SimalOntology.REVIEW);
       
        Set<IReview> reviews = new HashSet<IReview>();
      while (itr.hasNext()) {
        String uri = itr.nextStatement().getSubject().getURI();
View Full Code Here

TOP

Related Classes of uk.ac.osswatch.simal.model.jena.simal.JenaSimalRepository

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.