gigadot avatar gigadot committed 3f65b0c

Added new ChemID semantic

Comments (0)

Files changed (1)

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

     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");
 
 }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.