<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:ex="http://www.example.org#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<owl:AllDifferent rdf:about="http://www.example.org#z">
<owl:members rdf:parseType="Collection">
<rdf:Description rdf:about="http://www.example.org#w1">
<owl:sameAs rdf:resource="http://www.example.org#w2"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.example.org#w2"/>
<rdf:Description rdf:about="http://www.example.org#w3"/>
</owl:members>
</owl:AllDifferent>
</rdf:RDF>