Skip to content

Instantly share code, notes, and snippets.

@jmcanterafonseca
Last active August 29, 2015 14:22
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 jmcanterafonseca/c6336a4a408fc7cac538 to your computer and use it in GitHub Desktop.
Save jmcanterafonseca/c6336a4a408fc7cac538 to your computer and use it in GitHub Desktop.
Schema definition example - GSMA IDE Project
<div typeof="rdfs:Class" resource="http://data.gsma.org/Incident">
<span class="h" property="rdfs:label">Incident</span>
<span property="rdfs:comment">A generic incident</span>
</div>
<div typeof="rdfs:Class" resource="http://data.gsma.org/TrafficIncident">
<span class="h" property="rdfs:label">Traffic Incident</span>
<span>Subclass of: <a property="rdfs:subClassOf" href="http://data.gsma.org/Incident">Incident</a></span>
<span property="rdfs:comment">Traffic Incident</span>
</div>
<div typeof="rdf:Property" resource="http://data.gsma.org/unitCode">
<span class="h" property="rdfs:label">unitCode</span>
<span property="rdfs:comment">
The unit of measurement given using the UN/CEFACT Common Code (3 characters).
</span>
<span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes"
href="http://schema.org/PropertyValue">PropertyValue</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes"
href="http://schema.org/Text">Text</a></span>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment