Mapping commons:Chemical structure verified: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
(Added mappings to test prefix and suffix) |
No edit summary |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{TemplateMapping | {{TemplateMapping | ||
| mapToClass = | | mapToClass = ChemicalCompound | ||
| mappings = | | mappings = | ||
<!-- These suffixes don't make sense, but it's just for testing --> | |||
{{PropertyMapping | templateProperty = InChI | ontologyProperty = inchi | prefix = InChI= | suffix = ;}} | |||
{{PropertyMapping | templateProperty = StdInChI | ontologyProperty = inchi | prefix = InChI= | suffix = ;}} | |||
{{PropertyMapping | templateProperty = CAS | ontologyProperty = dct:references | prefix = http://www.nlm.nih.gov/cgi/mesh/2014/MB_cgi?term= | suffix = &rn=1&rr=1 | transform = external }} | {{PropertyMapping | templateProperty = CAS | ontologyProperty = dct:references | prefix = http://www.nlm.nih.gov/cgi/mesh/2014/MB_cgi?term= | suffix = &rn=1&rr=1 | transform = external }} | ||
<!-- The following doesn't actually work, but it tests for prefix and suffix --> | |||
{{PropertyMapping | templateProperty = EC | ontologyProperty = dct:references | prefix = http://esis.jrc.ec.europa.eu/lib/esis_reponse.php?GENRE=ECNO&ENTREE= | suffix = &PGM=esi&FROM=FORMULAIRE&CPT_DEB=1 | transform = external }} | {{PropertyMapping | templateProperty = EC | ontologyProperty = dct:references | prefix = http://esis.jrc.ec.europa.eu/lib/esis_reponse.php?GENRE=ECNO&ENTREE= | suffix = &PGM=esi&FROM=FORMULAIRE&CPT_DEB=1 | transform = external }} | ||
}} | }} |
Latest revision as of 16:46, 1 November 2016
This is the mapping for the Wikipedia template Chemical structure verified. Find usages of this Wikipedia template here.
Test this mapping (or in namespace File or Creator) with some example Wikipedia pages. Check which properties are not mapped yet.
Read more about mapping Wikipedia templates.
Template Mapping (help) | |
---|---|
map to class | ChemicalCompound |
Mappings
Property Mapping (help) | |
---|---|
template property | InChI |
ontology property | inchi |
prefix | InChI= |
suffix | ; |
Property Mapping (help) | |
---|---|
template property | StdInChI |
ontology property | inchi |
prefix | InChI= |
suffix | ; |
Property Mapping (help) | |
---|---|
template property | CAS |
ontology property | dct:references |
prefix | http://www.nlm.nih.gov/cgi/mesh/2014/MB_cgi?term= |
suffix | &rn=1&rr=1 |
transform | external |
Property Mapping (help) | |
---|---|
template property | EC |
ontology property | dct:references |
prefix | http://esis.jrc.ec.europa.eu/lib/esis_reponse.php?GENRE=ECNO&ENTREE= |
suffix | &PGM=esi&FROM=FORMULAIRE&CPT_DEB=1 |
transform | external |