blob: 7f64f72007c2baaf7b7dd6cf9224dcd6bd55c016 [file] [log] [blame]
<!--++ I5.8/consistent013.rdf ** generated using webont test editor. ++-->
<!--++ Created 19 Sep 2003 13:01:08 GMT ++-->
<!--
Copyright World Wide Web Consortium, (Massachusetts Institute of
Technology, European Research Consortium for Informatics and
Mathematics, Keio University).
All Rights Reserved.
Please see the full Copyright clause at
<http://www.w3.org/Consortium/Legal/copyright-software.html>
$Id: consistent013.rdf,v 1.3 2003-12-05 05:06:34 jeremy_carroll Exp $
-->
<!--
This test illustrates the use of a user defined datatype.
The informal description has no formal semantics.
-->
<!-- Author: Jeremy J. Carroll -->
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:eg="http://example.org/user/data#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:first="http://www.w3.org/2002/03owlt/I5.8/consistent013#"
xml:base="http://www.w3.org/2002/03owlt/I5.8/consistent013" >
<rdfs:Datatype rdf:about="http://example.org/user/data#type">
<rdfs:comment>
This type maps the string "foo" to the number 3.
All other strings are not in the lexical space.
</rdfs:comment>
</rdfs:Datatype>
<owl:DatatypeProperty rdf:ID="prop">
<rdfs:range rdf:resource="http://example.org/user/data#type"/>
</owl:DatatypeProperty>
</rdf:RDF>