- From: Toby A Inkster <tai@g5n.co.uk>
- Date: Sun, 14 Dec 2008 10:53:54 +0000
- To: Semantic Web <semantic-web@w3.org>
Cognition is a parser for both “upper case Semantic Web” (RDF, RDFa) and “lower case semantic web” (microformats) technologies. It includes modules for exporting parsed data in a variety of formats, including RDF, vCard, iCalendar, Atom and KML. Cognition is written in Perl 5 and licensed under the GNU GPL (v3). 0.1-alpha14 features include: * Better HTML 5 support - previous versions would strip out HTML5 elements which did not exist in HTML4. (Though XHTML5 has always worked, as XML uses a different parser.) Supports HTML5's predefined <meta name> values. * Integrated Google SocialGraph Node Mapper - for hCard and XFN microformats, SGNM can be used to generate a URI for a _person_ instead of a URI for their homepage. (And it can then be inverted to find URIs for their other pages from the person's URI.) * Less namespace squatting - instead of squatting on <urn:ietf:rfc: 1234#>-type namespaces, Cognition now uses the W3C RDF vocabs for vCard, iCalendar and HTTP. It uses Henry Story's AtomOWL too. * Notation3 output. * Various RDFa parsing bugfixes. Some examples of Cognition's parsing: http://srv.buzzword.org.uk/n3/tantek.com/ http://srv.buzzword.org.uk/n3/twitter.com/danbri http://srv.buzzword.org.uk/n3/w3.org/ Cognition homepage (download or try online): http://buzzword.org.uk/cognition/ Cognition on Google Code (issue tracker, subversion): http://code.google.com/p/cognition-parser/ Any suggestions for improvements gratefully received. -- Toby A Inkster <mailto:mail@tobyinkster.co.uk> <http://tobyinkster.co.uk>
Received on Sunday, 14 December 2008 10:54:40 UTC