Post details: Generating RDFa from RDF
2008-10-21
Generating RDFa from RDF
Can you suggest tools or web services for generating RDFa content from RDF?
Extracting RDF statements from (X)HTML+RDFa is a common task and that’s what many RDFa tools do. An example of such service is the W3C RDFa distiller service by Ivan Herman.
What about a “RDFa fusion” tool which gets (X)HTML and RDF content as input and produces (X)HTML+RDFa?
In domain specific situations one can use templating for inserting bits of RDFa in relevant places of (X)HTML markup. An example is the FOAF/RDF to FOAF/RDFa converter by Michael Hausenblas.
But that will not work in a general case when the structure of (X)HTML document is not known in advance.
Related:
- RDFa in XHTML is a W3C Recommendation [W3C Semantic Web Activity news]
- Templating Microformats from RDF by Danny Ayers where I spotted a link to Michael’s FOAF/RDF to RDFa converter
Comments, Pingbacks:
Comment from: Richard Cyganiak [Visitor]
· http://dowhatimean.net/
This is a hard problem, because RDF in general doesn't contain any layout information, but RDFa needs layout information because the RDF statements are embedded in HTML layout.
Rendering RDF without domain information usually doesn't produce very good results. Therefore, I wonder a bit how useful such a service would be.
Maybe you can explain why you want to do this in the first place.
Rendering RDF without domain information usually doesn't produce very good results. Therefore, I wonder a bit how useful such a service would be.
Maybe you can explain why you want to do this in the first place.
I am talking about a situation when we already have HTML and RDF, and want to fuse them together by using RDFa.
An example situation is FOAF and SIOC data which many sites currently expose as external metadata. It might take a bit before all these sites convert to RDFa but it would be good if services which can consume RDFa (e.g., SearchMonkey) could make use of this data right away.
Can you not encode arbitrary RDF as HTML+RDFa? Assuming that humans are only concerned with what is visible and machines are only concerned with statements extracted from the document (visibility of which is not a requirement as such) is there any "stakeholder" who cares if RDF statements are associated with a particular DOM node?
P.S. I am not talking here about a UI for visualizing RDF which may not have a good generic solution. This post is just about using a web page as a carrier of RDF data for consumption by RDFa-aware applications.
An example situation is FOAF and SIOC data which many sites currently expose as external metadata. It might take a bit before all these sites convert to RDFa but it would be good if services which can consume RDFa (e.g., SearchMonkey) could make use of this data right away.
Can you not encode arbitrary RDF as HTML+RDFa? Assuming that humans are only concerned with what is visible and machines are only concerned with statements extracted from the document (visibility of which is not a requirement as such) is there any "stakeholder" who cares if RDF statements are associated with a particular DOM node?
P.S. I am not talking here about a UI for visualizing RDF which may not have a good generic solution. This post is just about using a web page as a carrier of RDF data for consumption by RDFa-aware applications.
Comment from: Christoph Lange [Visitor]
· http://kwarc.info/clange/
I think that's very interesting if the XHTML is generated from some semantic source. A related case that makes me interested in this (and that made me retrieve this page via Google) is the processing of semantic markup. In our setting, we have documents in a semantic markup language and want to do several things with them:
- presenting them to humans (i.e. as XHTML)
- extracting RDF structures from them (for queries)
Leave a comment:
captsolo weblog
See also:
- My homepage (captsolo.net)
- @CaptSolo on Twitter
- FriendFeed profile
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
| << < | > >> | |||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |
Search
Gallery
www.flickr.com
|
Categories
Archives
- December 2008 (2)
- November 2008 (5)
- October 2008 (10)
- August 2008 (1)
- July 2008 (4)
- June 2008 (1)
- May 2008 (5)
- April 2008 (2)
- March 2008 (2)
- February 2008 (2)
- January 2008 (1)
- December 2007 (1)
- More...
- more...

