Anything To Triples (any23) is a library, a web service and a command line tool that extracts structured data in RDF format from a variety of Web documents. Currently it supports the following input formats:
- RDF/XML, Turtle, Notation 3
- Microformats: Adr, Geo, hCalendar, hCard, hListing, hResume, hReview, License, XFN and Species
Any23 can be used in various ways:
- As a library in Java applications that consume structured data from the Web.
- As a command-line tool for extracting and converting between the supported formats.
- There is a web service and API where you can try it at any23.org.
- You can download the latest release from the download site at Google Code.
Any23 is a command line tool made using the programming language Java. In order to use it, you will need to have a recent version of the Java environment installed on your machine. Java is available for download on the web site from Oracle. You will also need maven to build the software.
- Download Any23 from its homepage and unpack it in a directory of your choice.
- Any23 gets run by typing the command
./any23-core/bin/any23from the directory in which you unpacked it. You need to execute that command once to have the software compiled.
- To get the RDF content in a web page, type
./any23-core/bin/any23followed by the adress of the page to fetch the content from. For instance:
./any23-core/bin/any23 http://dbpedia.org/resource/Amsterdam ./any23-core/bin/any23 http://librdf.org