Skip to content

Instantly share code, notes, and snippets.

@balhoff
Created February 18, 2011 16:27
Show Gist options
  • Save balhoff/833918 to your computer and use it in GitHub Desktop.
Save balhoff/833918 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:ns2="http://www.w3.org/2000/01/rdf-schema#" xmlns:ns0="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns1="http://example.org/">
<ns0:AnnotationProperty rdf:about="http://example.org/describe_state"/>
<ns0:Class rdf:about="http://example.org/phenotype1">
<ns1:describe_state>
<ns1:state rdf:about="http://example.org/state1">
<ns2:label>leg has more than 10 and less than 30 setae</ns2:label>
</ns1:state>
</ns1:describe_state>
<ns0:equivalentClass>
<ns0:Class>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Restriction"/>
<ns0:onProperty rdf:resource="http://example.org/has_part"/>
<ns0:someValuesFrom rdf:nodeID="g2165066920"/>
</ns0:Class>
</ns0:equivalentClass>
</ns0:Class>
<ns0:Class rdf:about="http://example.org/state"/>
<ns0:Class rdf:about="http://example.org/leg"/>
<ns0:Class rdf:about="http://example.org/seta"/>
<ns0:Class rdf:nodeID="g2165070100">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Restriction"/>
<ns0:maxQualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">30</ns0:maxQualifiedCardinality>
<ns0:onClass rdf:resource="http://example.org/seta"/>
<ns0:onProperty>
<ns0:ObjectProperty rdf:about="http://example.org/has_part"/>
</ns0:onProperty>
</ns0:Class>
<ns0:Class rdf:nodeID="g2165066920">
<ns0:intersectionOf rdf:parseType="Collection">
<rdf:Description rdf:about="http://example.org/leg"/>
<ns0:Class>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Restriction"/>
<ns0:minQualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">10</ns0:minQualifiedCardinality>
<ns0:onClass rdf:resource="http://example.org/seta"/>
<ns0:onProperty rdf:resource="http://example.org/has_part"/>
</ns0:Class>
<rdf:Description rdf:about="_:g2165070100"/>
</ns0:intersectionOf>
</ns0:Class>
</rdf:RDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment