Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] OWL individuals

Timothy Redmond tredmond at
Thu Apr 19 11:19:39 PDT 2007

Herein is the big advantage of writing OWL with an editor rather than 
mucking with the rdf syntax directly. 

When you went to the validator, there was one anomaly that you did not 
notice.  Yes, it did validate the ontology as owl lite but notice the 
name of the individual in the abstract  syntax representation that it 

 Class(a:cars partial)


The name that you wanted for the individual has been lost.  Replace the 
rdf:resource with rdf:ID and you get something much better:

 Class(a:cars partial)


Going back to the definitions of rdf 
( we see that you are not using 
rdf:resource correctly.  So their first example shows

    <rdf:Description ex:fullName="Dave Beckett">
      <ex:homePage rdf:resource=""/>

In this fragment the ex:homePage is the property  and the resource is 
indicating the id of a value for this property.  So the triple 
represented by this fragment has the form

   < Subject = Description resource whose full name is "Dave Beckett"
      Predicate = "ex:homePage"
      Object = Resource with id "" >

So the validator ignored the rdf:resource statement as meaningless but 
Protege (probably because it used Jena) warned you about this.


Eugenio Tacchini wrote:
> Hello,
> I have a "car" class and I want to "link" each car individual to an URL.
> I have used this code:
> <owl:Class rdf:ID="cars"/>
> <cars 
> rdf:resource=""/>
> The file is validated by 
> but protege 3.2.1 
> shows to me this errore message: "resource not allowed as attribute here."
> I saw that protege uses "ID" and not "resource" for individuals, but 
> "resource" should be valid too, isn't it?
> Thanks.
> Regards,
> Eugenio.
> _______________________________________________
> protege-owl mailing list
> protege-owl at
> Instructions for unsubscribing: 

More information about the protege-owl mailing list