ogcincubator / cityrdf

0 stars 0 forks source link

Minimal viable examples from ACCORD #4

Open nataschake opened 4 months ago

nataschake commented 4 months ago

@avillar @rob-metalinkage Is that correct?

In ACCORD we will generate/extract some minimal GML examples (possibly anonimized) serving particular compliance check goals.

OGC BBlocks machinery will generate:

ar-chad commented 3 months ago

I have added land use related ontologies, previously used to model plots, land uses and regulations in Singapore. More details here: A semantic web approach to land use regulations in urban planning: The OntoZoning ontology of zones, land uses and programmes for Singapore

The initial idea is to break it down further to reusable pieces and adopt some of it to modelling XPlan regulations.

rob-metalinkage commented 3 months ago

This is a good start - IMHO next steps are:

  1. example instances for each ontology - including any key examples we need to integrate between these and cityRDF concepts.
  2. An architecture diagram showing how these and other ontologies relate to each other, and to processing we intend to test
  3. SHACL rules derived from the ontologies to validate instances.
  4. SHACL Rules to test elements are present for a given query/planning rule (profiles)
  5. SHACL or other code to execute validation of planning rules (this does not need to be part of the specification layer - but all other elements do)

I can then turn these into building blocks that test examples and inherit

nataschake commented 1 week ago

Decided on 21 November 2024:

nataschake commented 3 days ago

@rob-metalinkage @avillar What is the desired size of the sample files? I can propose 70Mb, 8Mb, or here we need like 10Kb?

nataschake commented 3 days ago

I will reuse the data from lod3-road-space-models , there are buildings and road network surrounding them.

nataschake commented 3 days ago

@rob-metalinkage @avillar examples added, both with bldg:measuredHeight, in one case it is converted smoothly to TTL (lod3), in the other case the height is currently lost, because its measure is defined as 5.463</bldg:measuredHeight>, which I need to resolve locally first

rob-metalinkage commented 2 days ago

We are looking first for unit tests. As small as possible. Ideally 1 object per file. Larger files to demonstrate graph exploitation would be good later, but now we need to show mappings from schema to rdf, so having the rdf target as a test case means small examples.

Failure cases are also super useful for any shacl validation. Name them {x}-fail.ttl e.g something claiming to be lod 2 but having elements from lod 3