W3C home > Mailing lists > Public > public-rdf-shapes@w3.org > February 2017

loss of functionality

From: Peter F. Patel-Schneider <pfpschneider@gmail.com>
Date: Wed, 8 Feb 2017 16:45:36 -0800
To: "public-rdf-shapes@w3.org" <public-rdf-shapes@w3.org>
Message-ID: <5855dce6-fdfb-e6e6-4721-03422307f6f0@gmail.com>
I want to write a shape that checks that there are no self-loops with
predicate ex:p for elements of a class ex:c.

The following shape appears to do the trick:

  sh:targetClass ex:c ;
  sh:disjoint ex:p .

Oops, this is no longer valid SHACL!

How can I now do this?

Peter F. Patel-Schneider
Nuance Communications
Received on Thursday, 9 February 2017 00:46:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:48 UTC