Class ICV
java.lang.Object
it.uniroma2.art.semanticturkey.services.STServiceAdapter
it.uniroma2.art.semanticturkey.services.core.ICV
- All Implemented Interfaces:
NewerNewStyleService
,STService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsFields inherited from class it.uniroma2.art.semanticturkey.services.STServiceAdapter
applicationEventPublisher, cfManager, exptManager, stServiceContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllConceptsToScheme
(org.eclipse.rdf4j.model.IRI scheme) Quick fix for concepts in no scheme.void
deleteAllDanglingConcepts
(org.eclipse.rdf4j.model.IRI scheme) Quick fix for dangling concepts.void
Quick fix for dangling xLabel.explain
(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object) com.fasterxml.jackson.databind.JsonNode
listAlignedNamespaces
(RDFResourceRole[] rolesArray) Return a list of namespaces of alignments concepts with the number of alignments per namespacecom.fasterxml.jackson.databind.JsonNode
listBrokenAlignments
(Map<String, String> nsToLocationMap, RDFResourceRole[] rolesArray) Return a list of triples of broken alignmentscom.fasterxml.jackson.databind.JsonNode
listBrokenDefinitions
(RDFResourceRole[] rolesArray, org.eclipse.rdf4j.model.IRI property) Return a list of triples of broken definitions (definition that are not defined in the local repository nor can be resolved with a remote one using http dereferenciation )Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
Returns a list of schemes that have no top conceptCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
Return a list of concepts mapped to each other using both skos:exactMatch and one of skos:broadMatch or skos:relatedMatch mapping properties as the exactMatch relation is disjoint with both broadMatch and relatedMatchcom.fasterxml.jackson.databind.JsonNode
Return a list of concepts belong to hierarchical cycliccom.fasterxml.jackson.databind.JsonNode
listConceptsHierarchicalRedundancies
(boolean sameScheme) Return a list of triples that are redundant from the hierarchical point of viewCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
Return a list of concepts connected to each other with both the skos:related and the skos:broaderTransitive as the skos:related relation is disjoint with skos:broaderTransitive (it consider also all their subproperties with the transitive closure)Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
Returns a list of concepts that don't belong to any schemeCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
listDanglingConcepts
(org.eclipse.rdf4j.model.IRI scheme) Returns a list of concepts, where each concept is a dangling concept in the given schemeCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
Returns a list of concepts and search in all schemesCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
Returns a list of dangling labels, namely the labels not linked with any conceptCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
Return a list of resources having an invalid URI according to complex regexCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
listResourcesNoDef
(RDFResourceRole[] rolesArray, String[] languagesArray) Return a list of resources not having the property skos:definition for the given languagesCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
listResourcesNoLexicalization
(RDFResourceRole[] rolesArray, String[] languagesArray) Return a list of resources with no lexicalization (rdfs:label, skos:prefLabel or skosxl:prefLabel) in one or more input languagesCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
listResourcesWithAltNoPrefLabel
(RDFResourceRole[] rolesArray) Return a list of resources with skos:altLabel(s) (or skosxl:altLabel) but not a corresponding skos:prefLabel (or skos:prefLabel) for the same language locale.Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
listResourcesWithExtraSpacesInLabel
(RDFResourceRole[] rolesArray) Return a list of resources with extra whitespace(s) in skos(xl):label(s) annotation propertiesCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
listResourcesWithMorePrefLabelSameLang
(RDFResourceRole[] rolesArray) Return a list of resources that have more than one skosxl:prefLabel for the same language localeCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
listResourcesWithNoLanguageTagForLabel
(RDFResourceRole[] rolesArray) Return a list of resources that have a SKOS/SKOSXL label without any language tagCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
Returns a list of concepts or schemes that have no skos:prefLabelCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
Returns a list of concepts/schemes/collections that have no skosxl:prefLabelCollection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
listResourcesWithOverlappedLabels
(RDFResourceRole[] rolesArray) Return a list of resources with overlapped lexicalization (resource with same label multiple times)Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>
listResourcesWithSameLabels
(RDFResourceRole[] rolesArray) Return a list of different resources where each resource belong to the same scheme as another resource and these two resources have the same skos:prefLabel or skosxl:prefLabel/skosxl:literalFormcom.fasterxml.jackson.databind.JsonNode
Returns a list of concepts that are topConcept but have a broader in the same schemevoid
Quick fix for topConcept with broader.void
removeAllDanglingFromScheme
(org.eclipse.rdf4j.model.IRI scheme) Quick fix for dangling concepts.void
Quick fix for hierarchical redundancy.void
Quick fix for topConcept with broader.void
removeBroadersToConcept
(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.IRI scheme) Fix for topConcept with broader.void
setAllDanglingAsTopConcept
(org.eclipse.rdf4j.model.IRI scheme) Quick fix for dangling concepts.void
setBroaderForAllDangling
(org.eclipse.rdf4j.model.IRI scheme, org.eclipse.rdf4j.model.IRI broader) Quick fix for dangling concepts.void
setDanglingXLabel
(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.IRI xlabelPred, org.eclipse.rdf4j.model.Resource xlabel) Fix for dangling xLabel.Methods inherited from class it.uniroma2.art.semanticturkey.services.STServiceAdapter
addValue, checkNotLocallyDefined, createQueryBuilder, generateIRI, generateNatureSPARQLSelectPart, generateNatureSPARQLWherePart, generateResourceWithCustomConstructor, getCodaLexModeForSearchFromLexicalizationModel, getDeleteGraph, getGraphFromNature, getInitializedCodaCore, getManagedConnection, getMetadataGraph, getOptionalProject, getPlatformTransactionManager, getProject, getRepository, getRoleFromNature, getUserNamedGraphs, getWorkingGraph, instantiateSearchStrategy, instantiateSearchStrategy, parseReference, publishResourceDeleted, publishResourceDeleted, removeReifiedValue, retrieveResources, shutDownCodaCore, updateTriplePredicate
-
Field Details
-
logger
protected static org.slf4j.Logger logger
-
-
Constructor Details
-
ICV
public ICV()
-
-
Method Details
-
explain
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf\', \'R\')") public ICV.InferenceExplanation explain(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object) -
listConsistencyViolations
@STServiceOperation @PreAuthorize("@auth.isAuthorized(\'rdf\', \'R\')") public List<ICV.ConsistencyViolation> listConsistencyViolations() -
listDanglingConcepts
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(concept)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listDanglingConcepts(org.eclipse.rdf4j.model.IRI scheme) Returns a list of concepts, where each concept is a dangling concept in the given scheme- Parameters:
scheme
- scheme where the concepts are dangling- Returns:
- a list of concepts, where each concept is a dangling concept in the given scheme
-
listDanglingConceptsForAllSchemes
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(concept)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listDanglingConceptsForAllSchemes()Returns a list of concepts and search in all schemes- Returns:
- a list of concepts and search in all schemes
-
listConceptSchemesWithNoTopConcept
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(conceptScheme)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listConceptSchemesWithNoTopConcept()Returns a list of schemes that have no top concept- Returns:
- a list of schemes that have no top concept
-
listConceptsWithNoScheme
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(concept)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listConceptsWithNoScheme()Returns a list of concepts that don't belong to any scheme- Returns:
-
listTopConceptsWithBroader
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(concept)\', \'R\')") public com.fasterxml.jackson.databind.JsonNode listTopConceptsWithBroader()Returns a list of concepts that are topConcept but have a broader in the same scheme- Returns:
- a list of concepts that are topConcept but have a broader in the same scheme
-
listResourcesWithNoSKOSPrefLabel
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listResourcesWithNoSKOSPrefLabel()Returns a list of concepts or schemes that have no skos:prefLabel- Returns:
- a list of concepts or schemes that have no skos:prefLabel
-
listResourcesWithNoSKOSXLPrefLabel
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listResourcesWithNoSKOSXLPrefLabel()Returns a list of concepts/schemes/collections that have no skosxl:prefLabel- Returns:
- a list of concepts/schemes/collections that have no skosxl:prefLabel
-
listDanglingXLabels
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(xLabel)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listDanglingXLabels()Returns a list of dangling labels, namely the labels not linked with any concept- Returns:
- a list of dangling labels, namely the labels not linked with any concept
-
listResourcesWithAltNoPrefLabel
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listResourcesWithAltNoPrefLabel(RDFResourceRole[] rolesArray) throws UnsupportedLexicalizationModelException Return a list of resources with skos:altLabel(s) (or skosxl:altLabel) but not a corresponding skos:prefLabel (or skos:prefLabel) for the same language locale.- Parameters:
rolesArray
- an array containing all the roles to which the desired resource should belong to- Returns:
- a list of resources with skos:altLabel(s) (or skosxl:altLabel) but not a corresponding skos:prefLabel (or skos:prefLabel) for the same language locale.
- Throws:
UnsupportedLexicalizationModelException
-
listResourcesNoLexicalization
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listResourcesNoLexicalization(RDFResourceRole[] rolesArray, String[] languagesArray) Return a list of resources with no lexicalization (rdfs:label, skos:prefLabel or skosxl:prefLabel) in one or more input languages- Parameters:
rolesArray
- an array containing all the roles to which the desired resource should belong tolanguagesArray
- an array containing all languages in which to look for no lexicalization- Returns:
- a list of resources with no lexicalization (rdfs:label, skos:prefLabel or skosxl:prefLabel) in one or more input languages
-
listConceptsExactMatchDisjoint
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(concept)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listConceptsExactMatchDisjoint()Return a list of concepts mapped to each other using both skos:exactMatch and one of skos:broadMatch or skos:relatedMatch mapping properties as the exactMatch relation is disjoint with both broadMatch and relatedMatch- Returns:
- a list of concepts mapped to each other using both skos:exactMatch and one of skos:broadMatch or skos:relatedMatch mapping properties as the exactMatch relation is disjoint with both broadMatch and relatedMatch
-
listConceptsRelatedDisjoint
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(concept)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listConceptsRelatedDisjoint()Return a list of concepts connected to each other with both the skos:related and the skos:broaderTransitive as the skos:related relation is disjoint with skos:broaderTransitive (it consider also all their subproperties with the transitive closure)- Returns:
- a list of concepts connected to each other with both the skos:related and the skos:broaderTransitive as the related relation is disjoint with broaderTransitive
-
listResourcesWithMorePrefLabelSameLang
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listResourcesWithMorePrefLabelSameLang(RDFResourceRole[] rolesArray) throws UnsupportedLexicalizationModelException Return a list of resources that have more than one skosxl:prefLabel for the same language locale- Parameters:
rolesArray
- an array containing all the roles to which the desired resource should belong to- Returns:
- a list of resources that have more than one skosxl:prefLabel for the same language locale
- Throws:
UnsupportedLexicalizationModelException
-
listResourcesWithNoLanguageTagForLabel
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listResourcesWithNoLanguageTagForLabel(RDFResourceRole[] rolesArray) Return a list of resources that have a SKOS/SKOSXL label without any language tag- Parameters:
rolesArray
- an array containing all the roles to which the desired resource should belong to- Returns:
- a list of resources that have a SKOS/SKOSXL label without any language tag
- Throws:
UnsupportedLexicalizationModelException
-
listResourcesWithExtraSpacesInLabel
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listResourcesWithExtraSpacesInLabel(RDFResourceRole[] rolesArray) Return a list of resources with extra whitespace(s) in skos(xl):label(s) annotation properties- Parameters:
rolesArray
- an array containing all the roles to which the desired resource should belong to- Returns:
- a list of resources with extra whitespace(s) in skos(xl):label(s) annotation properties
- Throws:
UnsupportedLexicalizationModelException
-
listResourcesWithSameLabels
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listResourcesWithSameLabels(RDFResourceRole[] rolesArray) throws UnsupportedLexicalizationModelException Return a list of different resources where each resource belong to the same scheme as another resource and these two resources have the same skos:prefLabel or skosxl:prefLabel/skosxl:literalForm- Parameters:
rolesArray
- an array containing all the roles to which the desired resource should belong to- Returns:
- a list of different resources where each resource belong to the same scheme as another resource and these two resources have the same skos:prefLabel or skosxl:prefLabel/skosxl:literalForm
- Throws:
UnsupportedLexicalizationModelException
-
listResourcesWithOverlappedLabels
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listResourcesWithOverlappedLabels(RDFResourceRole[] rolesArray) throws UnsupportedLexicalizationModelException Return a list of resources with overlapped lexicalization (resource with same label multiple times)- Parameters:
rolesArray
- an array containing all the roles to which the desired resource should belong to- Returns:
- a list of resources with overlapped lexicalization (resource with same label multiple times)
- Throws:
UnsupportedLexicalizationModelException
-
listResourcesNoDef
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listResourcesNoDef(RDFResourceRole[] rolesArray, String[] languagesArray) Return a list of resources not having the property skos:definition for the given languages- Parameters:
rolesArray
- an array containing all the roles to which the desired resource should belong tolanguagesArray
- an array containing all languages in which to look for the definitions- Returns:
- a list of resources not having the property skos:definition for the given languages
- Throws:
UnsupportedLexicalizationModelException
-
listConceptsHierarchicalCycles
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(concept)\', \'R\')") public com.fasterxml.jackson.databind.JsonNode listConceptsHierarchicalCycles()Return a list of concepts belong to hierarchical cyclic- Returns:
- a list of concepts belong to hierarchical cyclic
-
listConceptsHierarchicalRedundancies
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(concept)\', \'R\')") public com.fasterxml.jackson.databind.JsonNode listConceptsHierarchicalRedundancies(@Optional(defaultValue="true") boolean sameScheme) throws UnsupportedLexicalizationModelException Return a list of triples that are redundant from the hierarchical point of view- Parameters:
sameScheme
- true to look only on the same scheme (optional value, its default value is true), false otherwise- Returns:
- a list of triples that are redundant from the hierarchical point of view
- Throws:
UnsupportedLexicalizationModelException
-
listAlignedNamespaces
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public com.fasterxml.jackson.databind.JsonNode listAlignedNamespaces(RDFResourceRole[] rolesArray) throws ProjectAccessException Return a list of namespaces of alignments concepts with the number of alignments per namespace- Parameters:
rolesArray
- an array containing all the roles to which the desired resource should belong to- Returns:
- a list of namespaces of alignments concepts with the number of alignments per namespace
- Throws:
ProjectAccessException
-
listBrokenAlignments
@STServiceOperation(method=POST) @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public com.fasterxml.jackson.databind.JsonNode listBrokenAlignments(Map<String, String> nsToLocationMap, RDFResourceRole[] rolesArray) throws ProjectAccessExceptionReturn a list of triples of broken alignments- Parameters:
nsToLocationMap
- a map to link namespace to locationrolesArray
- an array containing all the roles to which the desired resource should belong to- Returns:
- a list of triples of broken alignments
- Throws:
ProjectAccessException
IOException
-
listBrokenDefinitions
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public com.fasterxml.jackson.databind.JsonNode listBrokenDefinitions(RDFResourceRole[] rolesArray, @SubPropertyOf(superPropertyIRI="http://www.w3.org/2004/02/skos/core#note") org.eclipse.rdf4j.model.IRI property) Return a list of triples of broken definitions (definition that are not defined in the local repository nor can be resolved with a remote one using http dereferenciation )- Parameters:
rolesArray
- an array containing all the roles to which the desired resource should belong toproperty
- the subProperty of skos:note to consider- Returns:
- a list of triples of broken definitions (definition that are not defined in the local repository nor can be resolved with a remote one using http dereferenciation )
- Throws:
ProjectAccessException
IOException
-
listLocalInvalidURIs
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listLocalInvalidURIs()Return a list of resources having an invalid URI according to complex regex- Returns:
- a list of resources having an invalid URI according to complex regex
-
listResourcesURIWithSpace
@STServiceOperation @Read @PreAuthorize("@auth.isAuthorized(\'rdf(resource)\', \'R\')") public Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>> listResourcesURIWithSpace() -
setAllDanglingAsTopConcept
@STServiceOperation(method=POST) @Write @PreAuthorize("@auth.isAuthorized(\'rdf(concept, taxonomy)\', \'C\')") public void setAllDanglingAsTopConcept(org.eclipse.rdf4j.model.IRI scheme) Quick fix for dangling concepts. Set all dangling concepts as topConceptOf the given scheme- Parameters:
scheme
- the scheme to which all dangling concept will set as top concept of
-
setBroaderForAllDangling
@STServiceOperation(method=POST) @Write @PreAuthorize("@auth.isAuthorized(\'rdf(concept, taxonomy)\', \'C\')") public void setBroaderForAllDangling(org.eclipse.rdf4j.model.IRI scheme, org.eclipse.rdf4j.model.IRI broader) Quick fix for dangling concepts. Set the given broader for all dangling concepts in the given scheme- Parameters:
scheme
- the scheme to which all dangling concept will be associated tobroader
- the concept to which all dangling concept will be set as broader of
-
removeAllDanglingFromScheme
@STServiceOperation(method=POST) @Write @PreAuthorize("@auth.isAuthorized(\'rdf(concept, schemes)\', \'D\')") public void removeAllDanglingFromScheme(org.eclipse.rdf4j.model.IRI scheme) Quick fix for dangling concepts. Removes all dangling concepts from the given scheme- Parameters:
scheme
- the scheme which will be removed from all dangling concept
-
deleteAllDanglingConcepts
@STServiceOperation(method=POST) @Write @PreAuthorize("@auth.isAuthorized(\'rdf(concept)\', \'D\')") public void deleteAllDanglingConcepts(org.eclipse.rdf4j.model.IRI scheme) Quick fix for dangling concepts. Delete all the dangling concepts of the given scheme- Parameters:
scheme
- the scheme from which all dangling concept will be be deleted from the ontology
-
addAllConceptsToScheme
@STServiceOperation(method=POST) @Write @PreAuthorize("@auth.isAuthorized(\'rdf(concept, scheme)\', \'C\')") public void addAllConceptsToScheme(org.eclipse.rdf4j.model.IRI scheme) Quick fix for concepts in no scheme. Add all concepts without scheme to the given scheme- Parameters:
scheme
- the scheme to which all concepts having no scheme will be added to
-
removeBroadersToConcept
@STServiceOperation(method=POST) @Write @PreAuthorize("@auth.isAuthorized(\'rdf(concept, taxonomy)\', \'D\')") public void removeBroadersToConcept(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.IRI scheme) Fix for topConcept with broader. Remove all the broader relation in the given scheme of the given concept.- Parameters:
concept
- the concept which will be no longer the broader of the top concept of the given schemescheme
-
-
removeBroadersToAllConcepts
@STServiceOperation(method=POST) @Write @PreAuthorize("@auth.isAuthorized(\'rdf(concept, taxonomy)\', \'D\')") public void removeBroadersToAllConcepts()Quick fix for topConcept with broader. Remove all the broader (or narrower) relation in the of top concepts with broader (in the same scheme). -
removeAllAsTopConceptsWithBroader
@STServiceOperation(method=POST) @Write @PreAuthorize("@auth.isAuthorized(\'rdf(concept, taxonomy)\', \'D\')") public void removeAllAsTopConceptsWithBroader()Quick fix for topConcept with broader. Remove as topConceptOf all the topConcept with broader. -
removeAllHierarchicalRedundancy
@STServiceOperation(method=POST) @Write @PreAuthorize("@auth.isAuthorized(\'rdf(concept, taxonomy)\', \'D\')") public void removeAllHierarchicalRedundancy()Quick fix for hierarchical redundancy. Remove narrower/broader redundant relations. -
deleteAllDanglingXLabel
@STServiceOperation(method=POST) @Write @PreAuthorize("@auth.isAuthorized(\'rdf(xLabel)\', \'D\')") public void deleteAllDanglingXLabel()Quick fix for dangling xLabel. Deletes all triples that involve the dangling xLabel(s) -
setDanglingXLabel
@STServiceOperation(method=POST) @Write @PreAuthorize("@auth.isAuthorized(\'rdf(resource, lexicalization)\', \'C\')") public void setDanglingXLabel(org.eclipse.rdf4j.model.IRI concept, org.eclipse.rdf4j.model.IRI xlabelPred, org.eclipse.rdf4j.model.Resource xlabel) Fix for dangling xLabel. Links the dangling xLabel to the given concept through the given predicate- Parameters:
concept
- the concept which will be linked with the given xlabelPred to the input xlabelxlabelPred
- the property which will be used to link the given concept to the input xlabelxlabel
- the xlabel which will be linked to the given concept using the input xlabelPred
-