\hypertarget{list}{}\subsection{list}\label{list}
An xs:list is mapped into an rdf:List. Lists assume whitespace separated content in the XML instance. In the case of lists of xs:string, the string value is separated into separate string tokens.



\begin{DocInclude}\begin{verbatim}<?xml version="1.0" encoding="UTF-8"?>
<list xmlns="http://example.org/">
        foo
        bar
</list>

\end{verbatim}
\end{DocInclude}
 

\begin{DocInclude}\begin{verbatim}# Base: http://example.org/list.xml
@prefix ns1:     <http://example.org/def/> .
@prefix xs:      <http://www.w3.org/2001/XMLSchema> .
@prefix ns2:     <http://example.org/> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xs_:     <http://www.w3.org/2001/XMLSchema#> .
@prefix :        <#> .

<>    ns2:list ("foo"^^xs_:string "bar"^^xs_:string) .
\end{verbatim}
\end{DocInclude}


The mapping into OWL does not currently define lists for specific datatypes.



\begin{DocInclude}\begin{verbatim}<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org/" >

        <xs:element name="list">        
                <xs:simpleType>
                        <xs:list itemType="xs:string"/>
                </xs:simpleType>
        </xs:element>

</xs:schema>
\end{verbatim}
\end{DocInclude}
 

\begin{DocInclude}\begin{verbatim}# Base: http://example.org/list.owl
@prefix ns1:     <http://example.org/def/> .
@prefix xs:      <http://www.w3.org/2001/XMLSchema> .
@prefix ns2:     <http://example.org/> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix daml:    <http://www.daml.org/2001/03/daml+oil#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xs_:     <http://www.w3.org/2001/XMLSchema#> .
@prefix :        <#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .

ns2:list
      a       owl:ObjectProperty , rdf:Property ;
      rdfs:range rdf:List .

<>    a       owl:Ontology .
\end{verbatim}
\end{DocInclude}
\hypertarget{list_annotationChildren}{}\subsubsection{Child components}\label{list_annotationChildren}
\begin{itemize}
\item \hyperlink{annotation}{annotation}\item \hyperlink{simpletype}{simple\-Type} \end{itemize}
