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.PrefixMap
Get all the shapes.getStart()
getTripleExpression
(org.apache.jena.graph.Node label) Get all the shapes.boolean
boolean
hasShape
(org.apache.jena.graph.Node n) Import form of this ShexShape collection.boolean
Equivalence: same shapes (.equals), same imports, same label to shapes map.static ShexSchema
shapes
(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
-