Skip to content

Commit

Permalink
Merge branch 'hotfix/1.21.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
olovy committed Mar 25, 2021
2 parents b43871a + 96bf9e2 commit 01e8eea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viewer/vocabview.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ def _get_classes(self):
if isinstance(cid, URIRef)]

def _get_properties(self):
return map(self.graph.resource, sorted(
return list(map(self.graph.resource, sorted(
set(self.graph.subjects(RDF.type, RDF.Property))
| set(self.graph.subjects(RDF.type, OWL.ObjectProperty))
| set(self.graph.subjects(RDF.type, OWL.DatatypeProperty))))
| set(self.graph.subjects(RDF.type, OWL.DatatypeProperty)))))

def getrestrictions(self, rclass):
for c in rclass.objects(RDFS.subClassOf):
Expand Down

0 comments on commit 01e8eea

Please sign in to comment.