consistent015.rdf

来自「jena2.5.4推理机系统的一种最基本实现 HP实验室出品」· RDF 代码 · 共 43 行

RDF
43
字号
<!--++ I5.8/consistent015.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: consistent015.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/consistent015#"
    xml:base="http://www.w3.org/2002/03owlt/I5.8/consistent015" >

    <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" />

    <owl:Thing>
      <first:prop rdf:datatype="http://example.org/user/data#type"
      >foo</first:prop>
    </owl:Thing>

</rdf:RDF>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?