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

Re: Schema.org and protege

From: Nicolas Torzec <torzecn@verizonmedia.com>
Date: Fri, 12 Apr 2019 12:18:10 -0700
Message-ID: <CA+San4K=SxSUS50f_GmsxsPEYC0SBL70Wyg=aZa0yvxmopALqg@mail.gmail.com>
To: Richard Wallis <richard.wallis@dataliberate.com>
Cc: Umutcan Simsek <umutcan.simsek@sti2.at>, Thejas Prasad <thejchess@gmail.com>, "schema.org Mailing List" <public-schemaorg@w3.org>
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.

-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 Saturday, 13 April 2019 09:09:01 UTC

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