Tobias Schweizer

Results 152 comments of Tobias Schweizer

@lambdamusic Hi, I realised that I could solve my problem partially by extracting some information from the SHACL shapes and using this for the docs generation: ```json ..., { "@id":...

Would it possible to customise https://github.com/lambdamusic/Ontospy/blob/d23a17544c9c20039b9ce4ab051f8aebfc5a45b6/ontospy/ontodocs/media/templates/html-multi/browser/browser_classinfo.html? If yes, how would I get more information from the internal representation of the ontology?

Hi there > Ontospy doesn't really process SHACL shapes at the moment (apart from highlighting their links to classes). Yes, this is what I noticed. For now, I generate the...

Is there a way to also include the cardinalities in the "traditional" way? I guess the SHACL cardinalities would have to be converted to OWL cards. However, I am not...

> At the very leart, I suppose you'd have to add a shapes extractor in ontospy.py and then a pythonic representation of shapes in entities.py. Yes, I can have a...

@lambdamusic Would it be possible to discuss this feature request sometime early next year? I'd propose the following priorities: 1. add support for [OWL cardinalities](https://www.w3.org/TR/owl-ref/#CardinalityRestriction) first (should not be too...

@lambdamusic That sounds great. I'll have look at the PR this week. I wish you a great 2022 :-)

I installed ontospy-2.0.0a0 and tried with my shapes graph. I can now see a new category "Property Shapes" or "Shape Properties" along with their cardinalities: ![Screenshot 2022-06-13 at 11 26...

sidenote: `rdflib` changed their default `schema` prefix to the HTTPS version, so HTTP now shows as `schema1` ... see https://github.com/RDFLib/pySHACL/issues/118

> If sh:maxCount is missing, we should probably have an asterisk, not a dot. It is in fact an asterisk as I can see now :-) If I was 20...