hsolbrig / PyShEx

ShEx interpreter for ShEx 2.0
Creative Commons Zero v1.0 Universal
25 stars 10 forks source link

Named Triple Expressions do not evaluate #47

Closed hsolbrig closed 5 years ago

hsolbrig commented 5 years ago

Given:

prefix : <http://examples.org/ex/>
start = @<S3>

<S1> {$<S1TP> (:ex1a .; :ex1b .)}
<S2> {$<S2TP> (:ex2a .; :ex2b .)}
<S3> CLOSED {&<S1TP>; &<S2TP>;}
prefix : <http://examples.org/ex/>
:t :ex1a 1; :ex1b 2; :ex2a 3; :ex2b 4 .

does not pass and:

prefix : <http://examples.org/ex/>

:t :ex1a 1; :ex1b 2; :ex2a 3 .
prefix : <http://examples.org/ex/>

:t :ex1a 1; :ex1b 2; :ex2a 3; :ex2b 4; a :foo.

Do not evaluate correctly