Package org.aksw.jena_sparql_api.schema
Interface NodeSchemaFromNodeShape
- All Superinterfaces:
org.apache.jena.graph.FrontsNode,NodeSchema,org.apache.jena.rdf.model.RDFNode,org.apache.jena.rdf.model.Resource
-
Method Summary
Modifier and TypeMethodDescriptiondefault PropertySchemaFromPropertyShapecreatePropertySchema(org.apache.jena.graph.Node predicate, boolean isForward) default Set<org.aksw.jenax.arq.util.triple.TripleFilter>default org.topbraid.shacl.model.SHNodeShapeReturn the underlying shacl shapedefault List<PropertySchemaFromPropertyShape>default Stream<PropertySchemaFromPropertyShape>getPropertySchemas(org.apache.jena.graph.Node predicate, boolean isForward) Scan all property schemas for one that matches the predicate and direction - runs in O(n)org.apache.jena.rdf.model.ResourcesetTargetClass(org.apache.jena.rdf.model.Resource targetClass) Methods inherited from interface org.apache.jena.graph.FrontsNode
asNodeMethods inherited from interface org.aksw.jena_sparql_api.schema.NodeSchema
copyMatchingTriples, streamMatchingTriplesMethods inherited from interface org.apache.jena.rdf.model.RDFNode
as, asLiteral, asResource, asStatementTerm, canAs, getModel, isAnon, isLiteral, isResource, isStatementTerm, isURIResource, visitWithMethods inherited from interface org.apache.jena.rdf.model.Resource
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toString
-
Method Details
-
getNodeShape
default org.topbraid.shacl.model.SHNodeShape getNodeShape()Return the underlying shacl shape -
getTargetClass
org.apache.jena.rdf.model.Resource getTargetClass() -
setTargetClass
-
getPropertySchemas
default Stream<PropertySchemaFromPropertyShape> getPropertySchemas(org.apache.jena.graph.Node predicate, boolean isForward) Scan all property schemas for one that matches the predicate and direction - runs in O(n) -
createPropertySchema
default PropertySchemaFromPropertyShape createPropertySchema(org.apache.jena.graph.Node predicate, boolean isForward) - Specified by:
createPropertySchemain interfaceNodeSchema
-
getGenericPatterns
- Specified by:
getGenericPatternsin interfaceNodeSchema
-
getPredicateSchemas
- Specified by:
getPredicateSchemasin interfaceNodeSchema
-