datagov-cz / ontoGrapher

Tento repozitář je udržován v rámci projektu OPZ č. CZ.03.4.74/0.0/0.0/15_025/0013983.
Mozilla Public License 2.0
2 stars 2 forks source link

Cardinalities are not exported for 'Typ vlastnosti' #125

Closed psiotwo closed 4 years ago

psiotwo commented 4 years ago

For 'Typ vlastnosti' stereotyped nodes, I can only see someValuesForm/allValuesFrom triples and not cardinalities (although filled in) in the exported TTL.

bindeali commented 4 years ago

In 28081f3, these restrictions are now exported.

psiotwo commented 4 years ago

Still cannot see cardinalities in the export: Publishing https://ontographer.netlify.app/?workspace=https://slovn%C3%ADk.gov.cz/datov%C3%BD/pracovn%C3%AD-prostor/pojem/metadatov%C3%BD-kontext/instance1042022389, where R has cardinalities

results in PR https://github.com/opendata-mvcr/ssp/pull/162/files (no cardinalities for R)

bindeali commented 4 years ago

In d233aab, these cardinalities are now exported (my apologies, I thought that they should only be exported for "typ vlastnosti" concepts).

psiotwo commented 4 years ago

image results in

https://github.com/opendata-mvcr/ssp/blob/9321335d478d80368d010e9e5126f7fb52b82817/content/l-sgov/l-sgov-sb%C3%ADrka-131-2000/l-sgov-sb%C3%ADrka-131-2000-model.ttl

This is strange, as the diagram claims multiple min cardinalities >=1, but in the export I can see just one.

bindeali commented 4 years ago

This is fixed in efc85fc.

psiotwo commented 4 years ago

Tested. OK