XHTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
  xmlns:cc="http://creativecommons.org/ns#">
	<head>
		<title>Test 0008</title>
	</head>
  <body>
  	<p>This document is licensed under a
  		<a 	about="" rel="cc:license"
    		href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
       		Creative Commons
  		</a>.
  	</p>	
  </body>
</html>

  

Triples (N3 format)


@prefix _5: <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0008.>.
@prefix cc: <http://creativecommons.org/ns#>.

 _5:xhtml cc:license <http://creativecommons.org/licenses/by-nc-nd/2.5/>. 
  

SPARQL (PASSED)

ASK WHERE {
	<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0008.xhtml> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> .
}