Hi

I'm trying to lean more about stanbol and taking notes on my
expirience here: https://farewellutopia.com/blog

Currently I'm stuck trying to use FactStore following the examples on
http://wiki.iks-project.eu/index.php/FactStore_Specification

I created a Fact Scheme but I fail adding facts. What media-type does
faactstore expect? The following request doesn't work:

POST /factstore/facts HTTP/1.1

User-Agent: curl/7.21.3 (i686-pc-linux-gnu) libcurl/7.21.3
OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18

Host: localhost:8080

Accept: */*

Content-Type: application/json

Content-Length: 229



{ "@context" : {   "iks" : "http://iks-project.eu/ont/";,   "upb" :
"http://upb.de/persons/"; }, "@profile"     : "iks:employeeOf",
"person"       : { "@iri" : "upb:bnagel" }, "organization" : { "@iri"
: "http://uni-paderborn.de"}}


HTTP/1.1 415 Unsupported Media Type

Content-Type: text/html; charset=iso-8859-1

Cache-Control: must-revalidate,no-cache,no-store

Content-Length: 1406

Server: Jetty(6.1.x)

Cheers,
Reto

Reply via email to