[DIG-users] Problems with attribute values
Brought to you by:
dturi
|
From: Michele B. <mic...@di...> - 2008-07-22 15:39:32
|
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
|