Skip to content

Instantly share code, notes, and snippets.

@tingletech
Created April 13, 2011 04:21
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 tingletech/916958 to your computer and use it in GitHub Desktop.
Save tingletech/916958 to your computer and use it in GitHub Desktop.
owl:sameAs via HTML5 microdata
<div class="related" item="item">
<link itemprop="about"
href="http://socialarchive.iath.virginia.edu/xtf/view?docId=Eisenhower+Dwight+D+Dwight+David+1890-1969-cr.xml#entity"></link>
<div class="arcrole">sameAs</div>
<a itemprop="http://www.w3.org/2002/07/owl#sameAs"
title="Virtual International Authority File"
href="http://viaf.org/viaf/100176316">http://viaf.org/viaf/100176316</a>
</div>
<div class="related"
about="http://socialarchive.iath.virginia.edu/xtf/view?docId=Eisenhower+Dwight+D+Dwight+David+1890-1969-cr.xml#entity">
<div class="arcrole">sameAs</div>
<a xmlns:owl="http://www.w3.org/2002/07/owl#"
rel="owl:sameAs"
title="Virtual International Authority File"
href="http://viaf.org/viaf/100176316">http://viaf.org/viaf/100176316</a>
</div>
@rubinsztajn
Copy link

Try this for better results: https://gist.github.com/917944

A good tool for testing RDFa is the w3c RDFa distiller: http://www.w3.org/2007/08/pyRdfa/#distill_by_input

@tingletech
Copy link
Author

Thanks for your help!; I've updated the example above and tested it with the distiller.

@rubinsztajn
Copy link

My pleasure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment