venukb / any23

Automatically exported from code.google.com/p/any23
Apache License 2.0
0 stars 0 forks source link

RDFa converter outputs literals when URIs are expected #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
In any23.org, paste the attached file wikimachine.html and convert it.

What is the expected output? What do you see instead?
EXPECTED = _:node166co2u46x4372 foaf:page <http://en.wikipedia.org/New_York> .
ACTUAL = _:node166co2u46x4372 foaf:page "New_York" .

What version of the product are you using?
Current available Web Service.

Original issue reported on code.google.com by hell.j....@gmail.com on 5 Aug 2011 at 1:48

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by michele.mostarda on 10 Aug 2011 at 9:06

GoogleCodeExporter commented 9 years ago
It seems the 'href' attribute is not correctly processed.
In the attached wm.ttl, I noticed another issue:

<http://en.wikipedia.org/wiki/Elizabeth_Banks> foaf:name "Elizabeth" .

This transformation is wrong because it takes the 'href' attribute as subject 
of the triple, while the real subject must be inherited from the parent <span> 
node in the 'about' attribute (see wm.html)

Original comment by hell.j....@gmail.com on 7 Oct 2011 at 1:26

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed at revision r1546 with new RDFa 1.1 Extractor.

Original comment by michele.mostarda on 20 Nov 2011 at 5:51