prefix behavior

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

prefix behavior

grantpax
I’m sure I don’t understand something. In a file (named EnterprisingFamily.ttl) with these prefixes

@prefix : <file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#> . 
@prefix as: <file:/Users/twostewards_fb/Documents/git/ontologies/AppliedStewardship#> .

I get this from Protege

###  file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#President_Bob

:President_Bob rdf:type owl:NamedIndividual ;
               
               as:isThis "President Bob" ;
               
               <AppliedStewardship#isThat> :Bob ;
               
               as:isAnother :President_of_Plumbing_Supply .

and this



Any ideas?

_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
Reply | Threaded
Open this post in threaded view
|

Re: prefix behavior

Matthew Horridge-2
Administrator
Hi Grant,

Sorry, but it’s not clear what you question is about.  

Are you loading a file into Protege which does not appear to load correctly?  Or, is Protege saving an ontology that does not appear to save correctly?

Also, what do you not expect and what do expect?

Cheers,

Matthew



On 9 Dec 2014, at 08:26, Grant Pax <[hidden email]> wrote:

I’m sure I don’t understand something. In a file (named EnterprisingFamily.ttl) with these prefixes

@prefix : <file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#> . 
@prefix as: <file:/Users/twostewards_fb/Documents/git/ontologies/AppliedStewardship#> .

I get this from Protege

###  file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#President_Bob

:President_Bob rdf:type owl:NamedIndividual ;
               
               as:isThis "President Bob" ;
               
               <AppliedStewardship#isThat> :Bob ;
               
               as:isAnother :President_of_Plumbing_Supply .

and this


<Screen Shot 2014-12-09 at 11.04.49 AM.png><Screen Shot 2014-12-09 at 11.05.26 AM.png>

Any ideas?
_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: prefix behavior

grantpax
Sorry I wasn’t clear. I would have thought Protege would save this way:

### file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#President_Bob

:President_Bob rdf:type owl:NamedIndividual ;
               
               as:isThis "President Bob" ;
               
               as:isThat :Bob ;
               
               as:isAnother :President_of_Plumbing_Supply .


Seeing as how I have goofed up configuration stuff before, I’m assuming that’s where I’ve messed up again.

On Dec 9, 2014, at 12:57 PM, Matthew Horridge <[hidden email]> wrote:

Hi Grant,

Sorry, but it’s not clear what you question is about.  

Are you loading a file into Protege which does not appear to load correctly?  Or, is Protege saving an ontology that does not appear to save correctly?

Also, what do you not expect and what do expect?

Cheers,

Matthew



On 9 Dec 2014, at 08:26, Grant Pax <[hidden email]> wrote:

I’m sure I don’t understand something. In a file (named EnterprisingFamily.ttl) with these prefixes

@prefix : <file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#> . 
@prefix as: <file:/Users/twostewards_fb/Documents/git/ontologies/AppliedStewardship#> .

I get this from Protege

###  file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#President_Bob

:President_Bob rdf:type owl:NamedIndividual ;
               
               as:isThis "President Bob" ;
               
               <AppliedStewardship#isThat> :Bob ;
               
               as:isAnother :President_of_Plumbing_Supply .

and this


<Screen Shot 2014-12-09 at 11.04.49 AM.png><Screen Shot 2014-12-09 at 11.05.26 AM.png>

Any ideas?
_______________________________________________
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


_______________________________________________
protege-user mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-user
Reply | Threaded
Open this post in threaded view
|

Re: prefix behavior

Matthew Horridge-2
Administrator
So the problem is with the property

<AppliedStewardship#isThat>

then?  The serialisation shows that the full IRI of this property is 

<AppliedStewardship#isThat>

and not what you expect, which I think is

<file:/Users/twostewards_fb/Documents/git/ontologies/AppliedStewardship#isThat>

If you select AppliedStewardship#isThat in the UI and then press CTRL+U (or CMD+U) and tick the “Show full IRI” checkbox what do you get?

Cheers,

Matthew

On 9 Dec 2014, at 10:20, Grant Pax <[hidden email]> wrote:

