Mapping commons:Chemical structure verified: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Try something different)
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{TemplateMapping
{{TemplateMapping
| mapToClass = ChemicalSubstance
| mapToClass = ChemicalCompound
| mappings =
| mappings =
{{PropertyMapping | templateProperty = CAS | ontologyProperty = cites | prefix = http://www.nlm.nih.gov/cgi/mesh/2014/MB_cgi?term= | suffix = &rn=1&rr=1 | transform = external }}
<!-- 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 }}
 
<!-- 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 = cites | 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
prefixInChI=
suffix;
Property Mapping (help)
template property StdInChI
ontology property inchi
prefixInChI=
suffix;


Property Mapping (help)
template property CAS
ontology property dct:references
prefixhttp://www.nlm.nih.gov/cgi/mesh/2014/MB_cgi?term=
suffix&rn=1&rr=1
transformexternal


Property Mapping (help)
template property EC
ontology property dct:references
prefixhttp://esis.jrc.ec.europa.eu/lib/esis_reponse.php?GENRE=ECNO&ENTREE=
suffix&PGM=esi&FROM=FORMULAIRE&CPT_DEB=1
transformexternal