Hi Reto,

I am sorry for publishing the tutorials on Stanbol site before committing the changes on the Contenthub code. (I was actually trying to figure out the apache CMS for web sites).

Current implementation (reflected by my last commit) should work in-line with the tutorials. Please let me know if you have problems after updating to the latest version of Stanbol.

Best,
Anil.

On 02/07/2012 04:20 PM, Reto Bachmann-Gmür wrote:
Hello

Looking at the stanbol 5 minutes tutorial I found that many uris don't work
as they contain the path section "contenthub" twice. I created STANBOL-484
for this.

Now the command

curl -i -X POST -H "Content-Type:application/x-www-form-urlencoded" -d
"title=about me&content=I live in Istanbul.&"
http://localhost:8080/contenthub/myindex/store

Returns a 404 answer.

Creating the index with

curl -i -X POST -d "name=myindex&program=@prefix rdf :<
http://www.w3.org/1999/02/22-rdf-syntax-ns#>; @prefix rdfs :<
http://www.w3.org/2000/01/rdf-schema#>; @prefix db-ont :<
http://dbpedia.org/ontology/>; title = rdfs:label :: xsd:string;
dbpediatype = rdf:type :: xsd:anyURI; population = db-ont:populationTotal
:: xsd:int;" http://localhost:8080/contenthub/ldpath/program

Returned a success message.

What am I doing wrong?

Cheers,
Reto


Reply via email to