Skip to content

Instantly share code, notes, and snippets.

@solars
Created November 7, 2016 16:26
Show Gist options
  • Save solars/88da1316c26b23970364984a5cf36379 to your computer and use it in GitHub Desktop.
Save solars/88da1316c26b23970364984a5cf36379 to your computer and use it in GitHub Desktop.
<rdf:RDF
xmlns:rdf="http.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http.w3.org/2000/01/rdf-schema#"
xmlns:uni="http://uibk.ac.at/uni#">
<rdfs:Class rdf:about="uni#person">
</rdfs:Class>
<rdf:Property rdf:about="uni#firstname" >
<rdfs:domain rdf:resource="uni#person"/>
<rdfs:range rdf:resource="rdfs:Literal"/>
</rdf:Property>
<rdf:Property rdf:about="uni#lastname" >
<rdfs:label>Lastname</rdfs:label>
<rdfs:domain rdf:resource="uni#person"/>
<rdfs:range rdf:resource="rdfs:Literal"/>
</rdf:Property>
<rdfs:Class rdf:about="uni#student">
<rdfs:subClassOf rdf:resource="uni#person"/>
</rdfs:Class>
<rdfs:Class rdf:about="uni#teacher">
<rdfs:subClassOf rdf:resource="uni#person"/>
</rdfs:Class>
<rdfs:Class rdf:about="uni#professor">
<rdfs:subClassOf rdf:resource="academicStaffMember"/>
</rdfs:Class>
<rdfs:Class rdf:about="uni#course">
</rdfs:Class>
<rdf:Property rdf:about="uni#name" >
<rdfs:label>Course Name</rdfs:label>
<rdfs:domain rdf:resource="uni#course"/>
<rdfs:range rdf:resource="rdfs:Literal"/>
</rdf:Property>
<rdf:Property rdf:about="uni#identifier" >
<rdfs:label>Course ID</rdfs:label>
<rdfs:domain rdf:resource="uni#course"/>
<rdfs:range rdf:resource="rdfs:Literal"/>
</rdf:Property>
<rdfs:Class rdf:about="uni#university">
</rdfs:Class>
<rdfs:Property rdf:about="uni#attends">
<rdfs:domain rdf:resource="uni#student"/>
<rdfs:range rdf:resource="uni#course"/>
</rdfs:Property>
<rdfs:Property rdf:about="uni#teaches">
<rdfs:domain rdf:resource="uni#professsor"/>
<rdfs:range rdf:resource="uni#course"/>
</rdfs:Property>
<rdfs:Property rdf:about="uni#offers">
<rdfs:domain rdf:resource="uni#university"/>
<rdfs:range rdf:resource="uni#course"/>
</rdfs:Property>
</rdf:RDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment