RDF Schema

From semanticweb.org
(Redirected from RDF-Schema)
Jump to: navigation, search
This page needs your help.
This important semantic technology related page was inherited when relaunching semanticweb.org, but does not meet its quality standards yet. Please help to improve it if you are knowledgable about this topic.

RDF Schema (RDFS) extends RDF.


[edit] Datatypes

Defining datatypes in RDF are the part of RDF Schema. You can use RDFS to bind a property (attribute) to a datatype. Basically we use existing datatypes like the ones in XML Schema.

<rdf:Property rdf:ID="price">
 <rdfs:domain="Tool" />
 <rdfs:datatype="money" />
</rdf:Property>

<!-- extend xsd with a money datatype -->
<xsd:complexType name="money">
  <xsd:simpleContent>
    <xsd:extension base="xsd:decimal">
      <xsd:attribute name="currency" type="currencies"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

[edit] See also

Personal tools
Namespaces

Variants
Actions
Navigation
services
Toolbox