Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Jan 19, 2024
1 parent d138bfe commit 7173ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparqlunicorn_ontdoc/docgeneration.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ def createCollections(self,graph,namespace):
graph.add((URIRef("http://www.opengis.net/ont/geosparql#GeometryCollection"), URIRef("http://www.w3.org/2000/01/rdf-schema#subClassOf"),URIRef("http://www.opengis.net/ont/geosparql#SpatialObjectCollection")))
graph.add((URIRef(colluri), URIRef(self.typeproperty),URIRef("http://www.opengis.net/ont/geosparql#GeometryCollection")))
elif cls in DocConfig.classToCollectionClass:
graph.add((URIRef("http://www.opengis.net/ont/geosparql#GeometryCollection"),
graph.add((URIRef(DocConfig.classToCollectionClass[cls]["class"]),
URIRef("http://www.w3.org/2000/01/rdf-schema#subClassOf"),
URIRef("http://www.w3.org/2004/02/skos/core#Collection")))
graph.add((URIRef(colluri),URIRef(self.typeproperty),URIRef(DocConfig.classToCollectionClass[cls]["class"])))
Expand Down

0 comments on commit 7173ff9

Please sign in to comment.