-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add standard shape map #70
Comments
Can't find any recommended file extension for shape maps. (Update—I see |
I made a start on this, but I see we have a problem. Since we want to specify nodes by their types, but we want only one asserted type in the file, the query shape map format is a little too limited for us. I started off with patterns like this (which don't work because we aren't propagating all the inferred types to instances):
After injecting the subclass axioms, we need two hops to match the desired nodes:
The Validating RDF book mentions that Wikidata is embedding SPARQL in shape maps, which would work much better. |
I added an initial shape map using the SPARQL syntax in #71. This format is supported by Shaclex and Shex.js, according to shexSpec/shex#93. |
I think we should add a top level shape map that any of the processors (Python, Java, Scala) could use to make model checking more consistent. I'm not exactly sure what shape map is being used inside the Python tester right now.
We will still need to inject subClassOf axioms before running, but then I think we could use a single shape map across applications.
The text was updated successfully, but these errors were encountered: