[Pellet-users] xsd:duration reasoning error
Evren Sirin
evren at clarkparsia.com
Mon Jan 5 15:03:00 UTC 2009
On Mon, Jan 5, 2009 at 9:43 AM, "Christoph Grün" <chris.gr at gmx.at> wrote:
> Hello Evren,
>
> Thanks for your posting!
> I use TopBraid and Pellet 2.0.0 RC3 over DIG.
DIG does not support xsd:duration (or any datatype other than string
or integer). If you try this ontology from Pellet command-line you
will see that the problem does not exist when DIG is not involved. I
think it is Topbraid composer that is generating the error message
below (Pellet DIG server probably does not receive any data). You
might get more help and/or guidance from Topbraid people.
>
> I have the class:
> <rdf:Description rdf:about="#ImperialeSammlungen">
> <rdf:type rdf:resource="#AttractionPass"/>
> <isValidForAttraction rdf:resource="#Wagenburg"/>
> <isValidForAttraction rdf:resource="#Schatzkammer"/>
> <isValidForAttraction rdf:resource="#KunsthistorischesMuseum"/>
> <hasTariffRange rdf:resource="#TariffRangePerAdult_ImperialeSammlungen"/>
> <hasTariffRange rdf:resource="#TariffRangePerGroup_ImperialeSammlungen"/>
> <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Imperiale sammlungen</rdfs:label>
> <isValidForPeriod rdf:datatype="http://www.w3.org/2001/XMLSchema#duration">P1Y3M</isValidForPeriod>
> </rdf:Description>
>
> When I run the inferences, an error is posted:
> Operation failed.
> Reason. Could not execute inferences.
> Details: "P1Y3M"^^http://www.w3.org/2001/XMLSchema#duration
>
> With OWLIM reasoner, it works so I think it has to do something with Pellet.
AFAIK, OWLIM does not use the DIG interface so there wouldn't be any
problems. If you use Pellet 1.5.2 which is directly integrated to
Topbraid composer there wouldn't be any problems either.
> I would like to have a duration of 3 months.
It is not a good solution but you might use integers or plain strings
to represent this information. This is not as good as xsd:duration but
it would get around the DIG limitation.
Cheers,
Evren
>
> Thanks for your help!!
>
> Christoph
>
>
> -------- Original-Nachricht --------
>> Datum: Mon, 5 Jan 2009 08:09:39 -0500
>> Von: "Evren Sirin" <evren at clarkparsia.com>
>> An: pellet-users at lists.owldl.com
>> Betreff: Re: [Pellet-users] xsd:duration reasoning error
>
>> On Mon, Jan 5, 2009 at 7:36 AM, "Christoph Grün" <chris.gr at gmx.at> wrote:
>> > Hello, I have the statement:
>> >
>> > <isValidForPeriod
>> rdf:datatype="http://www.w3.org/2001/XMLSchema#duration">P0Y3M</isValidForPeriod>
>> >
>> > Pellet 2 cannot execute inference, but what is wrong with this value?
>>
>> What do you mean exactly by "cannot execute infernece"? Are you seeing
>> an error message? Is there a missing entailment? If you provide more
>> details about the problem including a minimal complete example for us
>> to test we can figure out what is wrong.
>>
>> Cheers,
>> Evren
>>
>>
>> >
>> > Thanks a lot,
>> > Christoph
>> > --
>> > Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit
>> allen: http://www.gmx.net/de/go/multimessenger
>> > _______________________________________________
>> > Pellet-users mailing list
>> > Pellet-users at lists.owldl.com
>> > http://lists.owldl.com/mailman/listinfo/pellet-users
>> > _______________________________________________
>> >
>> > Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
>> >
>> _______________________________________________
>> Pellet-users mailing list
>> Pellet-users at lists.owldl.com
>> http://lists.owldl.com/mailman/listinfo/pellet-users
>> _______________________________________________
>>
>> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
>
> --
> Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL
> für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
>
More information about the Pellet-users
mailing list