Can anyone clarify my doubt

12 views
Skip to first unread message

anu

unread,
Mar 20, 2011, 3:31:16 PM3/20/11
to skos-dev
I have created mapping by importing 2 different ontologies and I have
created mapping between them in protege 4.0 ...?
when I program it using SKOS api.......I get an exception for
unparsable ontology exception...Can I know how can i solve the
problem...???


SKOSManager manager = new SKOSManager();

//creating a URI from the local file modelled using
protege ...Mapping.owl
URI a = URI.create("file:///C:/Users/Anushree/Desktop/
www.archaelogicalsearch.co/Mapping.owl");

//The dataset of vocabularies are stored here
SKOSDataset dataset = manager.loadDataset(a);
/////this is a code and I get a problem in parsing file......

Simon Jupp

unread,
Mar 21, 2011, 9:08:12 AM3/21/11
to skos...@googlegroups.com
Make sure you use the OWL API version 2.x.x from here http://owlapi.sourceforge.net/2.x.x/index.html

This is the OWL API used by Protege up to version 4.0.2 and is compatible with the SKOS API.

Protege 4.1 uses a new OWL 3 API, files generated in this new Protege will not load into the current SKOS API because of changes to the OWL specification.

Cheers
Simon

> --
> You received this message because you are subscribed to the Google Groups "skos-dev" group.
> To post to this group, send email to skos...@googlegroups.com.
> To unsubscribe from this group, send email to skos-dev+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/skos-dev?hl=en.
>

Simon Jupp
simon...@manchester.ac.uk
http://www.cs.man.ac.uk/~sjupp/


Reply all
Reply to author
Forward
0 new messages