Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addBinding(String, String, String) - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternMatch
- addedEntities() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationSummary
-
Returns the value of the
addedEntitiesrecord component. - addedStatements() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.OntologyDiff
-
Returns the value of the
addedStatementsrecord component. - addedStatements() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationSummary
-
Returns the value of the
addedStatementsrecord component. - addSession(String) - Method in class cz.vse.swoe.ontodeside.patomat2.config.InvalidSessionTracker
- ambiguousOntologyException(AmbiguousOntologyException, HttpServletRequest) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.RestExceptionHandler
- AmbiguousOntologyException - Exception Class in cz.vse.swoe.ontodeside.patomat2.exception
-
Indicates that we are unable to determine which ontology to use for an operation.
- AmbiguousOntologyException(String) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.AmbiguousOntologyException
- AppConfig - Class in cz.vse.swoe.ontodeside.patomat2.config
- AppConfig() - Constructor for class cz.vse.swoe.ontodeside.patomat2.config.AppConfig
- ApplicationConfig - Class in cz.vse.swoe.ontodeside.patomat2.config
- ApplicationConfig() - Constructor for class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- ApplicationConfig.Example - Class in cz.vse.swoe.ontodeside.patomat2.config
-
Configuration of an example transformation input.
- ApplicationConfig.LLM - Class in cz.vse.swoe.ontodeside.patomat2.config
-
LLM configuration.
- ApplicationConfig.LLM.Sort - Class in cz.vse.swoe.ontodeside.patomat2.config
- ApplicationConfig.Security - Class in cz.vse.swoe.ontodeside.patomat2.config
-
Security configuration.
- apply() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.EntityLabel
-
Returns the value of the
applyrecord component. - apply(PatternMatch, String) - Method in class cz.vse.swoe.ontodeside.patomat2.model.function.NameTransformationFunction
-
Applies this function to the specified name transformation rule using the specified pattern match as data context.
- applyInternal(PatternMatch, String) - Method in class cz.vse.swoe.ontodeside.patomat2.model.function.HeadNounFunction
- applyInternal(PatternMatch, String) - Method in class cz.vse.swoe.ontodeside.patomat2.model.function.LabelFunction
- applyInternal(PatternMatch, String) - Method in class cz.vse.swoe.ontodeside.patomat2.model.function.NameTransformationFunction
- applyInternal(PatternMatch, String) - Method in class cz.vse.swoe.ontodeside.patomat2.model.function.NominalizeFunction
- applyInternal(PatternMatch, String) - Method in class cz.vse.swoe.ontodeside.patomat2.model.function.PassivizeFunction
- applyTransformationQuery(String) - Method in interface cz.vse.swoe.ontodeside.patomat2.service.OntologyHolder
-
Applies the specified SPARQL Update to the loaded ontology.
- applyTransformationQuery(String) - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jOntologyHolder
B
- basedOnBlankNode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.ResultBinding
-
Returns the value of the
basedOnBlankNoderecord component. - bindings() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.ExampleValues
-
Returns the value of the
bindingsrecord component.
C
- cached() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInfo
-
Returns the value of the
cachedrecord component. - capitalize(String[]) - Static method in class cz.vse.swoe.ontodeside.patomat2.util.Utils
-
Capitalizes the specified tokens in place.
- clear() - Method in interface cz.vse.swoe.ontodeside.patomat2.service.OntologyHolder
-
Clears the holder, discarding the previously loaded ontology.
- clear() - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jOntologyHolder
- clear(HttpSession) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.DataController
- clearMatches() - Method in class cz.vse.swoe.ontodeside.patomat2.service.MatchService
-
Clears the matches.
- Constants - Class in cz.vse.swoe.ontodeside.patomat2
- containsSession(String) - Method in class cz.vse.swoe.ontodeside.patomat2.config.InvalidSessionTracker
- createAuthentication(HttpServletRequest) - Method in class cz.vse.swoe.ontodeside.patomat2.config.SessionCountingAnonymousFilter
- createInsertLabelSparql() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NewEntity
-
Creates a SPARQL INSERT query that asserts labels of this new entity.
- createInsertSparqlTemplate() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Creates a SPARQL INSERT query to insert data into the target ontology, without setting the variable values.
- createLabelFromIdentifier(String) - Static method in class cz.vse.swoe.ontodeside.patomat2.util.Utils
-
Creates an entity label from its specified identifier.
- createTargetDeleteSparql(PatternMatch) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Creates a SPARQL DELETE query to delete data corresponding to the specified pattern match from the target ontology.
- createTargetInsertSparql(PatternMatch, List<NewEntity>) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Creates a SPARQL INSERT query to insert data corresponding to the specified pattern match into the target ontology.
- createWithMessage(String, String) - Static method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.ErrorInfo
-
Creates a new instance with the specified message and request URI.
- customOpenAPI() - Method in class cz.vse.swoe.ontodeside.patomat2.config.AppConfig
- cz.vse.swoe.ontodeside.patomat2 - package cz.vse.swoe.ontodeside.patomat2
- cz.vse.swoe.ontodeside.patomat2.config - package cz.vse.swoe.ontodeside.patomat2.config
- cz.vse.swoe.ontodeside.patomat2.event - package cz.vse.swoe.ontodeside.patomat2.event
- cz.vse.swoe.ontodeside.patomat2.exception - package cz.vse.swoe.ontodeside.patomat2.exception
- cz.vse.swoe.ontodeside.patomat2.model - package cz.vse.swoe.ontodeside.patomat2.model
- cz.vse.swoe.ontodeside.patomat2.model.function - package cz.vse.swoe.ontodeside.patomat2.model.function
- cz.vse.swoe.ontodeside.patomat2.model.iri - package cz.vse.swoe.ontodeside.patomat2.model.iri
- cz.vse.swoe.ontodeside.patomat2.rest - package cz.vse.swoe.ontodeside.patomat2.rest
- cz.vse.swoe.ontodeside.patomat2.rest.handler - package cz.vse.swoe.ontodeside.patomat2.rest.handler
- cz.vse.swoe.ontodeside.patomat2.service - package cz.vse.swoe.ontodeside.patomat2.service
- cz.vse.swoe.ontodeside.patomat2.service.pattern - package cz.vse.swoe.ontodeside.patomat2.service.pattern
- cz.vse.swoe.ontodeside.patomat2.service.rdf4j - package cz.vse.swoe.ontodeside.patomat2.service.rdf4j
- cz.vse.swoe.ontodeside.patomat2.service.sort - package cz.vse.swoe.ontodeside.patomat2.service.sort
- cz.vse.swoe.ontodeside.patomat2.util - package cz.vse.swoe.ontodeside.patomat2.util
D
- DataController - Class in cz.vse.swoe.ontodeside.patomat2.rest
- DataController() - Constructor for class cz.vse.swoe.ontodeside.patomat2.rest.DataController
- datatype() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.ResultBinding
-
Returns the value of the
datatyperecord component. - deepCopy() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
- DEFAULT_LABEL_PROPERTY - Static variable in class cz.vse.swoe.ontodeside.patomat2.Constants
-
Default property for new entity labels
- deleteFile(String, String) - Method in class cz.vse.swoe.ontodeside.patomat2.service.FileStorageService
-
Deletes the specified file if it exists.
- difference(File) - Method in interface cz.vse.swoe.ontodeside.patomat2.service.OntologyHolder
-
Calculates the difference of the loaded and the specified ontologies.
- difference(File) - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jOntologyHolder
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class cz.vse.swoe.ontodeside.patomat2.config.SessionCountingAnonymousFilter
- downloadAndSaveFile(String) - Method in class cz.vse.swoe.ontodeside.patomat2.service.FileStorageService
-
Downloads file from the specified URL and stores it in the configured storage directory.
E
- EntityIriLocalNameFormat - Enum Class in cz.vse.swoe.ontodeside.patomat2.model.iri
-
Format of the local name of an entity IRI.
- EntityIriLocalNameGenerator - Class in cz.vse.swoe.ontodeside.patomat2.model.iri
-
Generates local name for new IRI.
- EntityIriLocalNameGenerator() - Constructor for class cz.vse.swoe.ontodeside.patomat2.model.iri.EntityIriLocalNameGenerator
- EntityLabel - Record Class in cz.vse.swoe.ontodeside.patomat2.model
-
Representation of an entity label.
- EntityLabel(String, String) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.EntityLabel
- EntityLabel(String, String, boolean) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.EntityLabel
-
Creates an instance of a
EntityLabelrecord class. - equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.EntityLabel
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.ExampleValues
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.iri.NewEntityIriConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.LoadedTransformationInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NameTransformation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NewEntity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.OntologyDiff
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternMatch
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.RemotePattern
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.ResultBinding
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cz.vse.swoe.ontodeside.patomat2.rest.SortController.SortDto
-
Indicates whether some other object is "equal to" this one.
- ErrorInfo - Class in cz.vse.swoe.ontodeside.patomat2.rest.handler
-
Contains information about an error and can be sent to client as JSON to let him know what is wrong.
- ErrorInfo(String, String) - Constructor for class cz.vse.swoe.ontodeside.patomat2.rest.handler.ErrorInfo
- Example() - Constructor for class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Example
- Example(String, String, List<String>, boolean) - Constructor for class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Example
- ExampleController - Class in cz.vse.swoe.ontodeside.patomat2.rest
- ExampleController(ExampleService) - Constructor for class cz.vse.swoe.ontodeside.patomat2.rest.ExampleController
- examples() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Returns the value of the
examplesrecord component. - ExampleService - Class in cz.vse.swoe.ontodeside.patomat2.service
-
Manages access to transformation examples.
- ExampleService(OntologyStoringService, ApplicationConfig) - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.ExampleService
- ExampleValues - Record Class in cz.vse.swoe.ontodeside.patomat2.model
-
Examples binding values for a pattern.
- ExampleValues(List<ResultBinding>) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.ExampleValues
-
Creates an instance of a
ExampleValuesrecord class. - export(String) - Method in interface cz.vse.swoe.ontodeside.patomat2.service.OntologyHolder
-
Exports the currently loaded ontology.
- export(String) - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jOntologyHolder
- extractLocalPart(String) - Static method in class cz.vse.swoe.ontodeside.patomat2.util.Utils
-
Extracts local part of the specified URI/IRI identifier.
- extractSparqlVariables(String) - Static method in class cz.vse.swoe.ontodeside.patomat2.util.Utils
-
Extracts SPARQL variables from the specified string.
F
- FileAwareByteArrayResource - Class in cz.vse.swoe.ontodeside.patomat2.util
- FileAwareByteArrayResource(byte[], String) - Constructor for class cz.vse.swoe.ontodeside.patomat2.util.FileAwareByteArrayResource
- fileName() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Returns the value of the
fileNamerecord component. - fileName() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInfo
-
Returns the value of the
fileNamerecord component. - filenameToMimeType(String) - Static method in class cz.vse.swoe.ontodeside.patomat2.util.Utils
-
Determines MIME type from the specified file name.
- FileStorageService - Class in cz.vse.swoe.ontodeside.patomat2.service
- FileStorageService(ApplicationConfig, HttpSession) - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.FileStorageService
- filterChain(HttpSecurity) - Method in class cz.vse.swoe.ontodeside.patomat2.config.SecurityConfig
- filters() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Returns the value of the
filtersrecord component. - findMatches() - Method in class cz.vse.swoe.ontodeside.patomat2.service.MatchService
-
Finds matches of the provided patterns in the provided ontology.
- findMatches(Pattern) - Method in interface cz.vse.swoe.ontodeside.patomat2.service.OntologyHolder
-
Finds matches of the specified pattern in the loaded ontology.
- findMatches(Pattern) - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jOntologyHolder
- findMatches(Sort) - Method in class cz.vse.swoe.ontodeside.patomat2.service.MatchService
-
Finds matches of the provided patterns in the provided ontology and returns them sorted using the specified sorting method.
- fromValue(String) - Static method in enum class cz.vse.swoe.ontodeside.patomat2.service.sort.Sort
G
- generateIdentifier(List<EntityLabel>) - Method in interface cz.vse.swoe.ontodeside.patomat2.model.NewEntityGenerator
-
Generates a new identifier for an entity with the specified labels.
- generateIdentifier(List<EntityLabel>) - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jNewEntityGenerator
- generateLocalName(EntityIriLocalNameFormat, List<EntityLabel>) - Static method in class cz.vse.swoe.ontodeside.patomat2.model.iri.EntityIriLocalNameGenerator
-
Generates local name for an entity IRI, based on the specified format.
- generateName(PatternMatch, OntologyHolder) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NameTransformation
-
Generates a new entity name based on the transformation rule using the provided data.
- generateNewEntity(String, List<NameTransformation>, PatternMatch) - Method in interface cz.vse.swoe.ontodeside.patomat2.model.NewEntityGenerator
-
Generates a new entity with label(s) based on the specified pattern match and name transformations.
- generateNewEntity(String, List<NameTransformation>, PatternMatch) - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jNewEntityGenerator
- getApiUrl() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- getApplicationLog() - Method in class cz.vse.swoe.ontodeside.patomat2.rest.LogViewerController
- getApplicationLog() - Method in class cz.vse.swoe.ontodeside.patomat2.service.LogViewerService
-
Gets the contents of the application log file.
- getAvailablePatterns() - Method in class cz.vse.swoe.ontodeside.patomat2.service.pattern.PatternCache
-
Gets available cached patterns.
- getBatchSize() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- getBinding(PatternMatch, String) - Static method in class cz.vse.swoe.ontodeside.patomat2.model.function.NameTransformationFunction
- getBinding(String) - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternMatch
- getBindings() - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternMatch
- getCorsAllowedOrigins() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- getExamples() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- getExamples() - Method in class cz.vse.swoe.ontodeside.patomat2.rest.ExampleController
- getExamples() - Method in class cz.vse.swoe.ontodeside.patomat2.service.ExampleService
-
Gets a list of available examples.
- getFile(String) - Method in class cz.vse.swoe.ontodeside.patomat2.service.FileStorageService
-
Retrieves a file from the configured storage directory.
- getFilename() - Method in class cz.vse.swoe.ontodeside.patomat2.util.FileAwareByteArrayResource
- getId() - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternInstanceTransformation
- getIriConfig() - Method in interface cz.vse.swoe.ontodeside.patomat2.model.NewEntityGenerator
-
Gets the current configuration for generating new entity identifiers.
- getIriConfig() - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jNewEntityGenerator
- getLabel(String) - Method in interface cz.vse.swoe.ontodeside.patomat2.service.OntologyHolder
-
Resolves label of a resource with the specified iri.
- getLabel(String) - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jOntologyHolder
- getLlm() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- getMatches() - Method in class cz.vse.swoe.ontodeside.patomat2.service.MatchService
- getMatches(String) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.PatternMatchesController
- getMaxConcurrentRequests() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- getMaxInstances() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- getMaxSessions() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Security
- getMessage() - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.ErrorInfo
- getModel() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- getName() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Example
- getName() - Method in enum class cz.vse.swoe.ontodeside.patomat2.service.sort.Sort
- getNewEntityIriBase() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- getNewEntityIriConfig() - Method in class cz.vse.swoe.ontodeside.patomat2.rest.NewEntityIdentifierController
- getNewEntityIriConfig() - Method in class cz.vse.swoe.ontodeside.patomat2.service.MatchService
- getNewEntityLabels() - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternInstanceTransformation
- getNLPPipeline() - Static method in class cz.vse.swoe.ontodeside.patomat2.util.NLPUtils
-
Gets a NLP pipeline.
- getNounsToVerbs() - Static method in class cz.vse.swoe.ontodeside.patomat2.util.NLPUtils
- getNumCtx() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- getOntology() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Example
- getOntologyFile() - Method in class cz.vse.swoe.ontodeside.patomat2.rest.OntologyStoringController
- getOntologyFile() - Method in class cz.vse.swoe.ontodeside.patomat2.service.OntologyStoringService
-
Gets the uploaded ontology file as
File. - getOntologyFileContent() - Method in class cz.vse.swoe.ontodeside.patomat2.service.OntologyStoringService
-
Gets the stored ontology file.
- getOntologyFileName() - Method in class cz.vse.swoe.ontodeside.patomat2.event.OntologyFileUploadedEvent
- getOntologyIri() - Method in interface cz.vse.swoe.ontodeside.patomat2.service.OntologyHolder
-
Resolves IRI of the loaded ontology, if available.
- getOntologyIri() - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jOntologyHolder
- getPattern() - Method in class cz.vse.swoe.ontodeside.patomat2.model.function.HeadNounFunction
- getPattern() - Method in class cz.vse.swoe.ontodeside.patomat2.model.function.LabelFunction
- getPattern() - Method in class cz.vse.swoe.ontodeside.patomat2.model.function.NameTransformationFunction
- getPattern() - Method in class cz.vse.swoe.ontodeside.patomat2.model.function.NominalizeFunction
- getPattern() - Method in class cz.vse.swoe.ontodeside.patomat2.model.function.PassivizeFunction
- getPattern() - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternMatch
- getPattern(String) - Method in class cz.vse.swoe.ontodeside.patomat2.service.pattern.PatternCache
-
Gets a cached pattern with the specified URL.
- getPatternInstances() - Method in class cz.vse.swoe.ontodeside.patomat2.model.TransformationSpecification
- getPatterns() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Example
- getPatterns() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- getPatterns() - Method in class cz.vse.swoe.ontodeside.patomat2.event.OntologyFileUploadedEvent
- getPredefinedPatterns() - Method in class cz.vse.swoe.ontodeside.patomat2.rest.PatternController
- getRequestUri() - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.ErrorInfo
- getSecurity() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- getSort() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM
- getSortMethod() - Method in class cz.vse.swoe.ontodeside.patomat2.service.sort.OllamaLikertSorter
- getSortMethod() - Method in interface cz.vse.swoe.ontodeside.patomat2.service.sort.PatternInstanceSorter
-
Returns the sort method supported by this implementation.
- getSortMethod() - Method in class cz.vse.swoe.ontodeside.patomat2.service.sort.RandomShuffleSorter
- getSortMethods() - Method in class cz.vse.swoe.ontodeside.patomat2.rest.SortController
- getStorage() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- getTransformationInput() - Method in class cz.vse.swoe.ontodeside.patomat2.rest.OntologyStoringController
- getTransformationInput() - Method in class cz.vse.swoe.ontodeside.patomat2.service.OntologyStoringService
-
Gets the stored transformation input.
- getTransformedOntology() - Method in class cz.vse.swoe.ontodeside.patomat2.rest.TransformationController
- getTransformedOntology() - Method in class cz.vse.swoe.ontodeside.patomat2.service.TransformationService
-
Gets the last transformed ontology.
- getTransformedOntology() - Method in class cz.vse.swoe.ontodeside.patomat2.service.TransformedOntologyHolder
- getUploadedOntologyFileName() - Method in class cz.vse.swoe.ontodeside.patomat2.service.OntologyStoringService
-
Checks whether an ontology file has been uploaded.
- getValue() - Method in enum class cz.vse.swoe.ontodeside.patomat2.service.sort.Sort
- getVariables() - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternMatch
- getVerbsToNouns() - Static method in class cz.vse.swoe.ontodeside.patomat2.util.NLPUtils
H
- hasDelete() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.EntityLabel
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.ExampleValues
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.iri.NewEntityIriConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.LoadedTransformationInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NameTransformation
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NewEntity
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.OntologyDiff
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
-
Returns a hash code value for this object.
- hashCode() - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternMatch
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.RemotePattern
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.ResultBinding
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class cz.vse.swoe.ontodeside.patomat2.rest.SortController.SortDto
-
Returns a hash code value for this object.
- HeadNounFunction - Class in cz.vse.swoe.ontodeside.patomat2.model.function
-
Extracts head noun from the specified argument.
- HeadNounFunction(OntologyHolder, NameTransformationFunction) - Constructor for class cz.vse.swoe.ontodeside.patomat2.model.function.HeadNounFunction
I
- id() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
-
Returns the value of the
idrecord component. - identifier() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NewEntity
-
Returns the value of the
identifierrecord component. - illegalStateException(IllegalStateException, HttpServletRequest) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.RestExceptionHandler
- incompleteTransformationInputException(IncompleteTransformationInputException, HttpServletRequest) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.RestExceptionHandler
- IncompleteTransformationInputException - Exception Class in cz.vse.swoe.ontodeside.patomat2.exception
-
Indicates that the transformation input is incomplete.
- IncompleteTransformationInputException(String) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.IncompleteTransformationInputException
- info() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Generates a
PatternInfoobject for this pattern. - init() - Static method in class cz.vse.swoe.ontodeside.patomat2.util.NLPUtils
- Initializer - Class in cz.vse.swoe.ontodeside.patomat2.service
-
Initializes the application, performing post-startup tasks.
- Initializer(ApplicationConfig, ApplicationContext) - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.Initializer
- initNewEntityIriConfig() - Method in interface cz.vse.swoe.ontodeside.patomat2.model.NewEntityGenerator
-
Initializes new entity identifier generation configuration.
- initNewEntityIriConfig() - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jNewEntityGenerator
- initNLPPipeline() - Method in class cz.vse.swoe.ontodeside.patomat2.PatOMat2Application
- invalidFileException(InvalidFileException, HttpServletRequest) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.RestExceptionHandler
- InvalidFileException - Exception Class in cz.vse.swoe.ontodeside.patomat2.exception
-
Indicates that an uploaded file is invalid.
- InvalidFileException(String) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.InvalidFileException
- InvalidSessionTracker - Class in cz.vse.swoe.ontodeside.patomat2.config
- InvalidSessionTracker() - Constructor for class cz.vse.swoe.ontodeside.patomat2.config.InvalidSessionTracker
- isApplyDeletes() - Method in class cz.vse.swoe.ontodeside.patomat2.model.TransformationSpecification
- isBasedOnBlankNode() - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternMatch
- isEmpty() - Method in class cz.vse.swoe.ontodeside.patomat2.service.TransformedOntologyHolder
- isLoaded() - Method in interface cz.vse.swoe.ontodeside.patomat2.service.OntologyHolder
-
Checks whether any ontology has been loaded by this holder.
- isLoaded() - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jOntologyHolder
- isLoadedWithImports() - Method in interface cz.vse.swoe.ontodeside.patomat2.service.OntologyHolder
-
Returns true if the ontology was loaded including its imports.
- isLoadedWithImports() - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jOntologyHolder
- isOntologyUploaded() - Method in class cz.vse.swoe.ontodeside.patomat2.rest.OntologyStoringController
- isResolveImports() - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Example
L
- label() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.ResultBinding
-
Returns the value of the
labelrecord component. - LABEL_CAMEL_CASE - Enum constant in enum class cz.vse.swoe.ontodeside.patomat2.model.iri.EntityIriLocalNameFormat
-
Entity label formatted to camelCase and appended to the namespace
- LABEL_KEBAB_CASE - Enum constant in enum class cz.vse.swoe.ontodeside.patomat2.model.iri.EntityIriLocalNameFormat
-
Entity label formatted to kebab-case and appended to the namespace
- LABEL_PASCAL_CASE - Enum constant in enum class cz.vse.swoe.ontodeside.patomat2.model.iri.EntityIriLocalNameFormat
-
Entity label formatted to PascalCase and appended to the namespace
- LABEL_SNAKE_CASE - Enum constant in enum class cz.vse.swoe.ontodeside.patomat2.model.iri.EntityIriLocalNameFormat
-
Entity label formatted to snake_case and appended to the namespace
- LabelFunction - Class in cz.vse.swoe.ontodeside.patomat2.model.function
-
Function for resolving label of a resource.
- LabelFunction(OntologyHolder, NameTransformationFunction) - Constructor for class cz.vse.swoe.ontodeside.patomat2.model.function.LabelFunction
- labels() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NewEntity
-
Returns the value of the
labelsrecord component. - likertScore() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
-
Returns the value of the
likertScorerecord component. - LLM() - Constructor for class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM
- LLM_LIKERT - Enum constant in enum class cz.vse.swoe.ontodeside.patomat2.service.sort.Sort
-
Sort using an LLM call with a Likert scale.
- llmSortException(LlmSortException, HttpServletRequest) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.RestExceptionHandler
- LlmSortException - Exception Class in cz.vse.swoe.ontodeside.patomat2.exception
-
Indicates that the LLM-based sorting failed.
- LlmSortException(String) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.LlmSortException
- LoadedTransformationInput - Record Class in cz.vse.swoe.ontodeside.patomat2.model
-
Information about the loaded transformation input.
- LoadedTransformationInput(String, List<PatternInfo>) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.LoadedTransformationInput
-
Creates an instance of a
LoadedTransformationInputrecord class. - loadExample(String) - Method in class cz.vse.swoe.ontodeside.patomat2.service.ExampleService
-
Loads the ontology and patterns specified in example with the given name.
- loadExamples(String) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.ExampleController
- loadOntology(File, boolean) - Method in interface cz.vse.swoe.ontodeside.patomat2.service.OntologyHolder
-
Loads ontology from the specified file.
- loadOntology(File, boolean) - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jOntologyHolder
- loadPatterns(List<String>) - Method in class cz.vse.swoe.ontodeside.patomat2.service.pattern.PatternCache
-
Loads patterns into the cache from the specified URLs.
- localNameFormat() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.iri.NewEntityIriConfig
-
Returns the value of the
localNameFormatrecord component. - LogViewerController - Class in cz.vse.swoe.ontodeside.patomat2.rest
- LogViewerController(LogViewerService) - Constructor for class cz.vse.swoe.ontodeside.patomat2.rest.LogViewerController
- LogViewerService - Class in cz.vse.swoe.ontodeside.patomat2.service
-
Allows viewing application log.
- LogViewerService() - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.LogViewerService
M
- main(String[]) - Static method in class cz.vse.swoe.ontodeside.patomat2.PatOMat2Application
- match() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
-
Returns the value of the
matchrecord component. - MatchService - Class in cz.vse.swoe.ontodeside.patomat2.service
-
Finds and applies pattern matches in ontology.
- MatchService(FileStorageService, OntologyHolder, NewEntityGenerator, List<PatternInstanceSorter>) - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.MatchService
- maxSortableInstancesThresholdExceededException(MaxSortableInstancesThresholdExceededException, HttpServletRequest) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.RestExceptionHandler
- MaxSortableInstancesThresholdExceededException - Exception Class in cz.vse.swoe.ontodeside.patomat2.exception
-
Indicates that the client requested too many pattern instances to be sorted.
- MaxSortableInstancesThresholdExceededException(String) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.MaxSortableInstancesThresholdExceededException
N
- name() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Returns the value of the
namerecord component. - name() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInfo
-
Returns the value of the
namerecord component. - name() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.RemotePattern
-
Returns the value of the
namerecord component. - name() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.ResultBinding
-
Returns the value of the
namerecord component. - name() - Method in record class cz.vse.swoe.ontodeside.patomat2.rest.SortController.SortDto
-
Returns the value of the
namerecord component. - namespace() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.iri.NewEntityIriConfig
-
Returns the value of the
namespacerecord component. - NameTransformation - Record Class in cz.vse.swoe.ontodeside.patomat2.model
-
Describes how a new entity name should be created based the transformation rule.
- NameTransformation(String, String) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.NameTransformation
-
Creates an instance of a
NameTransformationrecord class. - NameTransformationException - Exception Class in cz.vse.swoe.ontodeside.patomat2.exception
-
Thrown when entity name transformation fails.
- NameTransformationException(String) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.NameTransformationException
- NameTransformationFunction - Class in cz.vse.swoe.ontodeside.patomat2.model.function
- NameTransformationFunction(OntologyHolder, NameTransformationFunction) - Constructor for class cz.vse.swoe.ontodeside.patomat2.model.function.NameTransformationFunction
- nameTransformations() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Returns the value of the
nameTransformationsrecord component. - newEntities() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
-
Returns the value of the
newEntitiesrecord component. - NewEntity - Record Class in cz.vse.swoe.ontodeside.patomat2.model
- NewEntity(String, String, List<EntityLabel>) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.NewEntity
-
Creates an instance of a
NewEntityrecord class. - NewEntityGenerator - Interface in cz.vse.swoe.ontodeside.patomat2.model
-
Generates new entities (RDF resources) to be inserted as part of transformation.
- NewEntityIdentifierController - Class in cz.vse.swoe.ontodeside.patomat2.rest
- NewEntityIdentifierController(MatchService) - Constructor for class cz.vse.swoe.ontodeside.patomat2.rest.NewEntityIdentifierController
- NewEntityIriConfig - Record Class in cz.vse.swoe.ontodeside.patomat2.model.iri
-
Configuration of new entity IRI generation.
- NewEntityIriConfig(String, EntityIriLocalNameFormat) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.iri.NewEntityIriConfig
-
Creates an instance of a
NewEntityIriConfigrecord class. - newEntityVariables() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
- NLPUtils - Class in cz.vse.swoe.ontodeside.patomat2.util
-
NLP pipeline provider.
- NominalizeFunction - Class in cz.vse.swoe.ontodeside.patomat2.model.function
-
Nominalizes a verb in the specified argument.
- NominalizeFunction(OntologyHolder, NameTransformationFunction) - Constructor for class cz.vse.swoe.ontodeside.patomat2.model.function.NominalizeFunction
- notFoundException() - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.RestExceptionHandler
- NotFoundException - Exception Class in cz.vse.swoe.ontodeside.patomat2.exception
- NotFoundException(String) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.NotFoundException
O
- OllamaLikertSorter - Class in cz.vse.swoe.ontodeside.patomat2.service.sort
-
Sorts patterns instances by their likelihood of "making sense" using a Likert scale.
- OllamaLikertSorter(ApplicationConfig, RestTemplate) - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.sort.OllamaLikertSorter
- onOntologyFileUploaded(OntologyFileUploadedEvent) - Method in class cz.vse.swoe.ontodeside.patomat2.service.MatchService
- ontology() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.LoadedTransformationInput
-
Returns the value of the
ontologyrecord component. - ontology() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationInput
-
Returns the value of the
ontologyrecord component. - ontology() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationResult
-
Returns the value of the
ontologyrecord component. - ONTOLOGY_FILE_SESSION_ATTRIBUTE - Static variable in class cz.vse.swoe.ontodeside.patomat2.Constants
-
HTTP session attribute name for stored ontology file.
- OntologyDiff - Record Class in cz.vse.swoe.ontodeside.patomat2.model
-
Difference between ontologies.
- OntologyDiff(String, String) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.OntologyDiff
-
Creates an instance of a
OntologyDiffrecord class. - OntologyFileUploadedEvent - Class in cz.vse.swoe.ontodeside.patomat2.event
-
Indicates that an ontology file has been uploaded.
- OntologyFileUploadedEvent(Object, String, List<Pattern>, boolean) - Constructor for class cz.vse.swoe.ontodeside.patomat2.event.OntologyFileUploadedEvent
- ontologyHolder - Variable in class cz.vse.swoe.ontodeside.patomat2.model.function.NameTransformationFunction
- OntologyHolder - Interface in cz.vse.swoe.ontodeside.patomat2.service
-
Manages ontology and allows finding matches in it.
- ontologyReadException(OntologyReadException, HttpServletRequest) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.RestExceptionHandler
- OntologyReadException - Exception Class in cz.vse.swoe.ontodeside.patomat2.exception
- OntologyReadException(String) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.OntologyReadException
- OntologyReadException(String, Throwable) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.OntologyReadException
- OntologyStoringController - Class in cz.vse.swoe.ontodeside.patomat2.rest
- OntologyStoringController(OntologyStoringService) - Constructor for class cz.vse.swoe.ontodeside.patomat2.rest.OntologyStoringController
- OntologyStoringService - Class in cz.vse.swoe.ontodeside.patomat2.service
- OntologyStoringService(FileStorageService, PatternCache, PatternParser, HttpSession) - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.OntologyStoringService
P
- PassivizeFunction - Class in cz.vse.swoe.ontodeside.patomat2.model.function
-
Finds a verb in the specified argument and returns it in a passive form.
- PassivizeFunction(OntologyHolder, NameTransformationFunction) - Constructor for class cz.vse.swoe.ontodeside.patomat2.model.function.PassivizeFunction
- passwordEncoder() - Method in class cz.vse.swoe.ontodeside.patomat2.config.AppConfig
- PatOMat2Application - Class in cz.vse.swoe.ontodeside.patomat2
- PatOMat2Application() - Constructor for class cz.vse.swoe.ontodeside.patomat2.PatOMat2Application
- patomat2Exception(PatOMat2Exception, HttpServletRequest) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.RestExceptionHandler
- PatOMat2Exception - Exception Class in cz.vse.swoe.ontodeside.patomat2.exception
-
Base exception for PatOMat2.
- PatOMat2Exception(String) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.PatOMat2Exception
- PatOMat2Exception(String, Throwable) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.PatOMat2Exception
- PatOMat2Exception(Throwable) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.PatOMat2Exception
- pattern() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
-
Returns the value of the
patternrecord component. - Pattern - Record Class in cz.vse.swoe.ontodeside.patomat2.model
- Pattern(String, String, List<String>, List<String>, List<String>, List<NameTransformation>, List<ExampleValues>) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Creates an instance of a
Patternrecord class. - PATTERN_FILES_SESSION_ATTRIBUTE - Static variable in class cz.vse.swoe.ontodeside.patomat2.Constants
-
HTTP session attribute name for stored patterns.
- PatternCache - Class in cz.vse.swoe.ontodeside.patomat2.service.pattern
-
Cache for predefined patterns specified in configuration.
- PatternCache(PatternParser) - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.pattern.PatternCache
- PatternController - Class in cz.vse.swoe.ontodeside.patomat2.rest
- PatternController(PatternCache) - Constructor for class cz.vse.swoe.ontodeside.patomat2.rest.PatternController
- PatternInfo - Record Class in cz.vse.swoe.ontodeside.patomat2.model
-
Information about a loaded pattern.
- PatternInfo(String, String, boolean) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.PatternInfo
-
Creates an instance of a
PatternInforecord class. - PatternInstance - Record Class in cz.vse.swoe.ontodeside.patomat2.model
- PatternInstance(int, Pattern, PatternMatch, String, String, List<NewEntity>) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
- PatternInstance(int, Pattern, PatternMatch, String, String, List<NewEntity>, Integer) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
-
Creates an instance of a
PatternInstancerecord class. - PatternInstanceSorter - Interface in cz.vse.swoe.ontodeside.patomat2.service.sort
-
Sorter of pattern instances.
- PatternInstanceTransformation - Class in cz.vse.swoe.ontodeside.patomat2.model
-
Specifies how a pattern instance should be transformed.
- PatternInstanceTransformation() - Constructor for class cz.vse.swoe.ontodeside.patomat2.model.PatternInstanceTransformation
- PatternMatch - Class in cz.vse.swoe.ontodeside.patomat2.model
- PatternMatch() - Constructor for class cz.vse.swoe.ontodeside.patomat2.model.PatternMatch
- PatternMatch(Pattern, List<ResultBinding>) - Constructor for class cz.vse.swoe.ontodeside.patomat2.model.PatternMatch
- PatternMatchesController - Class in cz.vse.swoe.ontodeside.patomat2.rest
- PatternMatchesController(MatchService) - Constructor for class cz.vse.swoe.ontodeside.patomat2.rest.PatternMatchesController
- patternName() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
- PatternParser - Class in cz.vse.swoe.ontodeside.patomat2.service.pattern
-
Reads pattern files, extracting the patterns they contain.
- PatternParser() - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.pattern.PatternParser
- PatternParserException - Exception Class in cz.vse.swoe.ontodeside.patomat2.exception
-
Indicates that the system was unable to resolve a pattern.
- PatternParserException(String) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.PatternParserException
- PatternParserException(String, Throwable) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.PatternParserException
- patterns() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.LoadedTransformationInput
-
Returns the value of the
patternsrecord component. - patterns() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationInput
-
Returns the value of the
patternsrecord component. - populateSparqlUpdate(String, PatternMatch) - Static method in class cz.vse.swoe.ontodeside.patomat2.util.Rdf4jSparqlQueryBuilder
-
Takes a SPARQL Update (INSERT/DELETE) statement and
PatternMatchinstance and returns a query string where variables in the query are bound to the values in thePatternMatch. - property() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.EntityLabel
-
Returns the value of the
propertyrecord component.
R
- RANDOM - Enum constant in enum class cz.vse.swoe.ontodeside.patomat2.service.sort.Sort
-
Random shuffle of pattern matches.
- RANDOM_NUMBER - Enum constant in enum class cz.vse.swoe.ontodeside.patomat2.model.iri.EntityIriLocalNameFormat
-
Random number appended to the namespace
- RandomShuffleSorter - Class in cz.vse.swoe.ontodeside.patomat2.service.sort
-
Sorts pattern instances using random shuffle.
- RandomShuffleSorter() - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.sort.RandomShuffleSorter
- Rdf4jNewEntityGenerator - Class in cz.vse.swoe.ontodeside.patomat2.service.rdf4j
-
Generates new entities (RDF resources) using the loaded ontology.
- Rdf4jNewEntityGenerator(OntologyHolder, ApplicationConfig) - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jNewEntityGenerator
- Rdf4jOntologyHolder - Class in cz.vse.swoe.ontodeside.patomat2.service.rdf4j
- Rdf4jOntologyHolder() - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jOntologyHolder
- Rdf4jSparqlQueryBuilder - Class in cz.vse.swoe.ontodeside.patomat2.util
- Rdf4jSparqlQueryBuilder() - Constructor for class cz.vse.swoe.ontodeside.patomat2.util.Rdf4jSparqlQueryBuilder
- RDFS_RESOURCE - Static variable in class cz.vse.swoe.ontodeside.patomat2.Constants
-
RDFS Resource
- readClasspathResource(String, Consumer<String>) - Static method in class cz.vse.swoe.ontodeside.patomat2.util.Utils
-
Reads a resource from the classpath and applies the specified consumer to each line.
- readPattern(File) - Method in class cz.vse.swoe.ontodeside.patomat2.service.pattern.PatternParser
-
Reads pattern from the specified file.
- readPattern(InputStream) - Method in class cz.vse.swoe.ontodeside.patomat2.service.pattern.PatternParser
-
Reads pattern from the
InputStream. - RemotePattern - Record Class in cz.vse.swoe.ontodeside.patomat2.model
-
Information about a pattern fetched from a remote URL
- RemotePattern(String, String) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.RemotePattern
-
Creates an instance of a
RemotePatternrecord class. - removedStatements() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.OntologyDiff
-
Returns the value of the
removedStatementsrecord component. - removedStatements() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationSummary
-
Returns the value of the
removedStatementsrecord component. - removeSession(String) - Method in class cz.vse.swoe.ontodeside.patomat2.config.InvalidSessionTracker
- resolveImports() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationInput
-
Returns the value of the
resolveImportsrecord component. - resourceFetchException(ResourceFetchException, HttpServletRequest) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.RestExceptionHandler
- ResourceFetchException - Exception Class in cz.vse.swoe.ontodeside.patomat2.exception
-
Indicates that a resource cannot be fetched over the internet.
- ResourceFetchException(String) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.ResourceFetchException
- restClientBuilder() - Method in class cz.vse.swoe.ontodeside.patomat2.config.AppConfig
- RestExceptionHandler - Class in cz.vse.swoe.ontodeside.patomat2.rest.handler
- RestExceptionHandler() - Constructor for class cz.vse.swoe.ontodeside.patomat2.rest.handler.RestExceptionHandler
- restTemplate() - Method in class cz.vse.swoe.ontodeside.patomat2.config.AppConfig
- ResultBinding - Record Class in cz.vse.swoe.ontodeside.patomat2.model
- ResultBinding(String, String, String) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.ResultBinding
- ResultBinding(String, String, String, boolean) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.ResultBinding
- ResultBinding(String, String, String, boolean, Optional<String>) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.ResultBinding
-
Creates an instance of a
ResultBindingrecord class. - rule() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NameTransformation
-
Returns the value of the
rulerecord component. - run(String...) - Method in class cz.vse.swoe.ontodeside.patomat2.service.Initializer
S
- saveFile(MultipartFile) - Method in class cz.vse.swoe.ontodeside.patomat2.service.FileStorageService
-
Stores the specified file.
- saveOntologyAndPatterns(TransformationInput) - Method in class cz.vse.swoe.ontodeside.patomat2.service.OntologyStoringService
-
Saves ontology and patterns that are specified as URLs from which they are to be loaded.
- saveOntologyAndPatterns(MultipartFile, List<MultipartFile>, TransformationInput) - Method in class cz.vse.swoe.ontodeside.patomat2.service.OntologyStoringService
-
Saves ontology and patterns for transformation.
- Security() - Constructor for class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Security
- SecurityConfig - Class in cz.vse.swoe.ontodeside.patomat2.config
- SecurityConfig(ApplicationConfig, InvalidSessionTracker, ObjectMapper, PasswordEncoder) - Constructor for class cz.vse.swoe.ontodeside.patomat2.config.SecurityConfig
- SESSION_TIMEOUT - Static variable in class cz.vse.swoe.ontodeside.patomat2.Constants
-
Session timeout in seconds.
- SessionCleanupListener - Class in cz.vse.swoe.ontodeside.patomat2.config
-
Cleans user data up after session ends.
- SessionCleanupListener(ApplicationConfig, InvalidSessionTracker, FileStorageService) - Constructor for class cz.vse.swoe.ontodeside.patomat2.config.SessionCleanupListener
- SessionCountingAnonymousFilter - Class in cz.vse.swoe.ontodeside.patomat2.config
- SessionCountingAnonymousFilter(String, InvalidSessionTracker, ObjectMapper) - Constructor for class cz.vse.swoe.ontodeside.patomat2.config.SessionCountingAnonymousFilter
- sessionCreated(HttpSessionEvent) - Method in class cz.vse.swoe.ontodeside.patomat2.config.SessionCleanupListener
- sessionDestroyed(HttpSessionEvent) - Method in class cz.vse.swoe.ontodeside.patomat2.config.SessionCleanupListener
- sessionListener(ApplicationConfig, InvalidSessionTracker, FileStorageService) - Method in class cz.vse.swoe.ontodeside.patomat2.config.AppConfig
- setApiUrl(String) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class cz.vse.swoe.ontodeside.patomat2.service.OntologyStoringService
- setApplyDeletes(boolean) - Method in class cz.vse.swoe.ontodeside.patomat2.model.TransformationSpecification
- setBatchSize(int) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- setBindings(List<ResultBinding>) - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternMatch
- setCorsAllowedOrigins(String) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- setExamples(List<ApplicationConfig.Example>) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- setId(Integer) - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternInstanceTransformation
- setIriConfig(NewEntityIriConfig) - Method in interface cz.vse.swoe.ontodeside.patomat2.model.NewEntityGenerator
-
Sets configuration for generating new entity identifiers.
- setIriConfig(NewEntityIriConfig) - Method in class cz.vse.swoe.ontodeside.patomat2.service.rdf4j.Rdf4jNewEntityGenerator
- setLlm(ApplicationConfig.LLM) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- setMaxConcurrentRequests(int) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- setMaxInstances(int) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- setMaxSessions(int) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Security
- setMessage(String) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.ErrorInfo
- setModel(String) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- setName(String) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Example
- setNewEntityIriBase(String) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- setNewEntityIriConfig(NewEntityIriConfig) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.NewEntityIdentifierController
- setNewEntityIriConfig(NewEntityIriConfig) - Method in class cz.vse.swoe.ontodeside.patomat2.service.MatchService
- setNewEntityLabels(Map<String, List<EntityLabel>>) - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternInstanceTransformation
- setNumCtx(int) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- setOntology(String) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Example
- setPattern(Pattern) - Method in class cz.vse.swoe.ontodeside.patomat2.model.PatternMatch
- setPatternInstances(List<PatternInstanceTransformation>) - Method in class cz.vse.swoe.ontodeside.patomat2.model.TransformationSpecification
- setPatterns(List<String>) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Example
- setPatterns(List<String>) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- setRequestUri(String) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.ErrorInfo
- setResolveImports(boolean) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.Example
- setSecurity(ApplicationConfig.Security) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- setSort(ApplicationConfig.LLM.Sort) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM
- setStorage(String) - Method in class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig
- setTransformedOntology(Resource) - Method in class cz.vse.swoe.ontodeside.patomat2.service.TransformedOntologyHolder
- shouldResolveImports() - Method in class cz.vse.swoe.ontodeside.patomat2.event.OntologyFileUploadedEvent
- sort(List<PatternInstance>) - Method in class cz.vse.swoe.ontodeside.patomat2.service.sort.OllamaLikertSorter
- sort(List<PatternInstance>) - Method in interface cz.vse.swoe.ontodeside.patomat2.service.sort.PatternInstanceSorter
-
Sorts the specified pattern instances using the method supported by this implementation.
- sort(List<PatternInstance>) - Method in class cz.vse.swoe.ontodeside.patomat2.service.sort.RandomShuffleSorter
- Sort - Enum Class in cz.vse.swoe.ontodeside.patomat2.service.sort
-
Options for sorting pattern matches.
- Sort() - Constructor for class cz.vse.swoe.ontodeside.patomat2.config.ApplicationConfig.LLM.Sort
- SortController - Class in cz.vse.swoe.ontodeside.patomat2.rest
- SortController() - Constructor for class cz.vse.swoe.ontodeside.patomat2.rest.SortController
- SortController.SortDto - Record Class in cz.vse.swoe.ontodeside.patomat2.rest
- SortDto(Sort) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.rest.SortController.SortDto
- SortDto(String, String) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.rest.SortController.SortDto
-
Creates an instance of a
SortDtorecord class. - sourceSparql() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Creates a SPARQL SELECT query to find instances of this pattern in the source ontology.
- sourceTriples() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Returns the value of the
sourceTriplesrecord component. - sourceVariables() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
- SPARQL_VARIABLE - Static variable in class cz.vse.swoe.ontodeside.patomat2.Constants
-
Prefix of a SPARQL variable
- SPARQL_VARIABLE_PATTERN - Static variable in class cz.vse.swoe.ontodeside.patomat2.Constants
-
Regex pattern that extracts SPARQL variable names from strings.
- sparqlDelete() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
-
Returns the value of the
sparqlDeleterecord component. - sparqlInsert() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
-
Returns the value of the
sparqlInsertrecord component. - storeTransformationInput(MultipartFile, Optional<List<MultipartFile>>, TransformationInput) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.OntologyStoringController
- summary() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationResult
-
Returns the value of the
summaryrecord component.
T
- targetTriples() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Returns the value of the
targetTriplesrecord component. - targetVariables() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
- tokenize(String) - Static method in class cz.vse.swoe.ontodeside.patomat2.util.Utils
-
Tokenizes the specified string.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.EntityLabel
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.ExampleValues
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.iri.NewEntityIriConfig
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.LoadedTransformationInput
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NameTransformation
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NewEntity
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.OntologyDiff
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.Pattern
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInfo
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.RemotePattern
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.ResultBinding
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationInput
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationResult
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.TransformationSummary
-
Returns a string representation of this record class.
- toString() - Method in record class cz.vse.swoe.ontodeside.patomat2.rest.SortController.SortDto
-
Returns a string representation of this record class.
- transform(TransformationSpecification) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.TransformationController
- transform(TransformationSpecification) - Method in class cz.vse.swoe.ontodeside.patomat2.service.TransformationService
-
Executes the pattern-based transformation.
- TransformationController - Class in cz.vse.swoe.ontodeside.patomat2.rest
- TransformationController(TransformationService) - Constructor for class cz.vse.swoe.ontodeside.patomat2.rest.TransformationController
- TransformationInput - Record Class in cz.vse.swoe.ontodeside.patomat2.model
-
Describes the transformation input provided by the user.
- TransformationInput(String, List<String>, boolean) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.TransformationInput
-
Creates an instance of a
TransformationInputrecord class. - TransformationResult - Record Class in cz.vse.swoe.ontodeside.patomat2.model
-
Result of transformation.
- TransformationResult(Resource, TransformationSummary) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.TransformationResult
-
Creates an instance of a
TransformationResultrecord class. - TransformationService - Class in cz.vse.swoe.ontodeside.patomat2.service
- TransformationService(MatchService, OntologyHolder, OntologyStoringService, TransformedOntologyHolder) - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.TransformationService
- TransformationSpecification - Class in cz.vse.swoe.ontodeside.patomat2.model
-
Specifies how the pattern-based ontology transformation should be applied.
- TransformationSpecification() - Constructor for class cz.vse.swoe.ontodeside.patomat2.model.TransformationSpecification
- TransformationSummary - Record Class in cz.vse.swoe.ontodeside.patomat2.model
- TransformationSummary(String, String, List<NewEntity>) - Constructor for record class cz.vse.swoe.ontodeside.patomat2.model.TransformationSummary
-
Creates an instance of a
TransformationSummaryrecord class. - TransformedOntologyHolder - Class in cz.vse.swoe.ontodeside.patomat2.service
- TransformedOntologyHolder() - Constructor for class cz.vse.swoe.ontodeside.patomat2.service.TransformedOntologyHolder
U
- unsupportedSortMethodException(UnsupportedSortMethodException, HttpServletRequest) - Method in class cz.vse.swoe.ontodeside.patomat2.rest.handler.RestExceptionHandler
- UnsupportedSortMethodException - Exception Class in cz.vse.swoe.ontodeside.patomat2.exception
-
Indicates that an unsupported sort method was specified.
- UnsupportedSortMethodException(String) - Constructor for exception class cz.vse.swoe.ontodeside.patomat2.exception.UnsupportedSortMethodException
- url() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.RemotePattern
-
Returns the value of the
urlrecord component. - userDetailsService() - Method in class cz.vse.swoe.ontodeside.patomat2.config.SecurityConfig
- Utils - Class in cz.vse.swoe.ontodeside.patomat2.util
- UUID - Enum constant in enum class cz.vse.swoe.ontodeside.patomat2.model.iri.EntityIriLocalNameFormat
-
UUID appended to the namespace
V
- value() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.EntityLabel
-
Returns the value of the
valuerecord component. - value() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.ResultBinding
-
Returns the value of the
valuerecord component. - value() - Method in record class cz.vse.swoe.ontodeside.patomat2.rest.SortController.SortDto
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class cz.vse.swoe.ontodeside.patomat2.model.iri.EntityIriLocalNameFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cz.vse.swoe.ontodeside.patomat2.service.sort.Sort
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cz.vse.swoe.ontodeside.patomat2.model.iri.EntityIriLocalNameFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cz.vse.swoe.ontodeside.patomat2.service.sort.Sort
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variableName() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NameTransformation
-
Returns the value of the
variableNamerecord component. - variableName() - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NewEntity
-
Returns the value of the
variableNamerecord component.
W
- withIdentifier(String) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NewEntity
- withLabels(List<EntityLabel>) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.NewEntity
- withLikertScore(int) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
- withNewEntities(List<NewEntity>) - Method in record class cz.vse.swoe.ontodeside.patomat2.model.PatternInstance
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form