[Pellet-users] Data type property or Object property?

Evren Sirin evren at clarkparsia.com
Mon Jun 23 20:29:20 UTC 2008


On 6/15/08 5:36 AM, Koh Shu Lin wrote:
> Hi all,
>
> Does anyone know of any method to find out the type of a property
> (whether it is a data type property or an object property) if only
> given the property name in string?
>
> e.g. ABC_company /hasCostInformation /costInfo
>
> Is /hasCostInformation /a datatype property or object property if
> given a string "hasCostInformation"?
>

No, it is not possible to know if it is a data or object property by
just looking at the name. Typically your data will be in RDF form so in
the above triple you can check if "costInfo" is a RDF literal or an
object which would indicate if the property is data or object property.
Pellet (and many other tools) use these kind of heuristics to guess the
type of a properties if there is not an explicit typing triple. These
heuristics work fine most of the time but are not guranteed to be
correct. For example, in your example there is also the probability that
hasCostInformation is an annotation property and it is not possible to
tell that by looking at that single triple.

Cheers,
Evren
> Thanks very much.
>
>
> ------------------------------------------------------------------------
> Make the most of what you can do on your PC and the Web, just the way
> you want. Windows Live <http://www.get.live.com/wl/all>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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