[spec] Shape for circular reference

yhack has just created a new issue for https://github.com/shexSpec/spec:

== Shape for circular reference ==
In ShEx it doesn't seem possible to define a shape expression for a circular reference in data. For example, consider the following data about people and dogs:

```
Bob owns Fido
Fido likes Jane
Jane owns Spot
Spot likes Jane
```

I could define a shape for a person who owns a dog who likes a person. However it doesn't seem possible to define a shape for a person who owns dog that likes them. In the example, this would include Jane but not Bob. I'm new to ShEx; maybe I'm missing something. Is there any way for ShEx to define these shapes?

Please view or discuss this issue at https://github.com/shexSpec/spec/issues/24 using your GitHub account

Received on Friday, 25 May 2018 01:02:45 UTC