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:foaf="http://xmlns.com/foaf/0.1/">
	<head>
		<title>Test 0009</title>
    	<link about="http://example.org/people#Person1"
          	  rev="foaf:knows" href="http://example.org/people#Person2" />

  </head>
  <body>
  	<p></p>
  </body>
</html>

  

Triples (N3 format)


@prefix _5: <http://example.org/people#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.

 _5:Person2 foaf:knows _5:Person1. 
  

SPARQL (PASSED)

ASK WHERE {
	<http://example.org/people#Person2> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person1> .
}