Class PropertiesController

java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.PropertiesController
All Implemented Interfaces:
IntrospectableController, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Controller public class PropertiesController extends Object implements org.springframework.context.ApplicationContextAware, IntrospectableController
  • Constructor Details

    • PropertiesController

      public PropertiesController()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext arg0) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • getServiceSpecies

      public ServiceSpecies getServiceSpecies()
      Specified by:
      getServiceSpecies in interface IntrospectableController
    • getService

      public Properties getService()
      Specified by:
      getService in interface IntrospectableController
    • removePropertyChainAxiomPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/removePropertyChainAxiom", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removePropertyChainAxiomPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("chain") org.eclipse.rdf4j.model.Resource chain, @RequestParam(value="linkingPredicate",required=false,defaultValue="<http://www.w3.org/2002/07/owl#propertyChainAxiom>") org.eclipse.rdf4j.model.IRI linkingPredicate)
    • getTopPropertiesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getTopProperties", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getTopPropertiesPublished()
    • getTopRDFPropertiesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getTopRDFProperties", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getTopRDFPropertiesPublished()
    • areSubPropertiesUsedPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/areSubPropertiesUsed", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Boolean>> areSubPropertiesUsedPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property)
    • removePropertyRangePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/removePropertyRange", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removePropertyRangePublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("range") org.eclipse.rdf4j.model.Resource range)
    • getSubPropertiesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getSubProperties", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getSubPropertiesPublished(@RequestParam("superProperty") org.eclipse.rdf4j.model.Resource superProperty)
    • addPropertyDisjointWithPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/addPropertyDisjointWith", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addPropertyDisjointWithPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("disjointProperty") org.eclipse.rdf4j.model.IRI disjointProperty, @RequestParam(value="inverse",required=false,defaultValue="false") boolean inverse, @RequestParam(value="linkingPredicate",required=false,defaultValue="<http://www.w3.org/2002/07/owl#propertyDisjointWith>") org.eclipse.rdf4j.model.IRI linkingPredicate) throws org.eclipse.rdf4j.repository.RepositoryException, org.eclipse.rdf4j.query.MalformedQueryException, org.eclipse.rdf4j.query.UpdateExecutionException
      Throws:
      org.eclipse.rdf4j.repository.RepositoryException
      org.eclipse.rdf4j.query.MalformedQueryException
      org.eclipse.rdf4j.query.UpdateExecutionException
    • getRelevantPropertiesForClassPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getRelevantPropertiesForClass", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getRelevantPropertiesForClassPublished(@RequestParam("classUri") org.eclipse.rdf4j.model.Resource classUri)
    • addPropertyChainAxiomPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/addPropertyChainAxiom", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addPropertyChainAxiomPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("chainedProperties") List<String> chainedProperties, @RequestParam(value="linkingPredicate",required=false,defaultValue="<http://www.w3.org/2002/07/owl#propertyChainAxiom>") org.eclipse.rdf4j.model.IRI linkingPredicate) throws ManchesterParserException, ManchesterSyntacticException, ManchesterPrefixNotDefinedException
      Throws:
      ManchesterParserException
      ManchesterSyntacticException
      ManchesterPrefixNotDefinedException
    • addPropertyDomainPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/addPropertyDomain", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addPropertyDomainPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("domain") org.eclipse.rdf4j.model.Resource domain)
    • removeDatarangesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/removeDataranges", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeDatarangesPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("datarange") org.eclipse.rdf4j.model.BNode datarange)
    • removeValueFromDatarangePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/removeValueFromDatarange", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeValueFromDatarangePublished(@RequestParam("datarange") org.eclipse.rdf4j.model.Resource datarange, @RequestParam("literal") org.eclipse.rdf4j.model.Literal literal)
    • deletePropertyPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/deleteProperty", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deletePropertyPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property) throws DeniedOperationException
      Throws:
      DeniedOperationException
    • removeEquivalentPropertyPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/removeEquivalentProperty", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeEquivalentPropertyPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("equivalentProperty") org.eclipse.rdf4j.model.Resource equivalentProperty, @RequestParam(value="linkingPredicate",required=false,defaultValue="<http://www.w3.org/2002/07/owl#equivalentProperty>") org.eclipse.rdf4j.model.IRI linkingPredicate)
    • getRangePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getRange", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<com.fasterxml.jackson.databind.JsonNode>> getRangePublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property)
    • addEquivalentPropertyPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/addEquivalentProperty", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addEquivalentPropertyPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("equivalentProperty") org.eclipse.rdf4j.model.IRI equivalentProperty, @RequestParam(value="inverse",required=false,defaultValue="false") boolean inverse, @RequestParam(value="linkingPredicate",required=false,defaultValue="<http://www.w3.org/2002/07/owl#equivalentProperty>") org.eclipse.rdf4j.model.IRI linkingPredicate) throws org.eclipse.rdf4j.repository.RepositoryException, org.eclipse.rdf4j.query.MalformedQueryException, org.eclipse.rdf4j.query.UpdateExecutionException
      Throws:
      org.eclipse.rdf4j.repository.RepositoryException
      org.eclipse.rdf4j.query.MalformedQueryException
      org.eclipse.rdf4j.query.UpdateExecutionException
    • updatePropertyChainAxiomPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/updatePropertyChainAxiom", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updatePropertyChainAxiomPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("replacedChain") org.eclipse.rdf4j.model.Resource replacedChain, @RequestParam("chainedProperties") List<String> chainedProperties, @RequestParam(value="linkingPredicate",required=false,defaultValue="<http://www.w3.org/2002/07/owl#propertyChainAxiom>") org.eclipse.rdf4j.model.IRI linkingPredicate) throws ManchesterParserException, ManchesterSyntacticException, ManchesterPrefixNotDefinedException
      Throws:
      ManchesterParserException
      ManchesterSyntacticException
      ManchesterPrefixNotDefinedException
    • getRelevantRangeClassesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getRelevantRangeClasses", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getRelevantRangeClassesPublished(@RequestParam("property") org.eclipse.rdf4j.model.Resource property)
    • updateDatarangesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/updateDataranges", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> updateDatarangesPublished(@RequestParam("datarange") org.eclipse.rdf4j.model.BNode datarange, @RequestParam("literals") List<org.eclipse.rdf4j.model.Literal> literals)
    • getTopOntologyPropertiesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getTopOntologyProperties", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getTopOntologyPropertiesPublished()
    • getDatarangeLiteralsPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getDatarangeLiterals", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Literal>>>> getDatarangeLiteralsPublished(@RequestParam("datarange") org.eclipse.rdf4j.model.BNode datarange)
    • getTopObjectPropertiesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getTopObjectProperties", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getTopObjectPropertiesPublished()
    • removePropertyDomainPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/removePropertyDomain", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removePropertyDomainPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("domain") org.eclipse.rdf4j.model.Resource domain)
    • getTopAnnotationPropertiesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getTopAnnotationProperties", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getTopAnnotationPropertiesPublished()
    • setDataRangePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/setDataRange", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setDataRangePublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam(value="predicate",required=false) org.eclipse.rdf4j.model.IRI predicate, @RequestParam("literals") List<org.eclipse.rdf4j.model.Literal> literals)
    • addValueToDatarangePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/addValueToDatarange", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addValueToDatarangePublished(@RequestParam("datarange") org.eclipse.rdf4j.model.Resource datarange, @RequestParam("literal") org.eclipse.rdf4j.model.Literal literal)
    • removePropertyDisjointWithPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/removePropertyDisjointWith", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removePropertyDisjointWithPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("disjointProperty") org.eclipse.rdf4j.model.Resource disjointProperty, @RequestParam(value="linkingPredicate",required=false,defaultValue="<http://www.w3.org/2002/07/owl#propertyDisjointWith>") org.eclipse.rdf4j.model.IRI linkingPredicate)
    • getRelevantDomainClassesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getRelevantDomainClasses", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getRelevantDomainClassesPublished(@RequestParam("property") org.eclipse.rdf4j.model.Resource property)
    • removeInversePropertyPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/removeInverseProperty", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeInversePropertyPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("inverseProperty") org.eclipse.rdf4j.model.Resource inverseProperty, @RequestParam(value="linkingPredicate",required=false,defaultValue="<http://www.w3.org/2002/07/owl#inverseOf>") org.eclipse.rdf4j.model.IRI linkingPredicate)
    • removeSuperPropertyPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/removeSuperProperty", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> removeSuperPropertyPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("superProperty") org.eclipse.rdf4j.model.Resource superProperty, @RequestParam(value="linkingPredicate",required=false,defaultValue="<http://www.w3.org/2000/01/rdf-schema#subPropertyOf>") org.eclipse.rdf4j.model.IRI linkingPredicate)
    • addInversePropertyPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/addInverseProperty", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addInversePropertyPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("inverseProperty") org.eclipse.rdf4j.model.IRI inverseProperty, @RequestParam(value="inverse",required=false,defaultValue="false") boolean inverse, @RequestParam(value="linkingPredicate",required=false,defaultValue="<http://www.w3.org/2002/07/owl#inverseOf>") org.eclipse.rdf4j.model.IRI linkingPredicate) throws org.eclipse.rdf4j.repository.RepositoryException, org.eclipse.rdf4j.query.MalformedQueryException, org.eclipse.rdf4j.query.UpdateExecutionException
      Throws:
      org.eclipse.rdf4j.repository.RepositoryException
      org.eclipse.rdf4j.query.MalformedQueryException
      org.eclipse.rdf4j.query.UpdateExecutionException
    • getSuperPropertiesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getSuperProperties", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getSuperPropertiesPublished(@RequestParam("subProperty") org.eclipse.rdf4j.model.Resource subProperty)
    • createPropertyPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/createProperty", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>> createPropertyPublished(@RequestParam("propertyType") org.eclipse.rdf4j.model.IRI propertyType, @RequestParam(value="newProperty",required=false) org.eclipse.rdf4j.model.IRI newProperty, @RequestParam(value="superProperty",required=false) org.eclipse.rdf4j.model.IRI superProperty, @RequestParam(value="customFormValue",required=false) CustomFormValue customFormValue) throws CODAException, CustomFormException
      Throws:
      CODAException
      CustomFormException
    • addValuesToDatarangePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/addValuesToDatarange", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addValuesToDatarangePublished(@RequestParam("datarange") org.eclipse.rdf4j.model.Resource datarange, @RequestParam("literals") List<org.eclipse.rdf4j.model.Literal> literals)
    • hasValueInDatarangePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/hasValueInDatarange", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Boolean>> hasValueInDatarangePublished(@RequestParam("datarange") org.eclipse.rdf4j.model.Resource datarange, @RequestParam("literal") org.eclipse.rdf4j.model.Literal literal)
    • getTopDatatypePropertiesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getTopDatatypeProperties", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getTopDatatypePropertiesPublished()
    • getInversePropertiesPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getInverseProperties", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getInversePropertiesPublished(@RequestParam("properties") List<org.eclipse.rdf4j.model.IRI> properties)
    • addSuperPropertyPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/addSuperProperty", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addSuperPropertyPublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("superProperty") org.eclipse.rdf4j.model.IRI superProperty, @RequestParam(value="inverse",required=false,defaultValue="false") boolean inverse, @RequestParam(value="linkingPredicate",required=false,defaultValue="<http://www.w3.org/2000/01/rdf-schema#subPropertyOf>") org.eclipse.rdf4j.model.IRI linkingPredicate) throws org.eclipse.rdf4j.repository.RepositoryException, org.eclipse.rdf4j.query.MalformedQueryException, org.eclipse.rdf4j.query.UpdateExecutionException
      Throws:
      org.eclipse.rdf4j.repository.RepositoryException
      org.eclipse.rdf4j.query.MalformedQueryException
      org.eclipse.rdf4j.query.UpdateExecutionException
    • addPropertyRangePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/addPropertyRange", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> addPropertyRangePublished(@RequestParam("property") org.eclipse.rdf4j.model.IRI property, @RequestParam("range") org.eclipse.rdf4j.model.Resource range)
    • getRelevantPropertiesForResourcePublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getRelevantPropertiesForResource", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getRelevantPropertiesForResourcePublished(@RequestParam("res") org.eclipse.rdf4j.model.Resource res)
    • getPropertiesInfoPublished

      @RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Properties/getPropertiesInfo", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getPropertiesInfoPublished(@RequestParam("propList") org.eclipse.rdf4j.model.IRI[] propList)