java.lang.Object
org.apache.jena.shex.ShexSchema
Shex Schema - a collection of shapes.
-
Method Summary
Modifier and TypeMethodDescriptionget(org.apache.jena.graph.Node n) getBase()org.apache.jena.riot.system.PrefixMapGet all the shapes.getStart()getTripleExpression(org.apache.jena.graph.Node label) Get all the shapes.booleanbooleanhasShape(org.apache.jena.graph.Node n) Import form of this ShexShape collection.booleanEquivalence: same shapes (.equals), same imports, same label to shapes map.static ShexSchemashapes(String source, String baseURI, org.apache.jena.riot.system.PrefixMap prefixes, ShexShape startShape, List<ShexShape> shapes, List<String> imports, List<SemAct> semActs, Map<org.apache.jena.graph.Node, TripleExpression> tripleRefs)
-
Method Details
-
shapes
-
getStart
-
getShapes
Get all the shapes. This includes the start shape, which has labelSysShex.startNode. -
getTripleExpression
Get all the shapes. This includes the start shape, which has labelSysShex.startNode. -
hasImports
public boolean hasImports() -
getImports
-
getSource
-
getBase
-
importsClosure
Import form of this ShexShape collection. This involves removing the START reference. -
get
-
hasShape
public boolean hasShape(org.apache.jena.graph.Node n) -
getPrefixMap
public org.apache.jena.riot.system.PrefixMap getPrefixMap() -
sameAs
Equivalence: same shapes (.equals), same imports, same label to shapes map. -
getSemActs
-