test001.rdf

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

RDF
41
字号
<?xml version="1.0"?>
<!--
  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>

  Author: Dan Connolly

  Description: the purpose of this test case is to show
  how one of XML's Predefined Entities - in this case the
  ampersand - is represented when it is used in the value of
  an rdf:about attribute.  The ampersand is represented
  by its numeric character reference as specified in:

   http://www.w3.org/TR/REC-xml#sec-predefined-ent

  In the associated N-Triples file, the ampersand will be
  represented with a single ampersand character (and not the
  ampersand's numeric character reference).

  Note: when a XML/HTML browser is used to display this file,
  a single ampersand character may be displayed and not the
  ampersand's numeric character reference.  In this case, the
  browser may provide an alternate way to view the file (such
  as viewing the file's source or saving to a file).

  $Id: test001.rdf,v 1.2 2005/08/04 09:53:24 jeremy_carroll Exp $
-->
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

  <rdf:Description rdf:about="http://example/q?abc=1&#38;def=2">
    <rdf:value>xxx</rdf:value>
  </rdf:Description>

</rdf:RDF>

⌨️ 快捷键说明

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