Package org.ilrt.inkling.api

Interface Summary
GraphInterface Inspired by http://www.w3.org/2001/12/rubyrdf/basicrdf.rb An interface for Graph objects
LoaderInterface A tiny interface for loading various graph formats.
SimpleQueryInterface This is a very simple query interface, accepting nulls and filling the rdfgraph It should return a Vector of Statements
 

Class Summary
ComplexQuery An object to encompass a squish query - basically a Graph with some useful extra bits.
Graph A simple RDF Graph, inspired by http://www.w3.org/2001/12/rubyrdf/basicrdf.rb The principal methods are ask(), tell(), askSquish(); also askForObjects() and similar.
Node Inspired by http://www.w3.org/2001/12/rubyrdf/basicrdf.rb This is a simple Node class.
NTReader This is a very very basic Ntriples parser with no datatyping or language support.
Query A simple three-place query object.
SQLGraph Copyright University of Bristol, 2003 This software is released under the W3C license: http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 A Graph for SQL Databases.
SQLNode Extension of Node required to convert quirks of SQL layout to useful objects, for example _: indicating a bnode and " indicating a literal SQLGraph sq = new SQLGraph(); sq.setdb(db); sq.setDriver("com.mysql.jdbc.Driver"); Graph gr = new Graph(null, uri, Util.RDFXML); gr.load(); sq.add(gr); java.sql.ResultSet r1=sq.askSquish(query); org.ilrt.inkling.query.ResultSet r2=(org.ilrt.inkling.query.ResultSet)r1; SQLNode mbsh1=(Node)r2.getSQLNode("mbsh1"); This will return an SQLNode with bnode and literal/resource information, and provenance if source is switched on @@checkme
Statement Inspired by http://www.w3.org/2001/12/rubyrdf/basicrdf.rb A simple Statement (Triple) object, with an ID.
UnionGraph An aggregate inmemory Graph, acting much like an SQLGraph.
Util