What are the differences in following three resource type specifiers?

and when to use them?

asked 26 Jul '10, 10:43

Ankit%20Jain's gravatar image

Ankit Jain
accept rate: 27%

edited 09 Oct '10, 12:58

In the first place, rdf:type is used as a predicate. One could for instance claim that Tim BL is a person:

<http://www.w3.org/People/Berners-Lee/card.rdf#i> rdf:type foaf:Person .

The latter two would be typically used as objects, to signify that something is a class (a group of resources with similar traits). In fact, simply stating that

A rdf:type B .

implies that B is a class (more specifically, an rdfs:Class):

B rdf:type rdfs:Class .

So we can infer from the first statement that foaf:Person is an rdfs:Class; this is also stated explicitly in the RDF version of the FOAF ontology.

owl:Class is a subclass of rdfs:Class. This has to do with restrictions on OWL Lite and DL reasoning, where some RDFS classes would not be 'proper' OWL classes. If you need OWL DL reasoning, you should use owl:Class.

permanent link

answered 26 Jul '10, 12:59

rafguns's gravatar image

accept rate: 53%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 26 Jul '10, 10:43

question was seen: 1,637 times

last updated: 09 Oct '10, 12:58