test017.rdf

来自「Jena推理机」· RDF 代码 · 共 39 行

RDF
39
字号
<!--
  Copyright World Wide Web Consortium, (Massachusetts Institute of
  Technology, Institut National de Recherche en Informatique et en
  Automatique, Keio University).
 
  All Rights Reserved.
 
  Please see the full Copyright clause at
  <http://www.w3.org/Consortium/Legal/copyright-software.html>

  $Id: test017.rdf,v 1.2 2005/08/04 09:53:18 jeremy_carroll Exp $
-->
<!--

 Description:
 Like test001.rdf but with a comment 
 as the only content of the otherwise empty element.

 Author: Jeremy Carroll

-->
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:random="http://random.ioctl.org/#">

<rdf:Description rdf:about="http://random.ioctl.org/#bar">
  <random:someProperty rdf:resource="http://random.ioctl.org/#foo"><!--
      A comment

 Even with a comment or a processing instruction within an empty
 property element, it is still empty because an RDF Parser ignores
 the processing instruction and comment nodes when not within an 
 XML Literal.

--></random:someProperty>
</rdf:Description>

</rdf:RDF>

⌨️ 快捷键说明

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