r3 XML Schema Documentation

Table of Contents



| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Schema Document Properties

Target Namespace http://www.semwebtech.org/lang/2006/logic
Version 0.12
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema imports schema(s) from the following namespace(s):
    • http://www.w3.org/1999/02/22-rdf-syntax-ns# (at rdf.xsd)

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
xsd http://www.w3.org/2001/XMLSchema
log http://www.semwebtech.org/lang/2006/logic
rdf http://www.w3.org/1999/02/22-rdf-syntax-ns#
Schema Component Representation
<xsd:schema targetNamespace="http://www.semwebtech.org/lang/2006/logic" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.12">
<xsd:import namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#" schemaLocation="rdf.xsd"/>
...
</xsd:schema>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Global Schema Components

Model Group: Response

Name Response
XML Instance Representation
Start Choice [1]
<log:answers> ... </log:answers> [1]
<log:answer> ... </log:answer> [1]
<log:variable-bindings> ... </log:variable-bindings> [1]
<log:result> ... </log:result> [1]
Allow any element(s) from a namespace other than this schema's namespace (lax validation). [1]
End Choice
Schema Component Representation
<xsd:group name="Response">
<xsd:choice>
<xsd:element ref=" log:answers "/>
<xsd:element ref=" log:answer "/>
<xsd:element ref=" log:variable-bindings "/>
<xsd:element ref=" log:result "/>
<xsd:any namespace="##other" processContents="lax"/>
</xsd:choice>
</xsd:group>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Element: answers

Name answers
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<log:answers>
<log:answer> ... </log:answer> [0..*]
</log:answers>
Schema Component Representation
<xsd:element name="answers">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=" log:answer " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Element: answer

Name answer
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<log:answer>
Start Choice [1]
<log:variable-bindings> ... </log:variable-bindings> [1]
Start Sequence [1]
<log:result> ... </log:result> [1]
<log:variable-bindings> ... </log:variable-bindings> [0..1]
End Sequence
End Choice
</log:answer>
Schema Component Representation
<xsd:element name="answer">
<xsd:complexType>
<xsd:choice>
<xsd:element ref=" log:variable-bindings "/>
<xsd:sequence>
<xsd:element ref=" log:result "/>
<xsd:element ref=" log:variable-bindings " minOccurs="0"/>
</xsd:sequence>
</xsd:choice>
</xsd:complexType>
</xsd:element>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Element: result

Name result
Type rdf:XMLLiteral
Nillable no
Abstract no
XML Instance Representation
<log:result
rdf:parseType="Literal [0..1]"
xml:space="[preserve] [0..1]">
<!-- Mixed content -->
Start Sequence [0..*]
Allow any element(s) from any namespace (lax validation). [1]
End Sequence
</log:result>
Schema Component Representation
<xsd:element name="result" type=" rdf:XMLLiteral "/>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |

Element: variable-bindings

Name variable-bindings
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<log:variable-bindings>
<log:tuple> [1..*]
<log:variable
rdf:parseType="Literal [0..1]"
xml:space="[preserve] [0..1]"
name=" xsd:string [1]"> [1..*]
<!-- Mixed content -->
Start Sequence [0..*]
Allow any element(s) from any namespace (lax validation). [1]
End Sequence
</log:variable>
</log:tuple>
</log:variable-bindings>
Schema Component Representation
<xsd:element name="variable-bindings">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="tuple" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="variable" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base=" rdf:XMLLiteral ">
<xsd:attribute name="name" type=" xsd:string " use="required"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>


| XML Instances: Expand / Collapse All | Schema Components: Expand / Collapse All | Page: Normal / Printer-friendly Version | TOP |