Changes between Version 5 and Version 6 of PimoStorage


Ignore:
Timestamp:
04/25/06 18:55:42 (19 years ago)
Author:
sauermann
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PimoStorage

    v5 v6  
    11= PimoStorage = 
    22 
    3 all things of the user, the pimo ontology itself, the imported domain ontologies, the things of the user, links to occurrences, wiki pages, wiki names, all....  
     3The PimoStorage stores the user's Personal Information Model. Basically, thats all ontologies, tags and wiki pages, and the relations to resources.  
    44 
    5 Interface: [source:branches/gnowsis0.9/gnowsis-server/src/java/org/gnowsis/repository/PimoStorage.java PimoStorage.java] 
     5'''more about: PimOntology ''' 
     6 
     7Java Interface: [source:branches/gnowsis0.9/gnowsis-server/src/java/org/gnowsis/repository/PimoStorage.java PimoStorage.java] 
     8 
     9Usage example: 
     10{{{ 
     11// I write a triple to the pimo 
     12Repository r = Gnowsis.getPimoStorage().getRepository(); 
     13Transation t = r.startTransaction(); 
     14// add something 
     15t.add(new StatementImpl(s, p, o)); 
     16t.commit(); 
     17 
     18// do fulltext search on pimo, using lucene query language 
     19Iterator<Tag> tagI = Gnowsis.getPimoStorage().search("Hello*"); 
     20while (tagI.hasNext()) 
     21{ 
     22  Tag t = tagI.next(); 
     23  System.out.println("found thing: "+t.getUri()+ " with name "+t.getName()); 
     24} 
     25}}} 
     26 
     27 
    628 
    729Features: