Re: [spec] Shape for circular reference

OK, now I understand what you wanted to express. As far as I know it is not possible right now. A possible syntax could be:

```turtle
PREFIX :       <http://example.org/>

:Person { 
 $<Dog> :owns  @:Dog;
$this = $<Dog>/likes
}

:Dog {
  :likes @:Person
}
```

but this is not yet supported by ShEx 2.0. 

We are planning to extend ShEx with a feature that allows arithmetic and comparison operators to ShEx and with that extension this use case could also be solved. That extension was recorded in [this issue](https://github.com/shexSpec/shex/issues/24). 

We usually record issues in the `shex` repository instead of this one, so I will add a issue for this use case there and if you agree, you can close this one.

-- 
GitHub Notification of comment by labra
Please view or discuss this issue at https://github.com/shexSpec/spec/issues/24#issuecomment-392240205 using your GitHub account

Received on Saturday, 26 May 2018 06:17:12 UTC