What is a good Javascript RDFa parser implementation?
Asked Answered
P

2

6

I am looking to implement a client side RDFa based formatting for a web application. This would be similar to Mark Birbeck's ubiquity-rdfa project.

Mark's project looks fantastic but it has at least two drawbacks:

  1. It is slow. Adding RDFa formatting to a simple page causes a noticeable delay in page loading.
  2. It is complex. The ubiquity-rdfa project makes use of the w3c fresnel specification which is complex way to add simple annotations to client markup.

I am looking for a lighter weight way of adding annotations through client code and I don't mind doing some work to get it.

What I would like is a fast and reliable Javascript RDFa parser.

Some implementations that I have found include:

I am interested to know if you would recommend one of these, or another, RDFa Javascript implementation.

Thanks!

Petroleum answered 16/4, 2009 at 16:55 Comment(1)
See also W3C Comparison of RDFJS librariesFarouche
M
4

I had good experiences with the RDfa parser in rdfQuery. Source code is here.

Mariellemariellen answered 5/6, 2010 at 12:45 Comment(0)
N
2

VIE contains a reasonably simple RDFa parser and writer. RDFa entities on a page become accessible as Backbone.js models and collections. Writing RDFa happens via updating Backbone model contents, which triggers a render action on a View.

In this case the RDFa parsing happens with jQuery.

VIE source code is available in github.com/bergie/VIE

Noletta answered 7/3, 2011 at 19:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.