[Pellet-users] Pellet problem
Matthew Horridge
matthew.horridge at cs.man.ac.uk
Wed Aug 15 13:10:12 UTC 2007
>
>> There are some issues with the version at [2]. That ontology imports
>> URIs that correspond to SWRL namespaces but not actual ontologies,
>> e.g:
>>
>> <owl:imports rdf:resource="http://www.w3.org/2003/11/swrl"/>
>> <owl:imports rdf:resource="http://www.w3.org/2003/11/swrlb"/>
>
> These are the SWRL and SWRL built-ins namespaces as defined by the
> SWRL
> Submission. Unfortunately, there are no actual OWL files at these
> locations (which is, of course, not an error in OWL). In Protege-
> OWL we
> have a repository mechanism that redirects to locations on the web
> that
> have these files (http://www.daml.org/rules/proposal/swrl.owl,
> http://www.daml.org/rules/proposal/swrlb.owl - and these have the same
> W3 namespace); we also package these ontologies with the Protege-OWL
> distribution.
>
> I exchanged some emails with the developer of the OWLAPI and he is
> going
> to provide an equivalent import mechanism for these imports.
>
> The ideal solution would be to have these ontologies copied to the
> correct locations on the W3 site. I emailed the W3 webmaster several
> times to request this copying but did not receive any reply.
I've made the changes to the OWL API as requested - hopefully
everything's o.k. now. These changes should percolate through into
Protege 4.
As a side note, the OWL API parser will ignore "schema" imports such
as http://www.w3.org/2003/11/swrl, because the SWRL vocabulary is
built directly into the API e.g. it understands what swrl:Imp is in
the same way that it knows what owl:Class is (in the same way that it
won't import the OWL "schema" ontology).
Cheers,
Matthew
> Martin
>
>> Cheers,
>> Evren
>>
>>> Martin
>>>
>>> [1]
>>> http://lists.owldl.com/pipermail/pellet-users/2007-August/
>>> 001770.html
>>> [2]
>>> http://protege.cim3.net/file/pub/ontologies/family.swrl.owl/
>>> family.swrl.owl
>>>
>>> ------------------------------
>>>
>>> Message: 3
>>> Date: Sat, 11 Aug 2007 08:56:16 +0800 (CST)
>>> From: anningsl at 163.com
>>> Subject: [Pellet-users] Pellet problem
>>> To: pellet-users at lists.owldl.com
>>> Message-ID: <46BD0930.00019A.28754 at bj163app7.163.com>
>>> Content-Type: text/plain; charset="gb2312"
>>>
>>> Hello:
>>>
>>> I am working on a Pellet implementation in JAVA. I tried
>>> loading
>>> the sample
>>> ontology family.swrl.owl [2] included in the
>>> Prot?g? distribution as illustrated in the RulesExample file in
>>> Pellet.
>>>
>>>
>>> ont = "<a
>>> href="http://www.stanford.edu/%7Enoahz/family.swrl.owl%
>>> 22;">http://www.stanf
>>>
>>> ord.edu/~noahz/family.swrl.owl";
>>>
>>> model =
>>> ModelFactory.createOntologyModel(PelletReasonerFactory.
>>>
>>> THE_SPEC, null);
>>> model.read(ont);
>>>
>>>
>>>
>>> After approximately 15 sec of churning I get an
>>> OutOfMemoryException.
>>> WARN [main] (OntDocumentManager.java:1212) - An error occurred
>>> while
>>> attempting to read from http://www.daml.org/rules/proposal/
>>> swrlb.owl.
>>> Msg
>>> was 'Not found: http://www.daml.org/rules/proposal/swrlb.owl'.
>>> com.hp.hpl.jena.shared.NotFoundException: Not found:
>>> http://www.daml.org/rules/proposal/swrlb.owl.
>>>
>>> Have others gotten the family example to work successfully using
>>> Pellet? Any
>>> ideas why it is causing such problems? -------------- next part
>>> --------------
>>>
>>>
>>> _______________________________________________
>>> Pellet-users mailing list
>>> Pellet-users at lists.owldl.com
>>> http://lists.owldl.com/mailman/listinfo/pellet-users
>>> _______________________________________________
>>>
>>> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
>>>
>>
>>
>>
>
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
More information about the Pellet-users
mailing list