[Pellet-users] Problems with attribute values

Michele Baggi michele.baggi at dimi.uniud.it
Tue Jul 22 15:39:22 UTC 2008


Dear all,

I'm using the Pellet1.5.2 reasoner with the DIG Interface and I have  
some problems with the values that can be associated to attributes.
When I associate a string value (<sval>) to an attribute and then I  
ask for the told value for that attribute, it returns a <ival> object.

Eg. the ontology I use is:

<tells
	...>
	<defconcept name="person"/>
         <defattribute name="placeOfBirth"/>
	<defindividual name="michele"/>
	<instanceof>
	  <individual name="michele"/>
	  <catom name="person"/>
	</instanceof>
	<value>
	  <individual name="michele"/>
	  <attribute name="placeOfBirth"/>
	  <sval>Monfalcone</sval>
	</value>
</tells>

The DIG query is

<asks
	...>
	<toldValues id="prova">
	  <individual name="michele"/>
  	  <attribute name="placeOfBirth"/>
	</toldValues>
</asks>

But a got as answer <ival>Monfalcone</ival>.

Can you help me, please?

Thanks in advance,
Michele

--
Michele Baggi
Ph.D. student, University of Siena, Italy


More information about the Pellet-users mailing list