<?xml version="1.0" encoding="UTF-8"?> <list xmlns="http://example.org/"> foo bar </list>
# 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) .
The mapping into OWL does not currently define lists for specific datatypes.
<?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>
# 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 .