[Volute] r3519 - trunk/projects/registry/VOResource/terms

Volute commit messages volutecommits at g-vo.org
Wed Oct 26 18:06:09 CEST 2016


Author: msdemlei
Date: Mon Sep  5 14:28:29 2016
New Revision: 3519

Log:
VOResource: now using owl:equivalentProperty in vocabularies.

Modified:
   trunk/projects/registry/VOResource/terms/convert.py

Modified: trunk/projects/registry/VOResource/terms/convert.py
==============================================================================
--- trunk/projects/registry/VOResource/terms/convert.py	Fri Sep  2 09:06:08 2016	(r3518)
+++ trunk/projects/registry/VOResource/terms/convert.py	Mon Sep  5 14:28:29 2016	(r3519)
@@ -257,7 +257,8 @@
 			fillers["parent"] = make_ttl_literal(self.parent)
 
 		if self.synonym:
-			template.append("rdfs:isDefinedBy {synonym}")
+			template.append("owl:equivalentProperty {synonym}")
+			template.append("a owl:DeprecatedProperty")
 			fillers["synonym"] = make_ttl_literal(self.synonym)
 
 		return ";\n  ".join(template).format(**fillers)+"."


More information about the Volutecommits mailing list