Commit 91ed786c authored by Fabien Amarger's avatar Fabien Amarger
Browse files

feat(alignment): Add sameas between base_url/{eid} and base_url/{fragment} for CWEType and CWRType

parent 4ba713be6ada
Pipeline #96431 passed with stages
in 1 minute
......@@ -88,6 +88,9 @@
__regid__ = "rdf"
def triples(self):
CW = self._use_namespace("cubicweb")
OWL = self._use_namespace("owl")
yield(self.uri, OWL.sameAs, CW[self.entity.name])
yield from self.owl2yams_triples()
yield from super().triples()
......@@ -97,6 +100,9 @@
__regid__ = "rdf"
def triples(self):
CW = self._use_namespace("cubicweb")
OWL = self._use_namespace("owl")
yield(self.uri, OWL.sameAs, CW[self.entity.name])
yield from self.owl2yams_triples()
yield from super().triples()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment