Created
April 13, 2011 04:21
-
-
Save tingletech/916958 to your computer and use it in GitHub Desktop.
owl:sameAs via HTML5 microdata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
Thanks for your help!; I've updated the example above and tested it with the distiller.
My pleasure!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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