- From: Jose Emilio Labra Gayo via GitHub <sysbot+gh@w3.org>
- Date: Fri, 25 May 2018 05:03:53 +0000
- To: public-shex-dev@w3.org
ShEx has no problem defining recursive shapes with circular references. If I understand correctly want you meant, a possible solution could be: ``` PREFIX : <http://example.org/> :Person { :owns @:Dog; } :Dog { :likes @:Person } ``` where the RDF data could be represented as: ``` @prefix : <http://example.org/> . :Bob :owns :Fido . :Jane :owns :Spot . :Fido :likes :Jane . :Spot :likes :Jane . ``` You can play with that example [here](https://goo.gl/jY1dzX). You can also read more information about how ShEx handles recursive shapes in section 4.7.2 of [the validating RDF data book](http://book.validatingrdf.com/bookHtml010.html#sec81). -- GitHub Notification of comment by labra Please view or discuss this issue at https://github.com/shexSpec/spec/issues/24#issuecomment-391941961 using your GitHub account
Received on Friday, 25 May 2018 05:03:57 UTC