[kepler-dev] Kepler-dev at ecoinformatics.org
Norbert Podhorszki
pnorbert at cs.ucdavis.edu
Tue Aug 15 09:30:25 PDT 2006
Hello Lance,
The secret is buried in configs/ptolemy/configs/kepler/ontologies
The actor tree is defined by the ontology_catalog.xml file, which
lists different ontologies (that are located in the same directory).
Currently, the ontology defined in keplerActorOntology.owl is commented
out in the catalog, therefore, HelloWorld's ontology definition does not
fit into any ontology taken into consideration.
<property name="semanticType00" value="urn:lsid:localhost:onto:1:1#ConstantActor" class="org.kepler.sms.SemanticType"/>
The onto:1:1 points to the ontology defined in keplerActorOntology.owl.
You can define, however, as many property for your actor, as you like.
E.g.
<property name="semanticType11" value="urn:lsid:localhost:onto:2:1#GeneralPurpose" class="org.kepler.sms.SemanticType"/>
points to the ontology defined in kepler-component.owl, and you would find
your actor in the "General Purpose" branch.
So your options:
1. uncomment keplerActorOntology.owl in the catalog
2. define other types for your actor
Best regards
Norbert,
PS: I am not an expert, just a user of those ontologies.
On Tue, 15 Aug 2006, Lance wrote:
> Hello, my name is Lance De Vine. I am new to Kepler and have been trying
> develop a custom actor.
>
> I have followed the Kepler Developer's Tutorial and have searched parts
> of the mailing list archives for help.
>
> The 'HelloWorld' actor as described in the Kepler Developer's Tutorial
> will not appear in the actor tree, after running 'ant run-dev'. I am
> using the latest CVS versions of Kepler and Ptolemy.
>
> I have some questions:
> Why won't the 'HelloWorld' actor appear?
> Why are there multiple lsid's contained in the MANIFEST and xml files
> for a single actor and what are the functions of the different lsid's?
> How does the Kepler actor ontology work?
>
> Perhaps there is some resource that someone can point me to that answers
> these questions.
>
> I would appreciate any help that can be given.
>
> Thanks a lot.
>
>
--
Norbert Podhorszki
------------------------------------
University of California, Davis
Department of Computer Science
1 Shields Ave, 2236 Kemper Hall
Davis, CA 95616
(530) 754-8188
pnorbert at cs.ucdavis.edu
----------------------------------
More information about the Kepler-dev
mailing list