Re: protege-user Digest, Vol 1, Issue 22

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: protege-user Digest, Vol 1, Issue 22

Matthew Horridge-2
Administrator
Hi Pete,

If it’s a single file just add it as an attachment.  If you have multiple files it’s probably best to zip them up and add the zip as an attachment.

Cheers,

Matthew


On 10 Feb 2014, at 10:59, bonasso <[hidden email]> wrote:


Matthew,

    How does one post the ontology to the list? Mine involves three owl
    files. Do I zip them or just dump them inline?

    Thanks,

    Pete

    
Message: 5
Date: Thu, 6 Feb 2014 09:42:10 -0800
From: Matthew Horridge [hidden email]
To: User support for WebProtege and Protege Desktop
	[hidden email]
Subject: Re: [protege-user] SWRL rules with unexpected errors in
	Protege 4.1	and 4.3
Message-ID: [hidden email]
Content-Type: text/plain; charset=windows-1252

Hi,

Can you post your ontology to the list?  It?s difficult to determine what?s happening without it.

Cheers,

Matthew

On 6 Feb 2014, at 07:29, bonasso [hidden email] wrote:

I had previously developed swrl rules in my ontology using the rule editor in protege 4.  I think I may have recently updated to 4.1 from an earlier version because those same rules now get an error in the rule editor.  Same thing happens in protege 4.3.  I'm baffled as to what's going on here.

I sent this earlier with screenshots which I guess is not allowed.

Anyway, I load up my ontology in Protege with my rules and run Pellet (or Hermit) and get a consistent ontology with an expected set of inferences.
But when I bring up any existing rule in the rule editor, I get the pop-up error "Encountered a at line 1 column 14. Expected  one of: or ) and".

If I click OK I get a an OWLExpressionParserException with the same message.

Here's a sample of the xml for one of the rules:

<DLSafeRule>
       <Body>
          <ClassAtom>
               <Class IRI="#Tether"/>
               <Variable IRI="urn:swrl#th"/>
           </ClassAtom>
          <ClassAtom>
               <Class abbreviatedIRI="base:Agent"/>
               <Variable IRI="urn:swrl#a"/>
           </ClassAtom>
          <ObjectPropertyAtom>
               <ObjectProperty IRI="#tethered_to"/>
               <Variable IRI="urn:swrl#th"/>
               <Variable IRI="urn:swrl#a"/>
           </ObjectPropertyAtom>
          <DifferentIndividualsAtom>
               <Variable IRI="urn:swrl#a"/>
               <NamedIndividual abbreviatedIRI="base:nobody"/>
           </DifferentIndividualsAtom>
       </Body>
       <Head>
          <ObjectPropertyAtom>
               <ObjectProperty abbreviatedIRI="base:isAvailable"/>
               <Variable IRI="urn:swrl#th"/>
               <NamedIndividual abbreviatedIRI="base:no"/>
           </ObjectPropertyAtom>
       </Head>
</DLSafeRule>


Has anyone seen this before?
Thanks,
Pete
_______________________________________________


_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user


_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user