Author: rwesten
Date: Fri Feb 17 11:13:24 2012
New Revision: 1245393
URL: http://svn.apache.org/viewvc?rev=1245393&view=rev
Log:
minor corrections to enhancer REST doc, Added link in main enhancer
documentation
Modified:
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/index.mdtext
Modified:
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext
URL:
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext?rev=1245393&r1=1245392&r2=1245393&view=diff
==============================================================================
---
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext
(original)
+++
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext
Fri Feb 17 11:13:24 2012
@@ -24,7 +24,7 @@ The RESTful interface also provides para
--data "<html><body><p>John Smith was born in
London.</p></body></html>" \
"http://localhost:8080/enhancer/chain/language?omitMetadata=true"
-For detailed information please see the documentation provided by the Stanbol
Web UI (e.g. [http://localhost:8080/enhancer](http://localhost:8080/enhancer)
assuming that Apache Stanbol runs on localhost:8080).
+For detailed information please see the documentation of the [Stanbol Enhancer
RESTful Services](enhancerrest.html). A short version is also provided by the
Stanbol Web UI (e.g.
[http://localhost:8080/enhancer](http://localhost:8080/enhancer) assuming that
Apache Stanbol runs on localhost:8080).
### Java API:
@@ -113,21 +113,3 @@ The entity annotation type refers to nam
* entity-label: The label(s) of the referred entity
* entity-type: This property can be used to specify the type of the entity
(optional)
* The occurrences of the entity within the content (the exact positions within
the text where this entity is referred) are determined by outgoing dc:relation
links.
-
-## Response in RDF
-
-The Apache Stanbol enhancer is able to serialize the response in the following
RDF formats:
-
- :::text
- application/json (JSON-LD)
- application/rdf+xml (RDF/XML)
- application/rdf+json (RDF/JSON)
- text/turtle (Turtle)
- text/rdf+nt (N-TRIPLES)
-
-By default the URI of the content item being enhanced is a local, non
de-referencable URI automatically built out of a hash digest of the binary
content. Sometimes it might be helpful to provide the URI of the content-item
to be used in the enhancements RDF graph. This can be achieved by passing a URI
request parameter as follows:
-
- :::bash
- curl -X POST -H "Accept: text/turtle" -H "Content-type: text/plain" \
- --data "John Smith was born in London." \
- "http://localhost:8080/engines?uri=urn:fise-example-content-item"
Modified: incubator/stanbol/site/trunk/content/stanbol/docs/trunk/index.mdtext
URL:
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/content/stanbol/docs/trunk/index.mdtext?rev=1245393&r1=1245392&r2=1245393&view=diff
==============================================================================
--- incubator/stanbol/site/trunk/content/stanbol/docs/trunk/index.mdtext
(original)
+++ incubator/stanbol/site/trunk/content/stanbol/docs/trunk/index.mdtext Fri
Feb 17 11:13:24 2012
@@ -11,7 +11,7 @@ This documentation of Apache Stanbol tar
_Note_: In addition to the documentation on this site, every Apache Stanbol
instance provides you with live documentation when pointing your browser to the
Apache Stanbol start page. It contains further descriptions and the most
up-to-date documenation for each component and its RESTful API. Additional
technical notes for each component can be found within various README files
within the [source
code](http://svn.apache.org/repos/asf/incubator/stanbol/trunk/).
-## Documentation for Apache Stanbol Contributors
+## Documentation for Apache Stanbol for Developers and Contributors
* Java API for developers
* How to contribute to software development