Tipalo
From STLab
Contents |
Tìpalo
Website | http://wit.istc.cnr.it/stlab-tools/tipalo |
---|---|
Info | info@aemoo.org |
Author | User:AndreaNuzzolese, User:AldoGangemi, User:ValentinaPresutti |
Tìpalo uses FRED and automatically assigns types to Wikipedia entities. Given a Wikipedia page URI, the tool returns an RDF graph composed of rdf:type, rdfs:subClassOf, owl:sameAs, and owl:equivalentTo statements providing typing information about the entity referred by the Wikipedia page.
REST APIs
URL
http://wit.istc.cnr.it/stlab-tools/tipalo/api
Method
-X GET
Example ~$ curl -X GET [...] URL
Sets GET method.
Accept
The Accept request-header field can be used to specify the desired media type for the response. Content types available are:
- text/html
- text/plain
- application/json
- application/rdf+xml
- text/turtle
- application/x-turtle
- text/rdf+n3
- image/png
Mandatory parameters
- uri: the http uri that identifies a wikipedia page.
Examples
Example ~$ curl -X GET -H "Accept: image/png" http://wit.istc.cnr.it/stlab-tools/tipalo/api?uri=http://en.wikipedia.org/wiki/Wind_instrument
This example demands a PNG image, which represents the RDF graph with the types of the resource http://en.wikipedia.org/wiki/Wind_instrument. The request is performed via a GET method.
Example ~$ curl -X GET -H "Accept: application/rdf+xml" http://wit.istc.cnr.it/stlab-tools/tipalo/api?uri=http://en.wikipedia.org/wiki/Wind_instrument
This example demands return the RDF/XML serialization of the same graph with the type for the resource http://en.wikipedia.org/wiki/Wind_instrument