[kepler-dev] Problem with semantic annotation
Edoardo Pignotti
epignott at csd.abdn.ac.uk
Sat May 5 05:16:48 PDT 2007
Hello,
I am trying to work with semantic annotations but I have some problems
getting it working.
I annotated input and outputs of few actors with semantic types so I can
use the suggest compatible input/output facility in kepler
(attached two of the xml files describing the actors). No matter if I
use suggest compatible input output or similar component i get the
message not compatible components found in library.
Could someone tell me what I am doing wrong?
Thanks,
Edoardo
<?xml version="1.0"?>
<entity name="BirdFlu" class="ptolemy.kernel.ComponentEntity">
<property name="entityId"
value="urn:lsid:kepler-project.org:actor:650:1"
class="org.kepler.moml.NamedObjId"/>
<property name="documentation"
class="org.kepler.moml.DocumentationAttribute">
</property>
<property name="class" value="org.policygrid.ontActors.BirdFlu"
class="ptolemy.kernel.util.StringAttribute">
<property name="id" value="urn:lsid:kepler-project.org:class:650:1"
class="ptolemy.kernel.util.StringAttribute"/>
</property>
<property name="output" class="org.kepler.moml.PortAttribute">
<property name="direction" value="output"
class="ptolemy.kernel.util.StringAttribute"/>
<property name="dataType" value="string"
class="ptolemy.kernel.util.StringAttribute"/>
<property name="isMultiport" value="false"
class="ptolemy.kernel.util.StringAttribute"/>
<property name="semanticType" class="org.kepler.sms.SemanticType"
value="urn:lsid:lsid.policygrid.org:onto:1:1#Virus"/>
</property>
<property name="semanticType00"
value="urn:lsid:localhost:onto:4:1#VirusOntologyActors"
class="org.kepler.sms.SemanticType"/>
</entity>
<?xml version="1.0"?>
<entity name="VirusSimulationExperiment"
class="ptolemy.kernel.ComponentEntity">
<property name="entityId"
value="urn:lsid:kepler-project.org:actor:651:1"
class="org.kepler.moml.NamedObjId"/>
<property name="documentation"
class="org.kepler.moml.DocumentationAttribute">
</property>
<property name="class"
value="org.policygrid.ontActors.VirusSimulationExperiment"
class="ptolemy.kernel.util.StringAttribute">
<property name="id" value="urn:lsid:kepler-project.org:class:651:1"
class="ptolemy.kernel.util.StringAttribute"/>
</property>
<property name="testVirus" class="org.kepler.moml.PortAttribute">
<property name="direction" value="input"
class="ptolemy.kernel.util.StringAttribute"/>
<property name="dataType" value="string"
class="ptolemy.kernel.util.StringAttribute"/>
<property name="isMultiport" value="false"
class="ptolemy.kernel.util.StringAttribute"/>
<property name="semanticType" class="org.kepler.sms.SemanticType"
value="urn:lsid:lsid.policygrid.org:onto:1:1#Virus"/>
</property>
<property name="output" class="org.kepler.moml.PortAttribute">
<property name="direction" value="output"
class="ptolemy.kernel.util.StringAttribute"/>
<property name="dataType" value="string"
class="ptolemy.kernel.util.StringAttribute"/>
<property name="isMultiport" value="false"
class="ptolemy.kernel.util.StringAttribute"/>
<property name="semanticType" class="org.kepler.sms.SemanticType"
value="urn:lsid:lsid.policygrid.org:onto:1:1#VirusSimulationExperiment"/>
</property>
<property name="semanticType00"
value="urn:lsid:localhost:onto:4:1#VirusOntologyActors"
class="org.kepler.sms.SemanticType"/>
</entity>
More information about the Kepler-dev
mailing list