Imported from backplanejs Google Code issue 61.
The RDFa API supports document.getElementsByProperty() which returns a list of DOM elements that have a particular property value.
See:
http://www.w3.org/TR/2010/WD-rdfa-api-20100608/#document-interface-extensions