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