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:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0054</title>
</head>
<body>
<p>
This document was authored and published by
<span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
</p>
</body>
</html>
Triples (N3 format)
@prefix _5: <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0054.>.
@prefix dc: <http://purl.org/dc/elements/1.1/>.
_5:xhtml dc:creator "Fabien Gandon";
dc:publisher "Fabien Gandon".
SPARQL (PASSED)
ASK WHERE {
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0054.xhtml> <http://purl.org/dc/elements/1.1/creator> "Fabien Gandon" .
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0054.xhtml> <http://purl.org/dc/elements/1.1/publisher> "Fabien Gandon" .
}