Sorry I wasn’t clear. I would have thought Protege would save this way:

### file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#President_Bob

:President_Bob rdf:type owl:NamedIndividual ;
               
               as:isThis "President Bob" ;
               
               as:isThat :Bob ;
               
               as:isAnother :President_of_Plumbing_Supply .


Seeing as how I have goofed up configuration stuff before, I’m assuming that’s where I’ve messed up again.

On Dec 9, 2014, at 12:57 PM, Matthew Horridge <[hidden email]> wrote:

Hi Grant,

Sorry, but it’s not clear what you question is about.  

Are you loading a file into Protege which does not appear to load correctly?  Or, is Protege saving an ontology that does not appear to save correctly?

Also, what do you not expect and what do expect?

Cheers,

Matthew



On 9 Dec 2014, at 08:26, Grant Pax <[hidden email]> wrote:

I’m sure I don’t understand something. In a file (named EnterprisingFamily.ttl) with these prefixes

@prefix : <file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#> . 
@prefix as: <file:/Users/twostewards_fb/Documents/git/ontologies/AppliedStewardship#> .

I get this from Protege

###  file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#President_Bob

:President_Bob rdf:type owl:NamedIndividual ;
               
               as:isThis "President Bob" ;
               
               <AppliedStewardship#isThat> :Bob ;
               
               as:isAnother :President_of_Plumbing_Supply .

and this


<Screen Shot 2014-12-09 at 11.04.49 AM.png><Screen Shot 2014-12-09 at 11.05.26 AM.png>

Any ideas?
_______________________________________________
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

_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: prefix behavior

grantpax
This may remain a mystery. I edited the source manually and I haven’t seen the problem since. I’ll be back to you if I see it again. Thanks again.

On Dec 9, 2014, at 3:36 PM, Matthew Horridge <[hidden email]> wrote:

So the problem is with the property

<AppliedStewardship#isThat>

then?  The serialisation shows that the full IRI of this property is 

<AppliedStewardship#isThat>

and not what you expect, which I think is

<file:/Users/twostewards_fb/Documents/git/ontologies/AppliedStewardship#isThat>

If you select AppliedStewardship#isThat in the UI and then press CTRL+U (or CMD+U) and tick the “Show full IRI” checkbox what do you get?

Cheers,

Matthew

On 9 Dec 2014, at 10:20, Grant Pax <[hidden email]> wrote:

Sorry I wasn’t clear. I would have thought Protege would save this way:

### file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#President_Bob

:President_Bob rdf:type owl:NamedIndividual ;
               
               as:isThis "President Bob" ;
               
               as:isThat :Bob ;
               
               as:isAnother :President_of_Plumbing_Supply .


Seeing as how I have goofed up configuration stuff before, I’m assuming that’s where I’ve messed up again.

On Dec 9, 2014, at 12:57 PM, Matthew Horridge <[hidden email]> wrote:

Hi Grant,

Sorry, but it’s not clear what you question is about.  

Are you loading a file into Protege which does not appear to load correctly?  Or, is Protege saving an ontology that does not appear to save correctly?

Also, what do you not expect and what do expect?

Cheers,

Matthew



On 9 Dec 2014, at 08:26, Grant Pax <[hidden email]> wrote:

I’m sure I don’t understand something. In a file (named EnterprisingFamily.ttl) with these prefixes

@prefix : <file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#> . 
@prefix as: <file:/Users/twostewards_fb/Documents/git/ontologies/AppliedStewardship#> .

I get this from Protege

###  file:/Users/twostewards_fb/Documents/git/ontologies/EnterprisingFamily#President_Bob

:President_Bob rdf:type owl:NamedIndividual ;
               
               as:isThis "President Bob" ;
               
               <AppliedStewardship#isThat> :Bob ;
               
               as:isAnother :President_of_Plumbing_Supply .

and this


<Screen Shot 2014-12-09 at 11.04.49 AM.png><Screen Shot 2014-12-09 at 11.05.26 AM.png>

Any ideas?
_______________________________________________
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

_______________________________________________
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


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