cmungall / obo-shapes

Experiments using RDF shapes to constrain the structure of ontologies
0 stars 0 forks source link

adding CLOSED keyword #2

Open cmungall opened 5 years ago

cmungall commented 5 years ago

See #1.

this gives me

$ make test
shexeval -A tests/t01.ttl obo-basic.shex
Errors:
  Focus: http://purl.obolibrary.org/obo/GO_0000001
  Start: http://purl.obolibrary.org/obo/shapes/OboClass
  Reason:   Testing obo:GO_0000001 against shape http://purl.obolibrary.org/obo/shapes/OboClass
    Unmatched triples in CLOSED shape:
        <http://purl.obolibrary.org/obo/GO_0000001> <http://www.w3.org/2000/01/rdf-schema#comment> foo .
        <http://purl.obolibrary.org/obo/GO_0000001> <http://www.w3.org/2000/01/rdf-schema#label> c1 .

  Focus: http://purl.obolibrary.org/obo/GO_0000002
  Start: http://purl.obolibrary.org/obo/shapes/OboClass
  Reason:   Testing obo:GO_0000002 against shape http://purl.obolibrary.org/obo/shapes/OboClass
    Unmatched triples in CLOSED shape:
        <http://purl.obolibrary.org/obo/GO_0000002> <http://www.w3.org/2000/01/rdf-schema#label> c2 .
        <http://purl.obolibrary.org/obo/GO_0000002> <http://www.w3.org/2000/01/rdf-schema#comment> bar .
make: *** [t-t01] Error 1