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:ex="http://example.org/">
<head about="">
<title>Test 0012</title>
<meta about="http://example.org/node" property="ex:property" xml:lang="fr" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
N3 Triples
@prefix ex: <http://example.org/>.
ex:node ex:property "chat"@fr.
RDF
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF
xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
xmlns:ex='http://example.org/'
>
<rdf:Description rdf:about="http://example.org/node">
<ex:property xml:lang="fr">chat</ex:property>
</rdf:Description>
</rdf:RDF>
SPARQL (PASSED)
ASK FROM <http://www.w3.org/2007/08/pyRdfa/extract?uri=http%3A//www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0012.xhtml> WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}