[kepler-users] adding ontologies to Components
Aaron Schultz
aschultz at nceas.ucsb.edu
Fri Aug 7 11:18:02 PDT 2009
Hi Chris, this is all under construction, the .kepler directory will
hopefully go away someday, Save in Library is deprecated, please use
"Save Archive".
The sources button on the component panel should be used to specify save
directories, "Workflows" is a default directory but feel free to change it.
Components will eventually show up in the ontology tree when an archive
is saved, it is still under construction but almost there. Components
are showing up automatically in the folders now when an archive is saved.
I believe ontologies also need LSIDs, Shawn Bowers may know more about
this...
You are very brave to be working from the head.... :) It may be more
convenient to work from an older revision,
Aaron
Chris Weed wrote:
> I just checked out the latest version from trunk, and make a few discoveries.
>
> Importing actors into the local repository using "Save in Library" creates
> kar files in the "workflows" directory. I had previously created my own
> workflows directory in the same place, and was surprised to find kepler
> was using the same one. When I went to remove the directory, I found
> that I wasn't the only one putting stuff in there. I am not sure this is the
> best setup, I would really expect these kar files to be in the .kepler
> directory.
>
> I also found that when I saved an actor to the library, it didn't immediately
> show up in the component tree. It would show up when i restarted kepler.
>
> I also have had difficulty importing a third party ontology into kepler.
> In addition to the need to name the ontology, I found my ontology
> wouldn't show up unless I changed some of the doctype strings
> and RDF namespaces to have the LSID, instead of a normal URI
> like http://localhost:8080/myfile.owl. That stuff is a little of a mystery
> to me, but I did get it working by twiddling these values.
>
> FYI,
> Chris
>
> On Wed, Aug 5, 2009 at 5:16 PM, Chris Weed<chrisweed at gmail.com> wrote:
>
>> The ontology functionality that I have used in the past doesn't seem
>> to work any more
>> in Kepler 1.X Dev.
>>
>> I added my ontology to ptolemy/configs/kepler/ontologies,
>> and the filename of my ontology to ontology_catalog.xml with library="true",
>> and it shows up in the ontologies drop down menu, but not in the actor
>> tree listing.
>> I tried adding one of my ontology classes to my actor, and save it in
>> the local repository.
>> This seems to try to save a kar file to a directory that doesn't exist
>> anymore. this should
>> probably save to a temporary directory/file if it is only needed to
>> import into the
>> actor repository.
>>
>> I guess all of this code is in flux, does another module have this working?
>>
>> Chris
>>
>>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>
More information about the Kepler-users
mailing list