W3C home > Mailing lists > Public > public-rdfa@w3.org > June 2012

Conflicting results given for rdfa.info test 0180.html

From: Dan Brickley <danbri@danbri.org>
Date: Tue, 26 Jun 2012 16:28:55 +0200
Message-ID: <CAFfrAFpXGfEqbsRLyUEJvg=v4JUVngy56d=66nwoKLLOjKrTwQ@mail.gmail.com>
To: public-rdfa@w3.org, ivan@w3.org, Manu Sporny <msporny@digitalbazaar.com>
Relaying this from a Google colleague working on the rdfa tests. If
you could confirm the correct behaviour (and what's up with pyRdfa if
it's wrong) that'd be great...

My personal intuition was that the SPARQL results are correct, but
I've been wrong before so thought it best to ask!

cheers,

Dan


"""I see two conflicting results given for rdfa.info test 0180.html
(http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0180.html):

Source document:
<!DOCTYPE html> <html> <head> <title>Test 0180</title> <base
href="http://example.org/"/> </head> <body> <div about ="#me"
prefix=": http://xmlns.com/foaf/0.1/" > <p property=":name">Ivan
Herman</p> </div> </body> </html>

The pyRdfa results are
(http://www.w3.org/2012/pyRdfa/extract?uri=http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0180.html):
@prefix xhv: <http://www.w3.org/1999/xhtml/vocab#> .
<http://example.org/#me> xhv:name "Ivan Herman" .

But the SPARQL results are
(http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0180.sparql):
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .

Note the difference in the predicate. Shouldn't it be
"http://www.w3.org/1999/xhtml/vocab#name"? """
Received on Tuesday, 26 June 2012 14:29:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:09 UTC