Monday, January 02, 2006

Simple javascript RDF Parser and query thingy. 

Simple javascript RDF Parser and query thingy.: "This RDF parser is designed to run in a web-browser or SVG browser, allowing you to process RDF on the client. The parser isn't complete, there's no support for various bits of the spec, and isn't all that fast, especially with large XML/RDF files. I've found it quite useful though for simple querying.

The parser is generally tested and expected to work in Adobe SVG Viewer, Batik's Squiggle, Internet Explorer 5.5+ and Mozilla Family, Opera 8+ and Safari browsers, Ice Softs Ice Browser is probably the only other browser with a large enough API for it to work, but it's never been tested there - don't expect it to work elsewhere..

rdfs:subProperty is supported, if you include triples which detail subProperties then triples with that property will be duplicated in the output list allowing queries to work on either property.

owl:sameAs is also supported, if you include triples which contain owl:sameAs information, then triples are again duplicated to enable querying, if you don't want this, or the subProperty in your code, it's probably wise to remove the two calls to the functions doSubProperties(); and doOwlSameAs();.

RDF datatypes and languages are supported in the parser, but the query engine provides no way of querying against it currently, should be quite simple for anyone who wants to look at the querying parts, they really"

0 Comments:

Post a Comment

This page is powered by Blogger. Isn't yours?