-
Notifications
You must be signed in to change notification settings - Fork 3
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
WIP: SHACL to Jekyll layout #16
base: master
Are you sure you want to change the base?
Conversation
adff475
to
eba5e17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't resolve this myself without knowing what exactly would be a relevant and correct naming for the Propertyshapes.
The failures on some Shapes (propertyShape has no ... failure)will be fixed after this is rebased with the fix/rdformsbranch
ShacShifter/JekyllRDFSerializer.py
Outdated
self.logger.debug(nodes) | ||
|
||
for property in nodeShape.properties: | ||
shapeName = nodeShape.targetClass[0].rsplit('/', 1)[-1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Starting here, until line 88 are calls to nodeShape.targetClass without prior testing if targetClass has any entries. There should be a more viable way to get the shapeName, Especially if no targetClass exists (checkable with nodeShape.isSet[variableName] too)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thoffma and @white-gecko can you help @shinobu
@white-gecko, @thoffma the branch is working with the "new" ShacShifter base, yet. Can you check if the html output of jekyll-rdf serialization is as expected/add a test. |
These changes provide a ShacShifter Serializer for writing templates for Jekyll-RDF