W3C home > Mailing lists > Public > semantic-web@w3.org > December 2008

Cognition 0.1-alpha14 released

From: Toby A Inkster <tai@g5n.co.uk>
Date: Sun, 14 Dec 2008 10:53:54 +0000
Message-Id: <1C8BADDB-ACF0-4389-8668-671CE0764130@g5n.co.uk>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:26 GMT