All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.uniroma2.art.semanticturkey.extensions.sheet2rdf.services.Sheet2RDF Maven / Gradle / Ivy

Go to download

Sheet2RDF extension for Semantic Turkey. Sheet2RDF is a platform for acquisition and transformation of datasheets into RDF.

There is a newer version: 1.2.1
Show newest version
package it.uniroma2.art.semanticturkey.extensions.sheet2rdf.services;

import it.uniroma2.art.owlart.model.ARTResource;
import it.uniroma2.art.semanticturkey.constraints.Existing;
import it.uniroma2.art.semanticturkey.generation.annotation.GenerateSTServiceController;
import it.uniroma2.art.semanticturkey.services.annotations.Optional;
import it.uniroma2.art.semanticturkey.servlet.Response;
import it.uniroma2.art.semanticturkey.servlet.ServletUtilities;

import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

@GenerateSTServiceController
@Validated
@Component
public class Sheet2RDF {
	
	public Sheet2RDF() {
//		System.out.println("s2rdf initialize");
	}

	@GenerateSTServiceController
	public Response echo(@Existing @Optional ARTResource node) {
		return ServletUtilities.getService().createReplyFAIL("echo", "" +  node);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy