Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trait attribute is missing from JSONLD representation #27

Open
hsolbrig opened this issue Jan 4, 2018 · 1 comment
Open

trait attribute is missing from JSONLD representation #27

hsolbrig opened this issue Jan 4, 2018 · 1 comment
Assignees

Comments

@hsolbrig
Copy link
Contributor

hsolbrig commented Jan 4, 2018

The RDF representation:

<#1dotSemi_pass-noOthers> a sht:ValidationTest ;
    mf:name "1dotSemi_pass-noOthers" ;
    sht:trait sht:TriplePattern ;
    rdfs:comment "PREFIX : <http://a.example/> <S1> { :p1 ., } on { <s1> <p1> <o1> }" ;
    mf:status mf:proposed ;
    mf:action [
      sht:schema <../schemas/1dotSemi.shex> ;
      sht:shape <http://a.example/S1> ;
      sht:data <Is1_Ip1_Io1.ttl> ;
      sht:focus <http://a.example/s1>
    ]
    .

Has the following predicates:

The jsonld equivalent:

    {
          "@id": "#1dotSemi_pass-noOthers",
          "@type": "sht:ValidationTest",
          "action": {
            "schema": "../schemas/1dotSemi.shex",
            "shape": "http://a.example/S1",
            "data": "Is1_Ip1_Io1.ttl",
            "focus": "http://a.example/s1"
          },
          "extensionResults": [],
          "name": "1dotSemi_pass-noOthers",
          "trait": [
            "TriplePattern"
          ],
          "comment": "PREFIX : <http://a.example/> <S1> { :p1 ., } on { <s1> <p1> <o1> }",
          "status": "mf:proposed"
        },

Adds extensionResults and removes traits:

@hsolbrig
Copy link
Contributor Author

@ericprud - ok if I just fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants