Am 06.08.2012 17:32, schrieb Alessandro Adamou:
Hi Melanie,
On 8/6/12 2:32 PM, Melanie Reiplinger wrote:
[...] But what about storing a registry? Someone knows what is the
key for that? I'm not even sure if this is possible at all, or
whether libraries can be put into the core space of a scope only.
The form parameter for the POST is "library"
ok, I guess with a bit creativity I could have come up with that one on
my own.
I was just all distracted by corereg and customreg and registry ... I
even tried 'lib', but never thought of 'library' ;-)
e.g.
curl -i -X POST -F
"library=http://stanbol.apache.org/ontologies/registries/stanbol_network/W3C"
http://[stanbol]/ontonet/ontology/[scope_id]
same story for sessions. Only one value per POST is allowed right now.
one value per post is fine.
I tried it for both, scopes and sessions. But for sessions I only get
'400 bad request'.
curl -i -X POST -F
"library=http://stanbol.apache.org/ontologies/registries/stanbol_network/SocialNetworks"
http://[stanbol]/ontonet/session/S1
Usage of the term "registry" in the previous implementation was
inappropriate. The aggregate object of multiple ontology sources is
the library. Registries are the RDF graphs that describe one or more
libraries (or parts thereof).
ok thank you, that clears up the distinction of both concepts.
g
melanie
Alessandro