premises003.rdf
来自「jena2.5.4推理机系统的一种最基本实现 HP实验室出品」· RDF 代码 · 共 94 行
RDF
94 行
<?xml version="1.0"?>
<!DOCTYPE rdf:RDF [
<!ENTITY eg 'urn:x-hp:eg/'>
<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
<!ENTITY xsd 'http://www.w3.org/2001/XMLSchema#'>
<!ENTITY owl "http://www.w3.org/2002/07/owl#" >
]>
<rdf:RDF xmlns:rdf="&rdf;" xmlns:rdfs="&rdfs;" xmlns:xsd="&xsd;" xmlns:owl="&owl;"
xml:base="urn:x-hp:eg/" xmlns="⪚">
<owl:Class rdf:about="⪚Computer">
<rdfs:subClassOf>
<rdf:Description>
<owl:intersectionOf rdf:parseType="Collection">
<owl:Restriction>
<owl:onProperty rdf:resource="⪚hasMotherBoard"/>
<owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxCardinality>
</owl:Restriction>
</owl:intersectionOf>
</rdf:Description>
</rdfs:subClassOf>
</owl:Class>
<owl:Class rdf:about="⪚MotherBoard" />
<owl:Class rdf:about="⪚GraphicsCard" />
<owl:Class rdf:about="⪚Bundle" />
<owl:Class rdf:about="⪚GameBundle">
<rdfs:subClassOf rdf:resource="⪚Bundle" />
</owl:Class>
<owl:GraphicsCard rdf:about="⪚budgetGraphics" />
<owl:GraphicsCard rdf:about="⪚gamingGraphics" />
<owl:GraphicsCard rdf:about="⪚DTPGraphics" />
<owl:ObjectProperty rdf:about="⪚hasComponent">
<rdf:type rdf:resource="&owl;TransitiveProperty" />
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="⪚hasGraphics">
<rdfs:range rdf:resource="⪚GraphicsCard" />
<rdfs:subPropertyOf rdf:resource="⪚hasComponent" />
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="⪚hasMotherBoard">
<rdfs:range rdf:resource="⪚MotherBoard" />
<rdfs:domain rdf:resource="⪚Computer" />
<rdfs:subPropertyOf rdf:resource="⪚hasComponent" />
</owl:ObjectProperty>
<owl:ObjectProperty rdf:about="⪚hasBundle">
<rdfs:domain rdf:resource="⪚Computer" />
</owl:ObjectProperty>
<owl:Class rdf:about="⪚GamingComputer">
<owl:equivalentClass>
<rdf:Description>
<owl:intersectionOf rdf:parseType="Collection">
<owl:Restriction>
<owl:onProperty rdf:resource="⪚hasComponent" />
<owl:hasValue rdf:resource="⪚gamingGraphics" />
</owl:Restriction>
<owl:Restriction>
<owl:onProperty rdf:resource="⪚hasBundle" />
<owl:someValuesFrom rdf:resource="⪚GameBundle" />
</owl:Restriction>
<owl:Class rdf:about="⪚Computer" />
</owl:intersectionOf>
</rdf:Description>
</owl:equivalentClass>
</owl:Class>
<Computer rdf:about="⪚whiteBoxZX">
<hasMotherBoard rdf:resource="⪚nForce" />
<hasBundle>
<GameBundle rdf:about="⪚actionPack" />
</hasBundle>
</Computer>
<Computer rdf:about="⪚whiteBoxZX">
<hasMotherBoard>
<rdf:Description rdf:about="⪚unknownMB" >
<hasGraphics rdf:resource="⪚gamingGraphics" />
</rdf:Description>
</hasMotherBoard>
</Computer>
</rdf:RDF>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?