1. gigadot
  2. semsci

Commits

gigadot  committed 3f65b0c

Added new ChemID semantic

  • Participants
  • Parent commits 1377a69
  • Branches default

Comments (0)

Files changed (1)

File semsci-chemistry/src/main/java/gigadot/semsci/chem/schema/CompChemSematics.java

View file
     public static final String CML_SCHEMA_NS = CMLConstants.CML_NS + CMLConstants.S_HASH;
     public static final String CMLRDF_SCHEMA_NS = "http://www.xml-cml.org/rdf-schema#";
     public static final String CMLQMRDF_SCHEMA_NS = "http://www.xml-cml.org/qm-rdf-schema#";
-    public static final String CMLAXIOM_NS = "http://whatever.com/chemaxiom#";
+    public static final String CMLAXIOM_NS = "http://www.xml-cml.org/chemaxiom#";
+    public static final String CHEMID_NS = "http://www.xml-cml.com/chemid#";
     /**/
     public static final String XSD_NS = "http://www.w3.org/2001/XMLSchema#";
     //public static final String PATH_URI = "http://ch.cam.ac.uk/data/";
         return ResourceFactory.createProperty(CMLQMRDF_SCHEMA_NS, local);
     }
 
+    public static Resource chemidResource(String local) {
+        return ResourceFactory.createResource(CHEMID_NS + local);
+    }
+
+    public static Property chemidProperty(String local) {
+        return ResourceFactory.createProperty(CHEMID_NS, local);
+    }
+
     public static Resource axiomResource(String local) {
         return ResourceFactory.createResource(CMLAXIOM_NS + local);
     }
     public static final Property qmHasFinalResult = qmProperty("hasFinalResult");
     public static final Property qmHasGeometry = qmProperty("hasGeometry");
     public static final Property qmHasSteps = qmProperty("hasSteps");
+    public static final Property chemidEmpiricalFormula = chemidProperty("EmpiricalFormula");
+    public static final Property chemidCanonicalSmiles = chemidProperty("CanonicalSmiles");
+    public static final Property chemidIsomericSmiles = chemidProperty("IsomericSmiles");
+    public static final Property chemidInChI = chemidProperty("InChI");
 
 }