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
33219
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.

link

answered 26 Jul '10, 12:59

rafguns's gravatar image

rafguns
47228
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

By RSS:

Answers

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

Tags:

×862
×597
×137
×3

Asked: 26 Jul '10, 10:43

Seen: 1,200 times

Last updated: 09 Oct '10, 12:58