On 19 Dec 2009, at 00:35, Peter DeVries wrote:
> I noticed the following while looking at the DBpedia ontology in  
> Protege
> with the following resource:
>
> http://dbpedia.org/resource/Cougar
>
> has the following
>
> http://dbpedia.org/property/statusRef
>
> As both a object property and a data property.

In the DBpedia ontology, it is simply declared as an rdf:Property,  
neither as an objectProperty nor as a datatypeProperty. Hence it's ok  
for the property to have both literal and resource objects.

You are probably using a tool that is designed for OWL DL, not for RDF  
or normal OWL. In OWL DL, properties *must* be declared as  
datatypeProperty or objectProperty.

In practice, this means that you cannot use non-DL data with DL tools  
unless you do some preparation of the data first. I don't have  
statistics, but I would expect the vast majority of RDF data that you  
find on the Web to be non OWL DL compliant.

Best,
Richard



>
> This causes Protege's Pellet to generate an error from interpreting  
> this
> triple in terms of a "literal"
>
> <rdf:Description
> rdf:about="http://dbpedia.org/resource/Cougar";><dbpprop:statusRef
> xmlns:dbpprop="http://dbpedia.org/property/"; rdf:resource="
> http://dbpedia.org/resource/Cougar/statusRef/IUCN2008"/></ 
> rdf:Description>
>
> This seems to suggest that "statusRef" should be made only a object
> property?
>
> Or is this a bug in Protege or Pellet?
>
> Any thoughts?
>
> - Pete
>
> ----------------------------------------------------------------
> Pete DeVries
> Department of Entomology
> University of Wisconsin - Madison
> 445 Russell Laboratories
> 1630 Linden Drive
> Madison, WI 53706
> GeoSpecies Knowledge Base
> About the GeoSpecies Knowledge Base
> ------------------------------------------------------------
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast  
> and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev  
> _______________________________________________
> Dbpedia-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to