You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by rw...@apache.org on 2011/02/11 08:39:01 UTC
svn commit: r1069697 - /incubator/stanbol/trunk/entityhub/README.TXT
Author: rwesten
Date: Fri Feb 11 07:39:00 2011
New Revision: 1069697
URL: http://svn.apache.org/viewvc?rev=1069697&view=rev
Log:
STANBOL-74: applied patch provided by Florent ANDRE - thx!
Modified:
incubator/stanbol/trunk/entityhub/README.TXT
Modified: incubator/stanbol/trunk/entityhub/README.TXT
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/entityhub/README.TXT?rev=1069697&r1=1069696&r2=1069697&view=diff
==============================================================================
--- incubator/stanbol/trunk/entityhub/README.TXT (original)
+++ incubator/stanbol/trunk/entityhub/README.TXT Fri Feb 11 07:39:00 2011
@@ -14,11 +14,11 @@ Building the Apache Stanbol Entityhub Fr
Checkout the source::
- % svn co https://iks-project.googlecode.com/svn/sandbox/entityhub/trunk/ iks-entityhub
+ % svn co https://svn.apache.org/repos/asf/incubator/stanbol/trunk/entityhub/ entityhub
Build and run the tests::
- % cd iks-entityhub
+ % cd entityhub
% mvn clean install
Launch the FISE server::
@@ -37,13 +37,13 @@ Connect your browser to the Apache Felix
user: admin
pwd: admin
-Open the Cofiguration Tab (http://localhost:8080/system/console/configMgr)
+Open the Configuration Tab (http://localhost:8080/system/console/configMgr)
Configuring Referenced Sites
--------------------------------------------
First configure one or more Referenced Sites by clicking on
- IKS Referenced Site Configuration
+ Apache Stanbol Entityhub Referenced Site Configuration
The default values can be used to configure dbPedia.org. Other examples can be
found in *-siteConfig.txt files (e.g. musicbrainz-siteConfig.txt)
@@ -77,10 +77,10 @@ a site with the ID "dbPedia" should be c
Configuring the Apache Stanbol Entityhub
--------------------------------------------
-As last step one needs to set the configuration of the Rick. To do that click on
+As last step one needs to set the configuration of the Entityhub. To do that click on
IKS Apache Stanbol Entityhub Configuration
-Just use the default values. But note that the value of the "Rick Yard" property
+Just use the default values. But note that the value of the "Entityhub Yard" property
MUST BE set to an ID of an active Yard.
After completing this three steps all required components of the Rick framework
@@ -215,10 +215,10 @@ Example
curl -X GET -H "Accept: application/json" http://localhost:8080/entityhub/site/dbPedia/entity?id=http://dbpedia.org/resource/Paris
- /site/{site}/find?nams={name}
+ /site/{site}/find?name={name}
Request:
- GET /site/{site}/find?nams={name}&lang={lang}&limit={limit}&offset={offset}
+ GET /site/{site}/find?name={name}&lang={lang}&limit={limit}&offset={offset}
POST -d "name={query}&lang={lang}&limit={limit}&offset={offset}" /site/{site}/find
Parameter:
site: is the ID configured for the referenced site (e.g. "dbPedia")
@@ -338,7 +338,7 @@ Response:
Request: GET /mapping/entity?id={uri}
Parameter
id: The uri of the entity
-Description: This service allows to retrieve the mapping for a entity. If now
+Description: This service allows to retrieve the mapping for a entity. If no
mapping for the parsed uri is defined, the service returns a 404 "Not Found"
Example:
curl "http://localhost:8080/entityhub/mapping/entity/?id=http://dbpedia.org/resource/Hallein"
@@ -406,4 +406,4 @@ Response:
}]}
Note that the response contains a Json Object with the key "results" as root
-that has a Json Array containing all EntityMappings for the parsed Symbol.
\ No newline at end of file
+that has a Json Array containing all EntityMappings for the parsed Symbol.