Package com.stardog.stark
Interface Axiom
-
- All Superinterfaces:
java.lang.Iterable<Statement>
- All Known Subinterfaces:
Axiom.ClassExpression,Axiom.Datatype,Axiom.NamedDatatype,Axiom.PropertyExpression
- All Known Implementing Classes:
com.stardog.stark.impl.AxiomImpl,Axioms.ExpressionList,Axioms.RestrictedDatatype
public interface Axiom extends java.lang.Iterable<Statement>
An OWL Axiom
Axioms can be represented as their corresponding RDF triples wrt to the OWL to RDF mapping.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
- See Also:
- OWL to RDF Mapping
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceAxiom.ClassExpressionAn expression about a classstatic interfaceAxiom.DatatypeA datatype expressionstatic interfaceAxiom.NamedDatatypeA named datatype expressionstatic interfaceAxiom.PropertyExpressionAn expression about a property
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ResourcemainNode()The subject of the main tripledefault java.util.Set<Statement>toGraph()The Axiom as one or more RDF statements
-
-
-
Method Detail
-
mainNode
@Nullable Resource mainNode()
The subject of the main triple- Returns:
- the main node
- See Also:
- Table 1 in Translation of Axioms, Main Triple
-
toGraph
default java.util.Set<Statement> toGraph()
The Axiom as one or more RDF statements- Returns:
- the Axiom as RDF
-
-