Category:OSW0583b134c618484c9911a3dff145c7eb: Difference between revisions

From OpenSemanticWorld
m
Protected "Chemical substance": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
(Install package: OSW Lab)
 
m (Protected "Chemical substance": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== {{#switch:{{USERLANGUAGECODE}}|#default=Chemical substances(Subcategories)|de=Chemische Substanzen(Sukategorien)}} ==


{{#ask: [[HasType::Category:OSW2afce49fe800460a95cf480cc0656757]]
    |mainlabel={{#switch:{{USERLANGUAGECODE}}|#default=Chemical substance|de=Chemische Substanz}}
    |?HasDescription=Description|+lang={{USERLANGUAGECODE}}
    |?HasMolecularWeight={{#switch:{{USERLANGUAGECODE}}|#default=Molecular weight|de=Molekulargewicht}}
    |?HasIupacName={{#switch:{{USERLANGUAGECODE}}|#default=IUPAC name|de=IUPAC-Name}}
    |?HasPubchemCid=PubChem CID
    |?HasPubchemSid=PubChem SID
    |?HasCasNumber=CAS No
    |?HasInchiId=InChI
    |?HasSmilesNotation={{#switch:{{USERLANGUAGECODE}}|#default=SMILES notation|de=SMILES-Notation}}
    |?HasSumFormula={{#switch:{{USERLANGUAGECODE}}|#default=Sum formula|de=Summenformel}}
    |format=datatable
    |datatables-searchPanes=true
    |datatables-searchPanes.initCollapsed=true
}}
== {{#switch:{{USERLANGUAGECODE}}|#default=Instances|de=Instanzen}} ==
{{#ask: [[{{FULLPAGENAME}}]]
    |mainlabel={{#switch:{{USERLANGUAGECODE}}|#default=Chemical substance|de=Chemische Substanz}}
    |?HasType={{#switch:{{USERLANGUAGECODE}}|#default=Type|de=Typ}}
    |?HasDescription=Description|+lang={{USERLANGUAGECODE}}
    |?HasSerialNumber={{#switch:{{USERLANGUAGECODE}}|#default=Serial/Batch No.|de=Serien-/Chargen-Nummer}}
    |?-HasOutput={{#switch:{{USERLANGUAGECODE}}|#default=Output of (process)|de=Output von (Prozess)}}
    |?-HasOutput.HasInput={{#switch:{{USERLANGUAGECODE}}|#default=Components|de=Komponenten}}
    |format=datatable
    |datatables-searchPanes=true
    |datatables-searchPanes.initCollapsed=true
}}
jsondata
Line 1: Line 1:
{
{
    "type": [
"subclass_of": [
        "Category:Category"
"Category:OSW31ca9a739cb24079b36824045c0832aa"
    ],
],
    "subclass_of": [
"type": [
        "Category:OSW31ca9a739cb24079b36824045c0832aa"
"Category:Category"
    ],
],
    "utf8_icon": [
"uuid": "0583b134-c618-484c-9911-a3dff145c7eb",
        "⚗",
"label": [
        "⚖",
{
        "🥏"
"text": "Chemical substance",
    ],
"lang": "en"
    "uuid": "0583b134-c618-484c-9911-a3dff145c7eb",
},
    "name": "ChemicalCompound",
{
    "label": [
"text": "Chemische Substanz",
        {
"lang": "de"
            "text": "Chemical compound",
}
            "lang": "en"
],
        },
"description": [
        {
{
            "text": "Chemische Verbindung",
"text": "Chemical substance composed of many identical molecules",
            "lang": "de"
"lang": "en"
        }
}
    ]
],
"utf8_icon": [
"🥏",
"⚗",
"⚖"
],
"name": "ChemicalSubstance",
"metaclass": [
"Category:OSW2afce49fe800460a95cf480cc0656757"
]
}
}
jsonschema
Line 1: Line 1:
{
{
    "@context": [
"@context": [
        "/wiki/Category:OSW31ca9a739cb24079b36824045c0832aa?action=raw\u0026slot=jsonschema",
{
        {
"mixing_process": {
            "pubchem_cid": "Property:HasPubchemId"
"@id": "Property:HasSourceProcess",
        }
"@type": "@id"
    ],
},
    "allOf": [
"source_process": {
        {
"@type": "@id"
            "$ref": "/wiki/Category:OSW31ca9a739cb24079b36824045c0832aa?action=raw\u0026slot=jsonschema"
}
        }
},
    ],
"/wiki/Category:OSW31ca9a739cb24079b36824045c0832aa?action=raw\u0026slot=jsonschema"
    "type": "object",
],
    "uuid": "0583b134-c618-484c-9911-a3dff145c7eb",
"allOf": [
    "title": "ChemicalCompound",
{
    "title*": {
"$ref": "/wiki/Category:OSW31ca9a739cb24079b36824045c0832aa?action=raw\u0026slot=jsonschema"
        "en": "Chemical compound",
}
        "de": "Chemische Verbindung"
],
    },
"type": "object",
    "data_source_maps": [
"uuid": "0583b134-c618-484c-9911-a3dff145c7eb",
        {
"title": "ChemicalSubstance",
            "id": "pubchem.ncbi.nlm.nih.gov",
"title*": {
            "source": "https://pubchem.ncbi.nlm.nih.gov/rest/pug_view/data/compound/{{pubchem_cid}}/JSON",
"en": "Chemical substance",
            "label": "PubChem",
"de": "Chemische Substanz"
            "required": [
},
                "pubchem_cid"
"description": "Chemical substance composed of many identical molecules",
            ],
"description*": {
            "object_map": {
"en": "Chemical substance composed of many identical molecules",
                "cas_numbers": "$..[?(@.TOCHeading=='CAS')].Information..Value.StringWithMarkup..String",
"de": "Chemische Substanz, die aus vielen identischen Molekülen besteht"
                "exploit2": "$..[?(console.log('TEST');)]"
},
            },
"required": [
            "insecure_maps": {
"type",
                "exploit1": "$..[?((function a(arr){a([...arr, ...arr])})([1]);)]",
"source_process_"
                "exploit2": "$..[?(console.log('TEST');)]"
],
            }
"defaultProperties": [
        }
"quantity_statements",
    ],
"mixing_process"
    "properties": {
],
        "pubchem_cid": {
"properties": {
            "title": "PubChem CID",
"type": {
            "type": "string",
"default": [
            "options": {
"Category:OSW0583b134c618484c9911a3dff145c7eb"
                "conditional_visible": {
]
                    "modes": "query"
},
                }
"source_process_": {
            }
"title": "Source process",
        },
"title*": {
        "cas_numbers": {
"de": "Quellprozess"
            "type": "array",
},
            "title": "CAS Number(s)",
"description": "Empty property to provide an eval template for a query",
            "title*": {
"description*": {
                "de": "CAS Nummer(n)"
"de": "Leere Eigenschaft zur Bereitstellung einer Eval-Vorlage für eine Abfrage"
            },
},
            "items": {
"type": "string",
                "type": "string",
"default": "",
                "title": "CAS",
"eval_template": [
                "title*": {
{
                    "de": "CAS"
"type": "mustache-wikitext",
                }
"mode": "render",
            }
"value": "{{=\u003C% %\u003E=}} {{#ask:[[HasOutput::{{FULLPAGENAME}}]]|format=plain}}"
        },
}
        "type": {
],
            "default": [
"options": {
                "Category:OSW0583b134c618484c9911a3dff145c7eb"
"hidden": true
            ]
}
        }
},
    },
"mixing_process": {
    "description": "",
"allOf": [
    "description*": {},
{
    "required": [
"$ref": "/wiki/Category:OSWb8435fabafcb48f985422448e9df5faa?action=raw\u0026slot=jsonschema"
        "type"
}
    ]
],
"title": "Mixing (Source process)",
"title*": {
"de": "Mischen (Ursprungsprozess)"
},
"description": "Process that describes the mixing of components to create this chemical substance. Addtional details of the mixing process can be stated.",
"description*": {
"de": "Prozess, der das Mischen der Komponenten zur Herstellung dieser chemischen Substanz beschreibt. Weitere Einzelheiten des Mischvorgangs können angegeben werden."
},
"eval_template": [
{
"type": "mustache-wikitext",
"mode": "render",
"value": "{{=\u003C% %\u003E=}}\u003Cul\u003E\u003C%#mixing_process.input_components%\u003E\u003Cli\u003E\u003C%component_amount.component_amount_numerical_value%\u003E \u003C%component_amount.component_amount_unit%\u003E [[\u003C%component_instance%\u003E]] ({{#switch:{{USERLANGUAGECODE}}|en=Type|de=Typ|#default=Type}}: {{#ask:[[\u003C%component_instance%\u003E]]|?HasType=|format=plain|mainlabel=-}})\u003C/li\u003E\u003C%/mixing_process.input_componentss%\u003E\u003C/ul\u003E"
}
],
"required": [
"label",
"output_mixes"
],
"properties": {
"input_components": {
"propertyOrder": -10
},
"type": {
"options": {
"hidden": true
}
},
"label": {
"items": {
"properties": {
"text": {
"watch": {
"root_uuid": "uuid"
},
"readonly": true,
"dynamic_template": "Mixing of Item:OSW{{#replace '-' ''}}{{{root_uuid}}}{{/replace}}"
},
"lang": {
"readonly": true
}
}
},
"options": {
"hidden": true
}
},
"description": {
"description": "Description of the mixing process.",
"description*": {
"de": "Beschreibung des Mischprozesses"
},
"propertyOrder": -9
},
"output_mixes": {
"items": {
"watch": {
"root_uuid": "uuid"
},
"dynamic_template": "Item:OSW{{#replace '-' ''}}{{{root_uuid}}}{{/replace}}"
},
"minItems": 1,
"maxItems": 1,
"readonly": true,
"options": {
"hidden": true
}
}
}
}
}
}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.