Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Problem with Import Ontology

Najeeb Elahi najeeb at kth.se
Wed Oct 29 09:11:58 PDT 2008


Hi,

I don’t know what went wrong with my ontology; I tried this option too and got same error when I tried to reopen.

Unresolved Import
The system cannot find the ontology
http://xmlns.com/foaf/0.1/1

and the same with SIOC ontology

Unresolved Import
The system cannot find the ontology
http://rdfs.org/sioc/ns#

Anticipating a firm reply
Thanks in advance

Cheers 
Najeeb Elahi   

________________________________________
From: protege-owl-bounces at lists.stanford.edu [protege-owl-bounces at lists.stanford.edu] On Behalf Of Timothy Redmond [tredmond at stanford.edu]
Sent: Tuesday, October 28, 2008 3:07 PM
To: User support for the Protege-OWL editor
Subject: Re: [protege-owl] Problem with Import Ontology

Sorry - I should have expanded this.

> As a workaround, since the foaf file is on your disk, you could change
> the name of the foaf ontology with a text editor.


I am talking about replacing the line

   <owl:Ontology rdf:about="http://www.mindswap.org/2003/owl/foaf"

with

   <owl:Ontology rdf:about="&foaf;"

-Timothy


On Oct 28, 2008, at 2:48 PM, Timothy Redmond wrote:

>
> You have hit an awkward bug.  The problem is with the foaf ontology.
> The xmlbase of the foaf ontology (http://xmlns.com/foaf/0.1/) is
> different than the ontology name (http://www.mindswap.org/2003/owl/
> foaf) for the foaf ontology.    There is actually some debate as to
> how the ontology name should be calculated in this case because some
> argue that the xmlbase should win in this case.  But Protege 3
> determines that http://www.mindswap.org/2003/owl/foaf is the name of
> the ontology because that is the name of the sole owl:Ontology
> instance found in the file.
>
> Unfortunately the Protege 3 owl repository manager uses the xml:base
> to calculate the name of the imported ontology.  This is probably done
> because this is much more efficient that reading the file as an rdf
> file to determine the rdf file name.  I am noticing that Protege 4 has
> the same problem with foaf.  I am not sure how hard this is to fix or
> what owl 2.0 says should happen with this case (Protege 4 is based on
> owl 2.0).  I will investigate the fix for this issue.
>
> As a workaround, since the foaf file is on your disk, you could change
> the name of the foaf ontology with a text editor.  Also there is a
> page that talks about ontology names and imports [1].
>
> -Timothy
>
> [1] http://protegewiki.stanford.edu/index.php/How_Owl_Imports_Work#OWL_Imports
>
> On Oct 27, 2008, at 9:43 AM, Najeeb Elahi wrote:
>
>> Hi everyone,
>>
>> I imported SIOC and FOAF ontoloies in my Protégé 3.4 beta OWL
>> project and these ontologies RDF files are saved locally.
>> It works fine until I save and close project. The problem comes when
>> I reopen my project. Every time I try to open my project this error
>> message occurs “Unresolved Import”
>>
>> Any suggest are highly appreciated
>> Thx in advance
>>
>> Best regards
>> Najeeb
>> _______________________________________________
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03

_______________________________________________
protege-owl mailing list
protege-owl at lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03



More information about the protege-owl mailing list