Skip to content

Instantly share code, notes, and snippets.

@erochest
Forked from jeremyboggs/slab-hcard.html
Last active December 20, 2015 15:59
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 erochest/6158608 to your computer and use it in GitHub Desktop.
Save erochest/6158608 to your computer and use it in GitHub Desktop.
<address class="vcard" vocab="http://www.w3.org/2006/vcard/ns#" resource="http://scholarslab.org/" typeof="Organization">
<span class="org fn">
<a class="url organization-name" href="http://scholarslab.org/">
<span property="formattedName">Scholars’ Lab</span>
</a>
<a class="organization-unit extended-address" href="http://lib.virginia.edu/" property="hasOrganizationName" resource="http://lib.virginia.edu/" typeof="Organization">
<span property="formattedName">University of Virginia Library</span>
</a>
</span>
<span property="hasAddress" typeof="Work">
<span class="street-address" property="streetAddress">P.O. Box 400129</span>,
<span class="locality" property="locality">Charlottesville</span>,
<abbr title="Virginia" class="region" property="region" content="Virginia">VA</abbr>
<span class="postal-code" property="postalCode">22904-4129</span>
</span>
<span class="tel" property="hasTelephone" typeof="Work Voice">
<span property="telephone">434.243.8800</span>
<abbr class="type" title="work">(T)</abbr>
</span>
<span class="tel" property="hasTelephone" typeof="Fax">
<span property="telephone">434.924.1431</span>
<abbr class="type" title="fax">(F)</abbr>
</span>
<ul class="elsewhere">
<li><a class="url twitter" href="http://twitter.com/scholarslab" property="url">Twitter</a></li>
<li><a class="url facebook" href="https://www.facebook.com/scholarslab" property="url">Facebook</a></li>
<li><a class="url google" href="https://plus.google.com/114472010795641313811" property="url">Google</a></li>
<li><a class="url vimeo" href="https://vimeo.com/scholarslab" property="url">Vimeo</a></li>
<li><a class="url github" href="http://github.com/scholarslab/" property="url">Github</a></li>
</ul>
</address>
@prefix cc: <http://creativecommons.org/ns#> .
@prefix ctag: <http://commontag.org/ns#> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix dc11: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix gr: <http://purl.org/goodrelations/v1#> .
@prefix grddl: <http://www.w3.org/2003/g/data-view#> .
@prefix ical: <http://www.w3.org/2002/12/cal/icaltzd#> .
@prefix ma: <http://www.w3.org/ns/ma-ont#> .
@prefix og: <http://ogp.me/ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfa: <http://www.w3.org/ns/rdfa#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rev: <http://purl.org/stuff/rev#> .
@prefix rif: <http://www.w3.org/2007/rif#> .
@prefix rr: <http://www.w3.org/ns/r2rml#> .
@prefix schema: <http://schema.org/> .
@prefix sd: <http://www.w3.org/ns/sparql-service-description#> .
@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix skosxl: <http://www.w3.org/2008/05/skos-xl#> .
@prefix v: <http://rdf.data-vocabulary.org/#> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@prefix void: <http://rdfs.org/ns/void#> .
@prefix wdr: <http://www.w3.org/2007/05/powder#> .
@prefix wdrs: <http://www.w3.org/2007/05/powder-s#> .
@prefix xhv: <http://www.w3.org/1999/xhtml/vocab#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<file:///Users/err8n/p/hcard-rdfa/slab-hcard.html> rdfa:usesVocabulary vcard: .
<http://scholarslab.org/> a vcard:Organization ;
vcard:formattedName "Scholars’ Lab" ;
vcard:hasAddress [ a vcard:Work ;
vcard:locality "Charlottesville" ;
vcard:postalCode "22904-4129" ;
vcard:region "Virginia" ;
vcard:streetAddress "P.O. Box 400129" ] ;
vcard:hasOrganizationName <http://lib.virginia.edu/> ;
vcard:hasTelephone [ a vcard:Fax ;
vcard:telephone "434.924.1431" ],
[ a vcard:Voice,
vcard:Work ;
vcard:telephone "434.243.8800" ] ;
vcard:url <http://github.com/scholarslab/>,
<http://twitter.com/scholarslab>,
<https://plus.google.com/114472010795641313811>,
<https://vimeo.com/scholarslab>,
<https://www.facebook.com/scholarslab> .
<http://lib.virginia.edu/> a vcard:Organization ;
vcard:formattedName "University of Virginia Library" .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment