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

Round tripping: How to handle unbound nested elements in shex? #73

Open
dbooth-boston opened this issue Dec 2, 2016 · 1 comment
Open

Comments

@dbooth-boston
Copy link

dbooth-boston commented Dec 2, 2016

In FHIR, we want them to not be there. How should shex allow this?

For example, FHIR allows setting of:
fhir:Patient.active [ fhir:value "true"^^xsd:boolean ] ;
But if no value is bound, then it comes through as:
fhir:Patient.active [ fhir:value <undefined> ] ;
when we want it to not produce either a fhir:value triple or a fhir:Patient.active triple. Even if we eliminate the immediate triple, we still do not want to emit a triple with an orphan bnode:
fhir:Patient.active [ ] ;

How should this be indicated to shex?

@dbooth-boston
Copy link
Author

Maybe have a policy:

  1. Eliminate any triple with an undefined S/P/O.
  2. Eliminate any triple with an orphaned implicit bnode. This might require distinguishing between explicit and implicit bnodes.

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

1 participant