W3C home > Mailing lists > Public > public-sdw-wg@w3.org > March 2017

Re: [w3c/sdw] implemented resolution 10 to 13 of call 28-02-17 (#592)

From: Maxime Lefrançois <maxime.lefrancois@emse.fr>
Date: Tue, 07 Mar 2017 12:08:00 +0000
Message-ID: <CALsPASVF0mLkcu8MkHXk6XfNpTJ5LyUcaE=inpo_fZQqf9gRHA@mail.gmail.com>
To: "w3c/sdw" <reply+00ae32b82e98c58e2ec26af6e3ada1b78f8f938b73e9fde892cf0000000114d65caf92a16>, "w3c/sdw" <sdw@noreply.github.com>, SDW WG Public List <public-sdw-wg@w3.org>
Cc: Author <author@noreply.github.com>
Dear Kerry, In https://github.com/w3c/sdw/pull/592 ,  you ask:

> Maxime, Are your restrictions sound turtle? They don't look right to me
--- don't you need to
> use 'rdf:type owl:Restriction" everywhere as they were in ssn.ttl?

Well, that was a very good question, and the short answer is:
- the way I lighten the restrictions are ok for most of the OWL-based tools
I have used so far,
- but you are right, I double checked the RECs for OWL1-to-RDF [1] and
OWL2-to-RDF [2] mappings, and both seem to require that there is a "rdf:type
owl:Restriction" triple.


As far as I can remember, I always lightened the RDF document that
introduce OWL ontologies instances of owl:Restriction. I think my initial
decision to do so was motivated by:
 - the domain of owl:onProperty in https://www.w3.org/2002/07/owl# is
owl:Restriction
 - OWLAPI (and therefore Protégé) and most of the OWL editors I ever used
do recognize these lightened restrictions,
 - they are more readable to me.

So thank you for your question, it made me take some time to double check
my old habits.
The normative parts of the OWL and OWL2 RECs that describe the mapping
between the OWL abstract syntax and the RDF data model are [1] and [2],
respectively. Both require that there is a "rdf:type owl:Restriction"
triple.


By the way, Table 5 in [2] shows how OWL 2 officially deals with SOSA
classes that are declared as both rdfs:Class AND owl:Class.

I added these triples in the following commit, and appended this to the
pull request:

https://github.com/w3c/sdw/pull/592/commits/8247fcaa9922815df2477a9665116480c3603e2d


Kind regards,
Maxime

[1] - https://www.w3.org/TR/owl-semantics/mapping.html
[2] -
https://www.w3.org/TR/owl2-mapping-to-rdf/#Mapping_from_RDF_Graphs_to_the_Structural_Specification
(see
Table 13. Parsing of Class Expressions)
Received on Tuesday, 7 March 2017 12:08:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 7 March 2017 12:08:50 UTC