Skip to content

Instantly share code, notes, and snippets.

@ldodds
Created September 28, 2012 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ldodds/3799981 to your computer and use it in GitHub Desktop.
Save ldodds/3799981 to your computer and use it in GitHub Desktop.
Artisanal Integer Schema
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#">
<rdfs:Class rdf:about="http://artisanalintegers.com/schema.rdf#Integer">
<rdfs:label xml:lang="en">An Artisanal Integer</rdfs:label>
<rdfs:comment>Represents an Artisanal Integer</rdfs:comment>
</rdfs:Class>
<rdf:Property rdf:about="http://artisanalintegers.com/schema.rdf#value">
<rdfs:label xml:lang="en">Artisanal Integer value</rdfs:label>
<rdfs:comment>The unsigned 64-bit Artisanal Integer value</rdfs:comment>
<rdfs:domain rdf:resource="http://artisanalintegers.com/schema.rdf#Integer"/>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#InverseFunctionalProperty"/>
</rdf:Property>
<rdf:Property rdf:about="http://artisanalintegers.com/schema.rdf#claims">
<rdfs:label xml:lang="en">Claiming an Artisanal Integer</rdfs:label>
<rdfs:comment>When you use an Artisanal Integer and want to announce that.</rdfs:comment>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
<rdfs:domain rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
<rdfs:range rdf:resource="http://artisanalintegers.com/schema.rdf#Integer"/>
</rdf:Property>
</rdf:RDF>
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
<http://artisanalintegers.com/schema.rdf#Integer>
a rdfs:Class ;
rdfs:comment "Represents an Artisanal Integer" ;
rdfs:label "An Artisanal Integer"@en .
<http://artisanalintegers.com/schema.rdf#claims>
a rdf:Property, owl:ObjectProperty ;
rdfs:comment "When you use an Artisanal Integer and want to announce that." ;
rdfs:domain owl:Thing ;
rdfs:label "Claiming an Artisanal Integer"@en ;
rdfs:range <http://artisanalintegers.com/schema.rdf#Integer> .
<http://artisanalintegers.com/schema.rdf#value>
a rdf:Property, owl:DatatypeProperty, owl:InverseFunctionalProperty ;
rdfs:comment "The unsigned 64-bit Artisanal Integer value" ;
rdfs:domain <http://artisanalintegers.com/schema.rdf#Integer> ;
rdfs:label "Artisanal Integer value"@en ;
rdfs:range rdfs:Literal .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment