Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Bug?

Tania Tudorache tudorache at stanford.edu
Tue Mar 17 12:11:52 PDT 2009


Hi Brice,

Yes, all the forms information (including instance table widget) are 
stored in the pprj file. Glad you found it!

Tania


Brice Sommacal wrote:
> I just find it!
>
> If you want to avoid "the ugly widget" and keep in mind the specified 
> columns, you have to write in your pprj file something like that :
>
> /([helloWorld_ProjectKB_Class121] of  String
>
>     (name 
> ":COLUMN:NAME:DESCRIPTORhttp://www.owl-ontologies.com/Ontology1235392854.owl#involvement__project 
> <http://www.owl-ontologies.com/Ontology1235392854.owl#involvement__project>")
>     (string_value "involvement__project"))/
>
> You have to look for :COLUMN:NAME:DESCRIPTOR then place your ontology 
> namespace before the ancor.
>
> And to let, the right display on your browser slot, once again, as 
> Tania explained, you have to specify the domain name; For example:
>
> FROM P3.3.1
> /
> ([helloWorld_ProjectKB_Instance_10054] of  String
>
>     (name "PROJECT")
>     (string_value "rdfs%3Alabel{+-+}project_of"))/
>
> FROM3.4
>
> /([helloWorld_ProjectKB_Class10078] of  String
>
>     (name "http://www.owl-ontologies.com/Ontology1235392854.owl#PROJECT")
>     (string_value "http%3A%2F%2Fwww.owl-ontologies.com 
> <http://2Fwww.owl-ontologies.com>%2FOntology1235392854.owl%23project_of{+-+}http%3A%2F%2Fwww.w3.org 
> <http://2Fwww.w3.org>%2F2000%2F01%2Frdf-schema%23label"))/
>
> Be careful about the encoding!!!
> Wishing you good luck
>
>
> Brice
>
> 2009/3/17 Brice Sommacal <brice.sommacal at gmail.com 
> <mailto:brice.sommacal at gmail.com>>
>
>     Hi Tania,
>
>     Thanks for giving us some nice enlightenments on that!
>
>
>         The pprj file stores the information about the browser slots for
>         classes. For example, let's say that the browser slot for
>         class Person
>         was "firstName" (a property the ontology). The 3.3.1 pprj
>         would store
>         this information "Person browser text firstName" (in a more
>         obfuscated way).
>
>
>     Could you explain to us where the browser text is stored? is it on
>     the .pprj file?
>     I didn't find it yet!
>      
>
>         Unfortunately saving the .forms file will not help because
>         only the
>         layout information is stored, not the browser text.
>
>
>     Ok. But, what about the instanceTableWidget?  Do you know how we
>     could keep in track the selected columns? Is that stored on the
>     .pprj too?
>
>     Thanks in advance,
>
>
>     Brice
>
>
>
>         albertc wrote:
>         > Thanks Samson..
>         > But I cannot see how this solve my problem, as I do not want
>         to reset the
>         > display slot, I just want 3.4 to retain all my settings in 3.3.
>         >
>         > Cheers
>         > Albert
>         >
>         >
>         > Samson Tu wrote:
>         >
>         >> In 3.4 (and also in previous Protege versions), you can set
>         the display
>         >> slots at the highest level classes, and the display slots
>         setting should
>         >> be inherited by subclasses.
>         >>
>         >> In 4.0, go to File/Preferneces... menu item, and in the
>         renderer tab,
>         >> select the Entity rendering you want.
>         >>
>         >> Samson
>         >>
>         >> albertc wrote:
>         >>
>         >>> Hi Brice,
>         >>>
>         >>> Thank you for your brilliant idea. But my problem is more
>         complicated
>         >>> than
>         >>> what I described, as I need to display multiple slots for
>         thousands of
>         >>> classes, I do not want to go into every class and picks
>         the slot/slots I
>         >>> need, please see the following thread too, he has similar
>         problem:
>         >>>
>         >>>
>         http://www.nabble.com/-POSSIBLE-VIRUS%3A-----Multislot-Browser-Pattern-Issue-when-migrating-from-build-128-to-513-td20440699.html#a20440699
>         >>>
>         >>> No one seems to have solved this, or no one cares?? It
>         seems an obvious
>         >>> bug
>         >>> from 3.4. Now I am installing 3.3 and 3.4 and 4.0 in all
>         my machines.
>         >>>
>         >>> Cheers
>         >>> Albert
>         >>>
>         >> _______________________________________________
>         >> protege-owl mailing list
>         >> protege-owl at lists.stanford.edu
>         <mailto:protege-owl at lists.stanford.edu>
>         >> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>         >>
>         >> Instructions for unsubscribing:
>         >> http://protege.stanford.edu/doc/faq.html#01a.03
>         >>
>         >>
>         >>
>         >
>         >
>
>         _______________________________________________
>         protege-owl mailing list
>         protege-owl at lists.stanford.edu
>         <mailto:protege-owl at lists.stanford.edu>
>         https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
>         Instructions for unsubscribing:
>         http://protege.stanford.edu/doc/faq.html#01a.03
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
>   




More information about the protege-owl mailing list