Closed Clare72 closed 2 years ago
@Clare72 the spec doesn't allow variables for properties. I didn't realize it worked in some situations. @dosumis any comments? I think the reasoning was to enforce a level of simplicity with the patterns.
Surprised that the validation passes. It is not allowed by the spec - for reasons on simplicity. The idea was that allowing property slots would make patterns too abstract. If we want to support, we would need to extend the spec, which won't be so quick. Probably best to go with 4 patterns for now.
OK, pattern will be less concise, but I will refactor if this is not supposed to be supported.
Thinking about this some more, validation fail against DOSDP python checker is not suprising, as the Python step is just JSON schema + some syntactic checks. It knows nothing about OWL types & so could only be enforced by DOSDP-tools
My pattern works fine for term generation and passes validation, but 'terms' fails when I try to run my release (using ODK).
I know using an object property as a variable is an unusual use case (and perhaps only accidentally supported for term generation?), but thought I would flag it anyway. For now I think I can just avoid generating this particular seed file, since there are no classes/properties that are not also present in the main -edit file.
relevant part of makefile
relevant part of pattern - I am providing synapse_type as one of the four synapsed_via... relationships listed under relations
console output: