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-discussion] Datatype Properties

Alex Shkotin alex.shkotin at gmail.com
Fri Sep 10 03:21:33 PDT 2010


Julian,

you may do it using text editor and FSS file format for ex-.
Like this:

Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>)
Prefix(owl:=<http://www.w3.org/2002/07/owl#>)
Prefix(xml:=<http://www.w3.org/XML/1998/namespace>)
Prefix(rdf:=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>)
Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)
Prefix(skos:=<http://www.w3.org/2004/02/skos/core#>)


Ontology(<http://earth.jscc.ru/ontologies/test_P4.owl>Annotation(<
http://purl.org/dc/elements/1.1/description> "test P4"@en)

Declaration(Class(<http://earth.jscc.ru/ontologies/test_P4.owl#class_1>))
Declaration(DataProperty(<http://earth.jscc.ru/ontologies/test_P4.owl#dtp_1
>))
SubDataPropertyOf(<http://earth.jscc.ru/ontologies/test_P4.owl#dtp_1>
owl:topDataProperty)
DataPropertyRange(<http://earth.jscc.ru/ontologies/test_P4.owl#dtp_1>
xsd:decimal)
*DataPropertyAssertion(<http://earth.jscc.ru/ontologies/test_P4.owl#dtp_1> <
http://earth.jscc.ru/ontologies/test_P4.owl#class_1> "0.17"^^xsd:decimal)*
)

bold-text has been added manully in text editor and I did not find way to
see it in P4.

but DL query tab got it as you may see on а pic in attachment.

Alex


2010/9/10 Julian Vincent <j.f.v.vincent at bath.ac.uk>

> Thanks.  That's why my efforts have been in vain!!
>
> Julian
>
>
> On 9 Sep 2010, at 22:29, Thomas Russ wrote:
>
> >
> > On Sep 9, 2010, at 12:12 PM, Julian Vincent wrote:
> >
> >> WIll this usage allow me to rank the classes according to the numerical
> value of the datatype (e.g. 0 is good, 1 is bad, with all values in
> between)?
> >
> > Yes, but that ranking or sorting will be something that you have to do
> outside of the OWL reasoner.
> >
> >
> >>
> >> Julian
> >>
> >>
> >> On 9 Sep 2010, at 18:24, Alex Shkotin wrote:
> >>
> >>> Hi Julian,
> >>>
> >>> may be Annotation (not Datatype) property is good for you.
> >>> There are some there, but you may create your own.
> >>>
> >>> This is a direct way to assing class (as entity) a value.
> >>>
> >>> Alex
> >>>
> >>> 2010/9/9 Julian Vincent <j.f.v.vincent at bath.ac.uk>
> >>> I'm having trouble with attaching numerical values to classes in P4.1.
>  I want to add an index to each class which I can then use to estimate how
> similar each class is to a set of criteria, which also define the class.  I
> have created a Datatype but can't work out how to attach a numerical value
> to it.  The form I have used is that in the OWL tutorial v. 1.2
> (<DatatypeName> some decimal[=0.xxxx]) where xxxx are digits.  This is
> pretty much what's written in the tutorial text, but doesn't work.  What am
> I doing wrong?
> >>>
> >>> Thanks
> >>> Julian Vincent
> >>> _______________________________________________
> >>> protege-discussion mailing list
> >>> protege-discussion at lists.stanford.edu
> >>> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
> >>>
> >>> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
> >>>
> >>> _______________________________________________
> >>> protege-discussion mailing list
> >>> protege-discussion at lists.stanford.edu
> >>> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
> >>>
> >>> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
> >>
> >> _______________________________________________
> >> protege-discussion mailing list
> >> protege-discussion at lists.stanford.edu
> >> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
> >>
> >> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
> >
> > _______________________________________________
> > protege-discussion mailing list
> > protege-discussion at lists.stanford.edu
> > https://mailman.stanford.edu/mailman/listinfo/protege-discussion
> >
> > Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
> >
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20100910/b44d23c8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_p4-1.jpg
Type: image/jpeg
Size: 59839 bytes
Desc: not available
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20100910/b44d23c8/attachment.jpg>


More information about the protege-discussion mailing list