public interface SHACLSuggestionGenerator
| Modifier and Type | Method and Description |
|---|---|
int |
addSuggestions(org.apache.jena.rdf.model.Model results,
int maxCount,
Function<org.apache.jena.rdf.model.RDFNode,String> labelFunction)
Adds dash:suggestion triples for all result resource in the given results Model.
|
int |
addSuggestions(org.apache.jena.rdf.model.Resource result,
int maxCount,
Function<org.apache.jena.rdf.model.RDFNode,String> labelFunction)
Adds dash:suggestion triples for a given result resource.
|
boolean |
canHandle(org.apache.jena.rdf.model.Resource result)
Checks if this is (in principle) capable of adding suggestions for a given result.
|
int addSuggestions(org.apache.jena.rdf.model.Model results,
int maxCount,
Function<org.apache.jena.rdf.model.RDFNode,String> labelFunction)
results - the results ModelmaxCount - the maximum number of suggestions to produce per resultint addSuggestions(org.apache.jena.rdf.model.Resource result,
int maxCount,
Function<org.apache.jena.rdf.model.RDFNode,String> labelFunction)
result - the sh:ValidationResult to add the suggestions tomaxCount - the maximum number of suggestions to produceboolean canHandle(org.apache.jena.rdf.model.Resource result)
result - the validation resultCopyright © 2017 TopQuadrant, Inc.. All rights reserved.