From: Dan B. <dan...@gm...> - 2009-03-16 10:00:00
|
This may well be a problem in my understanding of how to model my data in SMW, so I'll explain what I wanted to do. Hopefully then it will be clear to you if its essentially a bug in my understanding. I am trying to model the 'sequence annotation format' described here: http://www.sequenceontology.org/gff3.shtml Each column of this tabular format is mapped to a property in the wiki. The property that I gave the type 'Annotation URI' has the following definition in the above description: Column 3: "type", the type of the feature. This is constrained to be a term from the "lite" sequence ontology, SOFA. Hmm... Seems I got confused... Seems that I should have set this property to a type of String, and then specified the property as having the "[[imported from:=sofa: type-something-something ]]" or something... Given that the 'type' property can have any value in the SOFA ontology, what should I have done? I can import the ontology (assuming I can convert the OBO to OWL) and then set the SF field to auto-complete on the terms in the ontology, but how do I actually model the fact that the 'type' field is a term in the ontology? How does this get exported? I guess I need an Annotation URI property somewhere... Thanks for any help on this, Dan. 2009/3/16 Patrick Nagel <ma...@pa...>: > > Hi, > > On 2009-03-16 08:01, Yaron Koren wrote: > [...] >> In your case, what does a value like "http://CDS" (one of the values for >> your property) mean? It's obviously not a valid HTTP address. > > AFAIK that is a valid URI. It would only be useful if 'CDS' could be resolved > to an IP address though (which may be the case in a company's network, for > example). > > Patrick. > > -- > Key ID: 0x86E346D4 http://patrick-nagel.net/key.asc > Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4 > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups "Semantic Forms" group. > To post to this group, send email to sem...@go... > To unsubscribe from this group, send email to sem...@go... > For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en > -~----------~----~----~----~------~----~------~--~--- Original message: 2009/3/14 Dan Bolser <dan...@gm...>: > It seems that autocomplete on property of type 'Annotation URI' is not > working... > > Please see: > http://das.referata.com/wiki/Property:GFF:type > > Which is linked to the 'annotation type' field in the following form: > http://das.referata.com/wiki/Form:GFF_data > > > I didn't do anything fancy with the property (yet). i.e. I haven't > linked it to the appropriate external URI / haven't imported the > appropriate ontology. i.e. it is basically a string (default input > type). > > Did I do something wrong? > |
From: Yaron K. <ya...@gm...> - 2009-03-16 17:10:27
|
Alright, that explains it. I think the correct approach is, instead of making the property a URI or a String, making it a Page; and then having each page that it points to hold its corresponding URI using the "Equivalent URI" property: http://semantic-mediawiki.org/wiki/Property:Equivalent_URI -Yaron On Mon, Mar 16, 2009 at 5:59 AM, Dan Bolser <dan...@gm...> wrote: > > This may well be a problem in my understanding of how to model my data > in SMW, so I'll explain what I wanted to do. Hopefully then it will be > clear to you if its essentially a bug in my understanding. > > I am trying to model the 'sequence annotation format' described here: > > http://www.sequenceontology.org/gff3.shtml > > > Each column of this tabular format is mapped to a property in the > wiki. The property that I gave the type 'Annotation URI' has the > following definition in the above description: > > Column 3: "type", the type of the feature. This is constrained to be a > term from the "lite" sequence ontology, SOFA. > > > Hmm... Seems I got confused... Seems that I should have set this > property to a type of String, and then specified the property as > having the "[[imported from:=sofa: type-something-something ]]" or > something... > > Given that the 'type' property can have any value in the SOFA > ontology, what should I have done? > > I can import the ontology (assuming I can convert the OBO to OWL) and > then set the SF field to auto-complete on the terms in the ontology, > but how do I actually model the fact that the 'type' field is a term > in the ontology? > > How does this get exported? I guess I need an Annotation URI property > somewhere... > > > Thanks for any help on this, > Dan. > > > 2009/3/16 Patrick Nagel <ma...@pa...>: > > > > Hi, > > > > On 2009-03-16 08:01, Yaron Koren wrote: > > [...] > >> In your case, what does a value like "http://CDS" (one of the values > for > >> your property) mean? It's obviously not a valid HTTP address. > > > > AFAIK that is a valid URI. It would only be useful if 'CDS' could be > resolved > > to an IP address though (which may be the case in a company's network, > for > > example). > > > > Patrick. > > > > -- > > Key ID: 0x86E346D4 http://patrick-nagel.net/key.asc > > Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4 > > > > > > Original message: > > 2009/3/14 Dan Bolser <dan...@gm...>: > > It seems that autocomplete on property of type 'Annotation URI' is not > > working... > > > > Please see: > > http://das.referata.com/wiki/Property:GFF:type > > > > Which is linked to the 'annotation type' field in the following form: > > http://das.referata.com/wiki/Form:GFF_data > > > > > > I didn't do anything fancy with the property (yet). i.e. I haven't > > linked it to the appropriate external URI / haven't imported the > > appropriate ontology. i.e. it is basically a string (default input > > type). > > > > Did I do something wrong? > > > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups > "Semantic Forms" group. > To post to this group, send email to sem...@go... > To unsubscribe from this group, send email to > sem...@go...<semantic-forms%2Bu...@go...> > For more options, visit this group at > http://groups.google.com/group/semantic-forms?hl=en > -~----------~----~----~----~------~----~------~--~--- > > |
From: Dan B. <dan...@gm...> - 2009-03-16 17:38:36
|
2009/3/16 Yaron Koren <ya...@gm...>: > Alright, that explains it. I think the correct approach is, instead of > making the property a URI or a String, making it a Page; and then having > each page that it points to hold its corresponding URI using the "Equivalent > URI" property: > > http://semantic-mediawiki.org/wiki/Property:Equivalent_URI Right! I knew I should have read up on 'ontology integration' with SMW before trying to use it ;-) Thanks for the info, Dan. > > -Yaron > > > On Mon, Mar 16, 2009 at 5:59 AM, Dan Bolser <dan...@gm...> wrote: >> >> This may well be a problem in my understanding of how to model my data >> in SMW, so I'll explain what I wanted to do. Hopefully then it will be >> clear to you if its essentially a bug in my understanding. >> >> I am trying to model the 'sequence annotation format' described here: >> >> http://www.sequenceontology.org/gff3.shtml >> >> >> Each column of this tabular format is mapped to a property in the >> wiki. The property that I gave the type 'Annotation URI' has the >> following definition in the above description: >> >> Column 3: "type", the type of the feature. This is constrained to be a >> term from the "lite" sequence ontology, SOFA. >> >> >> Hmm... Seems I got confused... Seems that I should have set this >> property to a type of String, and then specified the property as >> having the "[[imported from:=sofa: type-something-something ]]" or >> something... >> >> Given that the 'type' property can have any value in the SOFA >> ontology, what should I have done? >> >> I can import the ontology (assuming I can convert the OBO to OWL) and >> then set the SF field to auto-complete on the terms in the ontology, >> but how do I actually model the fact that the 'type' field is a term >> in the ontology? >> >> How does this get exported? I guess I need an Annotation URI property >> somewhere... >> >> >> Thanks for any help on this, >> Dan. >> >> >> 2009/3/16 Patrick Nagel <ma...@pa...>: >> > >> > Hi, >> > >> > On 2009-03-16 08:01, Yaron Koren wrote: >> > [...] >> >> In your case, what does a value like "http://CDS" (one of the values >> >> for >> >> your property) mean? It's obviously not a valid HTTP address. >> > >> > AFAIK that is a valid URI. It would only be useful if 'CDS' could be >> > resolved >> > to an IP address though (which may be the case in a company's network, >> > for >> > example). >> > >> > Patrick. >> > >> > -- >> > Key ID: 0x86E346D4 http://patrick-nagel.net/key.asc >> > Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4 >> > >> > >> >> Original message: >> >> 2009/3/14 Dan Bolser <dan...@gm...>: >> > It seems that autocomplete on property of type 'Annotation URI' is not >> > working... >> > >> > Please see: >> > http://das.referata.com/wiki/Property:GFF:type >> > >> > Which is linked to the 'annotation type' field in the following form: >> > http://das.referata.com/wiki/Form:GFF_data >> > >> > >> > I didn't do anything fancy with the property (yet). i.e. I haven't >> > linked it to the appropriate external URI / haven't imported the >> > appropriate ontology. i.e. it is basically a string (default input >> > type). >> > >> > Did I do something wrong? >> > >> >> > > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups > "Semantic Forms" group. > To post to this group, send email to sem...@go... > To unsubscribe from this group, send email to > sem...@go... > For more options, visit this group at > http://groups.google.com/group/semantic-forms?hl=en > -~----------~----~----~----~------~----~------~--~--- > > |