com.clarkparsia.openrdf.util
Class Expression

java.lang.Object
  extended by com.clarkparsia.openrdf.util.Expression
Direct Known Subclasses:
ExpressionFactory.ClassExpression, ExpressionFactory.Datatype, ExpressionFactory.ExpressionList, ExpressionFactory.PropertyExpression

public class Expression
extends Object

Class to represent an OWL Axiom (or Axioms) as a collection of RDF statements. Basically a graph under the hood whose contents are equivalent to the axioms used to create the expression originally. ExpressionFactory is to be used to create the sets of statements for an axiom.

Since:
0.4
Version:
0.4
Author:
Michael Grove
See Also:
http://www.w3.org/TR/owl2-mapping-to-rdf/, ExpressionFactory

Method Summary
 Graph graph()
          Return the graph representing this expression.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

graph

public Graph graph()
Return the graph representing this expression.

Returns:
the RDF graph for this expression


Copyright © 2010-2013 Clark & Parsia. All Rights Reserved.