Hello,

to anyone using the ontology manager to handle scopes and spaces, as of r1153575 the identifier policy has changed from using URIs to plain alphanumeric strings ( e.g. [a-zA-Z_0-9]+ ).

See STANBOL-196.

To obtain URIs (e.g. for owl:import statements), the namespace set up in the ONManagerImpl configuration is concatenated with these identifiers.

The namespace must be a URI with *no* query or fragment, not ending with "#" but preferably ending with "/".

This change was in order to avoid possibly contradicting identifiers coming up when creating scopes from the RESTful API (which used resolvable Jersey resource URIs for scope identifiers) or the Java API (which allowed any well-formed URI). Now the mechanism is uniform and depends on the Stanbol configuration (supposedly set up to a dereferenceable host).

It is also more versatile wrt the relocation of the ontology network to another host or namespace.

The change was too radical to remain backwards-compatible by deprecating the old API, so it has been replaced altogether. Sorry if this breaks any external app, but on the other hand it should be very easy to adapt.

We are considering to adopt this policy for OntoNet sessions too.

Cheers

--
M.Sc. Alessandro Adamou

Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, Bologna - Italy

Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC)
National Research Council (CNR)
Via Nomentana 56, 00161 Rome - Italy


"As for the charges against me, I am unconcerned. I am beyond their timid, lying 
morality, and so I am beyond caring."
(Col. Walter E. Kurtz)

Reply via email to