Dare Obasanjo has responded to my post Format Debt: what you can't say by asking "Can RDF really save us from data format proliferation?". Quoting him, quoting me*:
"Bill de hÓra has a blog post entitled Format Debt: what you can't say where he writes
The closest thing to a deployable web technology that might improve describing these kind of data mashups without parsing at any cost or patching is RDF. Once RDF is parsed it becomes a well defined graph structure - albeit not a structure most web programmers will be used to, it is however the same structure regardless of the source syntax or the code and the graph structure is closed under all allowed operations.
If we take the example of MediaRSS, which is not consistenly used or placed in syndication and API formats, that class of problem more or less evaporates via RDF. Likewise if we take the current Zoo of contact formats and our seeming inability to commit to one, RDF/OWL can enable a declarative mapping between them. Mapping can reduce the number of man years it takes to define a "standard" format by not having to bother unifying "standards" or getting away with a few thousand less test cases.
I've always found this particular argument by RDF proponents to be suspect. When I complained about the the lack of standards for representing rich media in Atom feeds, the thrust of the complaint is that you can't just plugin a feed from Picassa into a service that understands how to process feeds from Zooomr without making changes to the service or the input feed."
Being a proponent is relative. I'm not sure I'm considered an RDF proponent in the RDF community, having been critical in the past ;) But generally, I can't agree with the argument. Under the hood, it's just mapping and there's no magic here - technically the language (RDF in this case, there are others) will either be able to express the mappings or it won't. For example, RDF can't map celsius to farenheit, but I know it can map foo:title to atom:title.
"The issue I'm pointing out is that either way a developer has to create a mapping."
Right; the questions really are how many mappings, where they are declared and to what extent you can stand over them as being sound. We've be doing this in code for years for syndication formats by mapping them into internal object models in code - every library then having its own mappings that might or might not be consistent. Dare mentioned MediaRSS and without an external configuration for extension formats, we'll have to do for MediaRSS as it appears in the wild today what we do for the 9+ RSS/Atom formats are out there. The double whammy as part of format of the Format Debt is it appears that MediaRSS needs to be mapped to itself in Dare's examples because parsing syntax can result in different dict/tree data structures.
"The problem with this argument is that there is a declarative approach to mapping between XML data formats without having to boil the ocean by convincing everyone to switch to RD; XSL Transformations (XSLT). "
Not quite the same thing (I'll explain why in a minute). XSLT is actually computationally more powerful than RDF - afaict XSLT could do the celsius to farenheit mapping. It can do knights tour.
"In my experience I've seen that creating a software system where you can drop in an XSLT, OWL or other declarative mapping document to deal with new data formats is cheaper and likely to be less error prone than having to alter parsing code written in C#, Python, Ruby or whatever. However we don't need RDF or other Semantic Web technologies to build such solution today. XSLT works just fine as a tool for solving exactly that problem. "
But XSLT is code. All we're saying by this is that XSLT code is cheaper and less likely to be error prone than Python et al. Which I can buy - an XSLT sheet done well can be an executable specification. All an RDF (or "interlingua") proponent will say is that RDF can be even cheaper and less error prone, and much of the reason not to adopt it is down to developer preferences, lack of familiarity, tooling and so on - i.e., much the same reason developers don't adopt XSLT, summarising the issue as "XSLT sucking".
Finally, I think you can easily argue that RDF/OWL gives more leverage for this kind of problem than XSLT, even though RDF is a computationally less powerful, because it allows you state relationships using formal semantics. For example if I write down that:
atom:title owl:sameAs foo:title
foo:title owl:sameAs bar:title
I can infer
bar:title owl:sameAs atom:title
without writing a line of code and I can use that on seeing new data. The predicate "owl:sameAs" is what the formalists call transitive and this reasoning at a distance is the kind of thing RDF proponents are on about when they talk about "semantic webs". OWL in particular has a boatload of such predicates, sameAs is probably the best known.
That kind of inference is not a remotely straightforward thing to do in XSLT. Rather than emulate Greenspun's 10th Rule by writing a half-baked, incomplete, buggy predicate reasoner in XSLT, you'll end up writing multiple XSLT sheets instead, and possibly trying to chain them together. This is the real problem with using XSLT in anger for this kind of work - it doesn't scale as the number of elements to map grows. In that scenario, people fall back to regular programming languages where you can useful data structures like dicts and lists to manage the element names and their associations. That's why things like the feedparser don't (and won't) tend to get written in XSLT. and it's why the mappings will have to stay as private details of implemetations for now.
* on reflection, I blame Abba Singstar for that particular turn of phrase.
37 Comments
Are there any multi-format parsers that use RDF inferencing to handle mapping between formats like you describe? If this approach is really as capable as you describe it should work in a more limited scope than the entire internet. If something like Beautiful Soup, or even UFP, existed that was implemented in terms of GRDDL (or whatever parser mechanism was convenient) and declarative RDF mapping it would make for a somewhat more compelling argument.
I like the idea but I am concerned that the world might be just a little too messy for the declarative approach to work.
The other benefit to the declarative style of RDF & OWL that you don't mention is that the equivalence (or other) relations can be easily re-published to allow those inferences to be shared. And those inferences can be used for data integration tasks that are outside of those that you originally envisaged.
So within the specific example, creating and publishing an XSLT stylesheet to normalise or otherwise convert MediaRSS feeds into a common format, can only ever do that single task.
By publishing OWL statements we can use those assertions in other contexts.
It seems to me that its time we started taking the same view of code as we do of data: opening it up and encouraging reuse. The way to achieve that is through declarative mechanisms that aren't tied to a particular environment.
Cheers,
L.
<a href=http://www.jamendo.com/en/user/AchatViagraAcheterVIAGRA>viagra</a> urban sector 588 <a href=http://www.jamendo.com/en/user/AchatViagraAcheterVIAGRA>viagra</a> conurbation http://www.jamendo.com/en/user/AchatV... 4611
<a href=http://www.salesianoscarmona.com/moodle/user/view.php?id=1447&course=1>viagra</a> bpsr :))) <a href=http://www.salesianoscarmona.com/moodle/user/view.php?id=1447&course=1>viagra</a> http://www.salesianoscarmona.com/mood... 4509
vzfp good site! <a href=http://adjultezzz1.com>viagra</a> jz <a href=http://adjultezzz1.com>achat viagra</a> xl414
lindsay lohan sex tape download
<a href=http://www.viddler.com/explore/lohantape>lindsay lohan sex tape</a>
lindsay lohan sex tape watch online
<a href= http://www.viddler.com/explore/lohantape > lindsay lohan sex tape </a>
free lindsay lohan sex tape
http://www.viddler.com/explore/lohantape - lindsay lohan sex tape
lindsay lohan sex tape free
<a href=http://www.viddler.com/explore/lohantape>lindsay lohan sex tape</a>
lindsay lohan sex tape
<a href= http://www.viddler.com/explore/lohantape > lindsay lohan sex tape </a>
lindsay lohan sex tape download
http://www.viddler.com/explore/lohantape - lindsay lohan sex tape
<a href=http://forum.woltar.com/forum/user/profile/5324.page>viagra</a> ! http://forum.woltar.com/forum/user/pr... viagra en ligne. viagra soft generique Acheter de viagra sur internet. 8))) <a href=http://forum.woltar.com/forum/user/profile/5324.page>viagra au rabais au Canada</a>
Hi. It’s butiful site!
Hi. It’s butiful site!
http://digg.com/celebrity/Penelope_Cr...
vivica fox sex tape , <a href= http://digg.com/movies/The_Vivica_Fox... > vivica fox sex tape </a> , vivica fox sex tape , vivica fox sex tape , http://digg.com/movies/The_Vivica_Fox... - vivica fox sex tape
kristen davis sex tape , <a href= http://digg.com/movies/Kristen_Davis_... > kristen davis sex tape </a> , kristen davis sex tape , kristen davis sex tape , http://digg.com/movies/Kristen_Davis_... - kristen davis sex tape
Very nice site!
<a href="http://c.1asphost.com/topfarm7/283.html">cheap viagra</a>
Very nice site!
[url=http://c.1asphost.com/topfarm7/398.html]cheap cialis[/url]
Very nice site!
[LINK http://c.1asphost.com/topfarm7/891.ht... tramadol[/LINK]
Very nice site!
http://c.1asphost.com/topfarm7/805.html
thanks for ur post...
[url="http://www.uggsupply.com"]uggs[/url], with a legendary brand, first to see the snow ugg boots ,Ugg people will not Ben Ben flu cartoon form, and is [url="http://www.uggfree.co.uk"]boots[/url], as a result of many European and American film star has adequate Gordon Street Ugg snow boots and a pretty popular in Europe and America look like the earth, Ugg blowing sustained winds of the popular Madden, in Japan, Taiwan has a lot of fans Ugg.
Official Ed Hardy Store for all Clothing and Gear by Christian Audigier. The lifestyle brand is inspired by vintage tattoo art incorporating apparel, caps
[url=http://www.shoppingugg.com>Uggs]Uggs[/url]
[url=http://www.shoppingugg.co.uk]Ugg boots[/url]
<a href=http://www.kaboodle.com/indianadjo/cheap-cigarettes-online.html>Cheap cigarettes</a>
http://www.kaboodle.com/bernardopuron... Cheap marlboro cigarettes
http://www.scrapbook.com/places/Smoke... Smoking cigarettes
http://www.bautforum.com/members/marl... Marlboro cigarettes online
<a href=http://www.bautforum.com/members/davidoff-cigarettes.html>Davidoff cigarettes</a>
http://www.bautforum.com/members/came... Order camel cigarettes
<a href=http://www.articulate.com/forums/members/camel-cigarettes.html>Cheap camel cigarettes</a>
http://www.articulate.com/forums/memb... Buy virginia slims online
<a href=http://www.articulate.com/forums/members/kent-cigarettes.html>Kent cigarettes</a>
http://www.equationoftime.com/forums/... Buy Winston cigarettes
<a href=http://www.equationoftime.com/forums/member.php?u=5971>Cheap Vogue cigarettes online</a>
http://www.equationoftime.com/forums/... Pall Mall cigarettes
<a href=http://www.kaboodle.com/jayleecorynn/buy-cigarettes.html>Buying cigarettes</a>
http://www.kaboodle.com/davidayvette/... Winston cigarettes
<a href=http://www.kaboodle.com/clairejanel/best-parliament-cigarettes-store.html>Parliament cigarettes</a>
http://www.kaboodle.com/reviews/cheap... Marlboro cigarettes
<a href=http://www.kaboodle.com/reviews/cheap-cigarettes-online-at-sm-cigs.com>Cheap cigarettes</a>
http://www.kaboodle.com/reviews/buyin... Buying cigarettes
<a href=http://www.kaboodle.com/reviews/winston-cigarettes>Winston cigarettes</a>
http://www.kaboodle.com/reviews/parli... Parliament cigarettes
pretty nice! sir
great post. thanks sir!
im really appreciated..!
great post. thanks sir!
im really appreciated..!
http://www.tiffanyfree.co.uk/tiffany-...
http://www.tiffanyfree.co.uk/tiffany-...
http://www.tiffanyfree.co.uk/tiffany-...
http://www.tiffanyfree.co.uk/tiffany-...
http://www.tiffanyfree.co.uk/tiffany-...
http://www.tiffanyfree.co.uk/tiffany-...
http://www.tiffanyfree.co.uk/tiffany-...
thank you for the post.
http://www.discountretroshoes.com/air...
http://www.discountretroshoes.com/air...
http://www.discountretroshoes.com/wom...
thank you for shopping at the wind shoes storel http://www.discountretroshoes.com/guc...
http://www.discountretroshoes.com/guc...
http://www.discountretroshoes.com/wom...
http://www.discountretroshoes.com/wom...
http://www.discountretroshoes.com/guc...
http://www.discountretroshoes.com/bap...
http://www.discountretroshoes.com/nik...
http://www.discountretroshoes.com/des...
http://www.discountretroshoes.com/mon...
http://www.discountretroshoes.com/des...
http://www.discountretroshoes.com/des...
http://www.discountretroshoes.com/cla...
http://www.discountretroshoes.com/dus...
http://www.discountretroshoes.com/san...
http://www.discountretroshoes.com/cla...
http://www.discountretroshoes.com/cla...
http://www.discountretroshoes.com/boo...
http://www.discountretroshoes.com/ugg...
http://www.discountretroshoes.com/cla...
http://www.discountretroshoes.com/oat...
http://www.discountretroshoes.com/gol... classic cardy ugg boots www.discountretroshoes.comwelcome to shop here.thank you!
like it
Rectangle shaped face is certainly better described as an indispensable decorate to dress, play an important role in displaying one's distinctive personalities if you be more attractive.
http://www.louisvuitton2u.com
http://www.watchmvp.com/Rolex.html Rolex watches
http://www.watchmvp.com/Omega.html Omega watches
http://www.watchmvp.com/Breitling.html Breitling watches
http://www.watchmvp.com/Tag-Heuer.html Tag Heuer Watches
http://www.watchmvp.com/Cartier.html Cartier watches
http://www.watchmvp.com/A-Lange-&-Soh... A Lange & Sohne watches
http://www.watchmvp.com/Audemars-Pigu... Audemars Piguet watches
http://www.watchmvp.com/Baume-Mercier... Baume Mercier watches
http://www.watchmvp.com/Bregue.html Bregue watches
http://www.watchmvp.com/Bvlgari.html Bvlgari watches
http://www.watchmvp.com/Chopard.html Chopard watches
http://www.watchmvp.com/Concord.html Concord watches
http://www.watchmvp.com/Corum.html Corum watches
http://www.watchmvp.com/Dior.html Dior watches
http://www.watchmvp.com/Gucci.html Gucci watches
http://www.watchmvp.com/IWC.html IWC watches
http://www.watchmvp.com/Jaeger-LeCoul... Jaeger LeCoultre watches
http://www.watchmvp.com/Longines.html Longines watches
http://www.watchmvp.com/Oris.html Oris watches
http://www.watchmvp.com/Patek-Philipp... Patek Philippe watches
http://www.watchmvp.com/Panerai.html Panerai watches
http://www.watchmvp.com/Rado.html Rado watches
http://www.watchmvp.com/Raymond-Weil.... Raymond Weil watches
http://www.watchmvp.com/Tissot.html Tissot watches
http://www.watchmvp.com/Vacheron-Cons... Vacheron Constantin watches
http://www.watchmvp.com/Zenith.html Zenith watches
http://www.watchmvp.com/Piaget.html Piaget watches
http://www.watchmvp.com/Louis-Vuitton... Louis Vuitton watches
http://www.watchmvp.com/Mont-Blanc.html Mont Blanc watches
http://www.watches-space.com/Rolex-Wa... Rolex Watches
http://www.watches-space.com/Omega-Wa... Omega Watches
http://www.watches-space.com/Tissot-W... Tissot Watches
http://www.watches-space.com/Panerai-... Panerai Watches
http://www.watches-space.com/Piaget-W... Piaget-Watches
http://www.watches-space.com/Zenith-W... Zenith Watches
http://www.watches-space.com/Baume-Me... Baume Mercier Watches
http://www.watches-space.com/Bvlgari-... Bvlgari Watches
http://www.watches-space.com/Concord-... Concord Watches
http://www.watches-space.com/Corum-Wa... Corum Watches
http://www.watches-space.com/Longines... Longines Watches
http://www.watches-space.com/Louis-Vu... Louis Vuitton Watches
http://www.watches-space.com/Mont-Bla... Mont Blanc Watches
http://www.watches-space.com/Oris-Wat... Oris Watches
http://www.watches-space.com/Rado-Wat... Rado Watches
http://www.watches-space.com/Raymond-... Raymond Weil Watches
http://www.watches-space.com/Tag-Heue... Tag Heuer Watches
http://www.watches-space.com/A-Lange-... A Lange & Sohne Watches
http://www.watches-space.com/Audemars... Piguet Watches
http://www.watches-space.com/Bregue-W... Bregue Watches
http://www.watches-space.com/Dior-Wat... Dior Watches
http://www.watches-space.com/Gucci-Wa... Gucci Watches
http://www.watches-space.com/Jaeger-L... Jaeger LeCoultre Watches
http://www.watches-space.com/Patek-Ph... Patek Philippe Watches
http://www.watches-space.com/Vacheron... Vacheron Constantin Watches
http://www.watches-space.com/Breitlin... Breitling Watches
http://www.watches-space.com/Cartier-... Cartier Watches
http://www.watches-space.com/Chopard-... Chopard Watches
http://www.watches-space.com/IWC-Watc... IWC Watches
http://www.tiffanysale.co.uk/
http://www.jewelrygucci.com
http://www.ustiffanyjewelry.com
http://www.bestguccishoes.com/
http://www.gucci-stores.com/
http://www.uktiffanyjewellery.co.uk
http://www.handbagon.com/
http://www.louisvuittonfr.com/
http://www.tiffanygifts.co.uk
http://www.wmbags.com/
http://www.chanel-jewelry.com
http://idfrance.free.fr/index.php?top...
http://idfrance.free.fr/index.php?top...
http://idfrance.free.fr/index.php?top...
http://idfrance.free.fr/index.php?top...
http://idfrance.free.fr/index.php?top...
http://idfrance.free.fr/index.php?top...
http://idfrance.free.fr/index.php?top...
http://idfrance.free.fr/index.php?top...
http://idfrance.free.fr/index.php?top...
http://idfrance.free.fr/index.php?top...
http://idfrance.free.fr/index.php?top...
http://idfrance.free.fr/index.php?top...
Buy Cigs Online - Cigarette Store
http://www.buycigs-online.com
BuyCigs-online.com your online cigarette store, which is ready to
serve you at any time you need due to our commitment to make your
online shopping lifestyle lighter. We provide cheap smokes. Buy cheap
cigarettes online!
We do sell the most popular cigarette brands produced in Europe at the
lowest possible prices, thus giving you a very rare possibility to
reduce your expenses. Along with our easy online ordering system and
our attitude to our clients we provide fast and accurate shipping.Our
customer service personnel is glad to help you in answering any
questions occured; we are striving to provide you with premium service
when purchasing your tobacco and cigarette products online.Order cheap
cigarettes online at
BuyCigs-online.com, and we hope that you would like to buy discount
cigarettes from us forever!
Camel Cigarettes price per carton: $15.59
Winston Cigarettes price per carton: $12.39
Parliament Cigarettes price per carton: $20.49
Bond Cigarettes price per carton: $11.29
Chesterfield Cigarettes price per carton: $12.99
Davidoff Cigarettes price per carton: $20.69
http://www.buycigs-online.com
<a href="http://www.guideshoes.com">Guide Shoes</a>
<a href="http://www.popfuns.com">Funs blog</a>
<a href="http://www.collectbag.com">collect bag</a>
<a href="http://www.hojewelry.com">Ho jewelry Blog</a>
<a href="http://www.pickforshoes.com">pick your shoes</a>
<a href="http://www.oursimply.com/">simply blog </a>
<a href="http://www.lingeriesell.com">Bridal Lingerie</a>
<a href="http://www.hidresses.com">prom Dresses</a>
<a href="http://www.tiffanyandlinks.com">Tiffany and Links</a>
<a href="http://www.hojewelry.com">Ho jewelry Blog</a>
<a href="http://www.jewelry66.com">jewelry blog</a>
<a href="http://www.lingeriesell.com">Bridal Lingerie</a>
<a href="http://www.shoesmessage.com">new shoes</a>
<a href="http://www.tiffanyandlinks.com">Tiffany and Links</a>
<a href="http://www.hojewelry.com">Ho jewelry Blog</a>
<a href="http://www.hidresses.com">prom Dresses</a>
It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader. Thanks again.
Very nice site!