From: Cristina S. <csa...@vi...> - 2011-06-07 22:17:56
|
Hi, I would like to ask whether the Semantic Web Client Library also supports Sindice API v2 or v3. After running this command: sh ./bin/semwebquery -verbose -maxsteps 5 -sindice -sparql "PREFIX foaf: < http://xmlns.com/foaf/0.1/> PREFIX rdf: < http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?s WHERE {?s rdf:type foaf:Person}" I get this information: DEBUG [URISearchThread_16] (SemanticWebClient.java:434) - Searching failed (Execution failed: Unexpected response code: 400 ( http://sindice.com/query/lookup?page=1&uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FPerson)): http://xmlns.com/foaf/0.1/Person de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.QueryProcessingException: Execution failed: Unexpected response code: 400 ( http://sindice.com/query/lookup?page=1&uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FPerson ) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.process(HTTPbasedQueryProcessor.java:40) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.QueryProcessorSindice.process(QueryProcessorSindice.java:54) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.URISearchThread.executeTask(URISearchThread.java:46) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.URISearchThread.executeTask(URISearchThread.java:27) at de.fuberlin.wiwiss.ng4j.semwebclient.threadutils.TaskExecutorBase.run(TaskExecutorBase.java:100) Caused by: de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor$QueryExecutionException: Unexpected response code: 400 ( http://sindice.com/query/lookup?page=1&uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FPerson ) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.checkResult(HTTPbasedQueryProcessor.java:106) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.executeQuery(HTTPbasedQueryProcessor.java:76) at de.fuberlin.wiwiss.ng4j.semwebclient.urisearch.HTTPbasedQueryProcessor.process(HTTPbasedQueryProcessor.java:38) ... 4 more Clicking on the URL referenced I get: "This api v1 is deprecated and has been disabled. Please switch to api v2 or v3. See documentation at http://sindice.com/developers/welcome" Thanks in advance. Kind regards, Cristina -- Cristina Sarasua Garmendia Investigadora / Researcher eTurismo y Patrimonio / eTourism & Cultural Heritage Vicomtech-IK4 - Visual Interaction Communication Technologies Mikeletegi Pasealekua, 57 - Parque Tecnológico 20009 Donostia - San Sebastián - Spain Tel: +[34] 943 30 92 30 Fax: +[34] 943 30 93 93 e-mail: csa...@vi... www.vicomtech.org *** member of IK4 Research Alliance **** www.ik4.es *** member of GraphicsMedia.net **** www.graphicsmedia.net ----------------------------------------------------- Vicomtech-IK4 is an ISO 9001:2000 certified institute ----------------------------------------------------- Este mensaje se dirige exclusivamente a su destinatario. La información incluida en el presente correo es confidencial sometida a secreto profesional, especialmente en lo que respecta a los datos de carácter personal, cuya divulgación está prohibida, en virtud de la legislación vigente. Si usted no es el destinatario legítimo y lo ha recibido por error o tiene conocimiento del mismo por cualquier motivo, le rogamos que nos lo comunique por este medio y proceda a destruirlo o borrarlo. En todo caso abstengase de utilizar, reproducir, alterar, archivar o comunicar a terceros el presente mensaje así como los ficheros anexos, todo ello bajo pena de incurrir en responsabilidades legales. Cualquier opinión contenida en este correo es exclusiva de su autor y no representa necesariamente la opinión de ASOCIACIÓN CENTRO DE TECNOLOGÍAS DE INTERACCIÓN VISUAL Y COMUNICACIONES VICOMTECH (en adelante Vicomtech-IK4) El emisor no garantiza la integridad, rapidez o seguridad del presente correo, ni se responsabiliza de posibles perjuicios derivados de la captura, incorporaciones de virus o cualesquiera otras manipulaciones efectuadas por terceros. Con motivo de la entrada en vigor de la Ley 34/2002, de 11 de julio, de Servicios de la Sociedad de la Información y de Comercio Electrónico, le informamos que pueden revocar en cualquier momento, de forma sencilla y gratuita, el consentimiento para la recepción de mensajes de vicomtech.org en inf...@vi.... |