W3C home > Mailing lists > Public > public-schemaorg@w3.org > April 2019

Re: Schema.org and protege

From: Nicolas Torzec <torzecn@verizonmedia.com>
Date: Mon, 15 Apr 2019 22:32:19 -0700
Message-ID: <CA+San4J_BWBXJ05RAO53JorjjC8ihr-xO7W=GoLtTbpU7rcePg@mail.gmail.com>
To: Dan Brickley <danbri@google.com>
Cc: Richard Wallis <richard.wallis@dataliberate.com>, Umutcan Simsek <umutcan.simsek@sti2.at>, Thejas Prasad <thejchess@gmail.com>, "schema.org Mailing List" <public-schemaorg@w3.org>
Thanks for pointing this out Dan. I mixed up 2 thoughts.

About 1/3 of the properties include Text in their range.

I meant: "Schema.org datatypes (e.g. Boolean, Number, Text, etc.) are just
RDFs classes and, because all schema.org properties have those classes in
their range, they become object properties during the OWL conversion
process."

-N.






On Sat, Apr 13, 2019 at 9:52 AM Dan Brickley <danbri@google.com> wrote:

>
>
> On Sat, 13 Apr 2019, 02:11 Nicolas Torzec, <torzecn@verizonmedia.com>
> wrote:
>
>> The "schemaorg.owl" file that Richard pointed out can be loaded into
>> Protégé.
>>
>> But note that all schema.org properties will be seen as object
>> properties in Protégé. Schema.org (RDF in general) doesn't distinguish
>> between datatype properties and object properties. Schema.org datatypes
>> (e.g. Boolean, Number, Text, etc.) are just RDFs classes and, because all
>> schema.org properties have Text and URL in their range implicitly by
>> default, they all become object properties during the OWL conversion
>> process.
>>
>
>
> "because all schema.org properties have Text and URL in their range
> implicitly by default"
>
> I don't believe we quite say that...
>
> Dan
>
> -N.
>>
>>
>>
>> On Thu, Apr 11, 2019 at 1:17 PM Richard Wallis <
>> richard.wallis@dataliberate.com> wrote:
>>
>>> Hi Thejas,
>>>
>>> If you use https://schema.org/docs/schemaorg.owl  you will find the
>>> domain & range values that are understood by Protégé.
>>>
>>> Checkout  https://schema.org/docs/developers.html#experiments for
>>> details.
>>>
>>> ~Richard.
>>> Richard Wallis
>>> Founder, Data Liberate
>>> http://dataliberate.com
>>> Linkedin: http://www.linkedin.com/in/richardwallis
>>> Twitter: @rjw
>>>
>>>
>>>
>>> On Thu, 11 Apr 2019 at 20:23, Umutcan Simsek <umutcan.simsek@sti2.at>
>>> wrote:
>>>
>>>> Hi,
>>>> The range and domain properties of schema.org are not supported by
>>>> protégé. You need to replace does with rdfs:domain and rdfs:range in the
>>>> schema file you are trying to import. Although this would be probably
>>>> enough for protégé to load the schema.org properly, you would still
>>>> need to work on the property definitions to make distinction between
>>>> datatype and object properties.
>>>>
>>>> Alternatively, you can try the experimental owl mapping,
>>>> https://schema.org/docs/datamodel.html.
>>>> I am not sure if this one is up to date.
>>>>
>>>> Greetings
>>>> Umut
>>>>
>>>> Sent from mobile
>>>>
>>>> On Apr 11, 2019 19:20, Thejas Prasad <thejchess@gmail.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I had a quick question on how to import the ontology from schema.org
>>>> into protege. I am able to import the ontology, however, the object
>>>> properties are not imported. I was hoping someone from this list could
>>>> provide into how to import the ontology.
>>>>
>>>> Thank you,
>>>> Thejas
>>>>
>>>> ______________________________________________________________________
>>>> This email has been scanned by the Symantec Email Security.cloud
>>>> service.
>>>> For more information please visit http://www.symanteccloud.com
>>>> ______________________________________________________________________
>>>>
>>>>
>>>>
>>>> On Apr 11, 2019 19:20, Thejas Prasad <thejchess@gmail.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I had a quick question on how to import the ontology from schema.org
>>>> into protege. I am able to import the ontology, however, the object
>>>> properties are not imported. I was hoping someone from this list could
>>>> provide into how to import the ontology.
>>>>
>>>> Thank you,
>>>> Thejas
>>>>
>>>> ______________________________________________________________________
>>>> This email has been scanned by the Symantec Email Security.cloud
>>>> service.
>>>> For more information please visit http://www.symanteccloud.com
>>>> ______________________________________________________________________
>>>>
>>>>
>>>>
Received on Tuesday, 16 April 2019 05:32:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:12:46 UTC