test.rdf

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

RDF
78
字号
<?xml version='1.0' encoding='ISO-8859-1'?>

<!DOCTYPE rdf:RDF [
    <!ENTITY xsd  'http://www.w3.org/2001/XMLSchema#'>
]>

<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:dc  ="http://purl.org/dc/elements/1.1/"
  xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
  xmlns     ="http://jena.hpl.hp.com/testing/ontology#"
  xml:base  ="http://jena.hpl.hp.com/testing/ontology"
>

<daml:Ontology rdf:about="">
	<daml:versionInfo>CVS $Id: test.rdf,v 1.2 2004/02/08 18:36:11 ian_dickinson Exp $</daml:versionInfo>
</daml:Ontology>

<daml:Property rdf:ID="p">
</daml:Property>

<rdf:Property rdf:ID="rdf-p">
</rdf:Property>

<daml:ObjectProperty rdf:ID="op">
</daml:ObjectProperty>

<daml:ObjectProperty rdf:ID="op1">
</daml:ObjectProperty>

<daml:DatatypeProperty rdf:ID="dp">
</daml:DatatypeProperty>

<A rdf:ID="A0" />
<A rdf:ID="A1" />
<C rdf:ID="C0" />

<daml:Class rdf:ID="A">
	<daml:intersectionOf rdf:parseType="Collection">
		<daml:Class rdf:ID="X0" />
		<daml:Class rdf:ID="X1" />
	</daml:intersectionOf>
</daml:Class>

<daml:Class rdf:ID="B">
	<daml:unionOf rdf:parseType="Collection">
		<daml:Class rdf:ID="Y0" />
		<daml:Class rdf:ID="Y1" />
	</daml:unionOf>
</daml:Class>

<daml:Class rdf:ID="C">
	<daml:complementOf>
		<daml:Class rdf:ID="Z" />
	</daml:complementOf>
</daml:Class>

<daml:Class rdf:ID="D">
	<daml:oneOf rdf:parseType="Collection">
		<X0 rdf:ID="a0" />
		<X0 rdf:ID="a1" />
		<X0 rdf:ID="a2" />
	</daml:oneOf>
</daml:Class>

<daml:Class rdf:ID="E">
	<rdfs:subClassOf>
		<daml:Restriction>
			<daml:onProperty rdf:resource="#p" />
			<daml:hasValue rdf:datatype="&xsd;int">42</daml:hasValue>
		</daml:Restriction>
	</rdfs:subClassOf>
</daml:Class>


</rdf:RDF>

⌨️ 快捷键说明

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