Category:Entity: Difference between revisions

From Battery Knowledge Base
no edit summary
(Update package: OSW Core)
Tags: Mobile edit Mobile web edit
No edit summary
Tag: Undo
 
jsonschema
Line 1: Line 1:
{
{
     "@context": {
     "@context": {
        "bvco": "https://bvco.ontology.link/",
        "databatt": "http://www.databatt.org/",
        "emmo": "https://w3id.org/emmo#",
        "emmobattery": "https://w3id.org/emmo/domain/battery#",
        "emmochameo": "https://w3id.org/emmo/domain/chameo#",
        "emmochemicals": "https://w3id.org/emmo/domain/chemicalsubstance#",
        "emmoelch": "https://w3id.org/emmo/domain/electrochemistry#",
         "schema": "https://schema.org/",
         "schema": "https://schema.org/",
         "skos": "https://www.w3.org/TR/skos-reference/",
         "skos": "https://www.w3.org/TR/skos-reference/",
Line 21: Line 28:
         "rdf_type": {
         "rdf_type": {
             "@id": "@type",
             "@id": "@type",
            "@type": "@id"
        },
        "rdf_type*": {
            "@id": "schema:additionalType",
            "@type": "@id"
        },
        "rdf_type**": {
            "@id": "owl:sameAs",
            "@type": "@id"
        },
        "rdf_type***": {
            "@id": "Property:Equivalent_URI",
            "@type": "@id"
        },
        "rdf_type****": {
            "@id": "Property:HasEquivalentUri",
             "@type": "@id"
             "@type": "@id"
         },
         },
Line 70: Line 93:
     ],
     ],
     "properties": {
     "properties": {
        "rdf_type": {
            "title": "Additional RDF type(s)",
            "title*": {
                "de": "Zusätzliche(r) RDF-Typ(en)"
            },
            "description": "Declares additional type(s) for this entity, e.g., to state that this entity has the same meaning as a term in a controlled vocabulary or ontology. This property is synonymous to the schema:additionalType and owl:sameAs. Full ontology IRIs are preferred. ",
            "description*": {
                "de": "Gibt zusätzliche Typens für diese Entität an, z. B. um anzugeben, dass diese Entität dieselbe Bedeutung hat wie ein Begriff in einem kontrollierten Vokabular oder einer Ontologie. Diese Eigenschaft ist ein Synonym für schema:additionalType und owl:sameAs. Volle Ontologie IRIs sind bevorzugt anzugeben."
            },
            "type": "array",
            "format": "table",
            "items": {
                "title": "RDF type",
                "title*": {
                    "de": "RDF-Typ"
                },
                "type": "string"
            },
            "eval_template": {
                "type": "mustache-wikitext",
                "value": "{{#rdf_type}} [{{{.}}} {{{.}}}] \u003Cbr\u003E {{/rdf_type}}"
            },
            "uniqueItems": true
        },
         "uuid": {
         "uuid": {
             "title": "UUID",
             "title": "UUID",
header_template
Line 32: Line 32:
{{#if: {{{image|}}}|<!-- show a row if an image exists -->
{{#if: {{{image|}}}|<!-- show a row if an image exists -->
     <tr>
     <tr>
     <td class="picture" colspan="2">[[{{{image|}}}|200x800px]]</td>
     <td class="picture" colspan="2">{{#if: {{#pos:{{{image|}}}|File:}} | [[{{{image|}}}|200x800px]] | {{{image|}}}}}</td><!-- support both local and remote images (wgAllowExternalImages must be enabled-->
     </tr>
     </tr>
     |<!-- don't show a row, if there is no image -->}}
     |<!-- don't show a row, if there is no image -->}}
<tr>
<td class="subheading" colspan="2">{{#switch:{{USERLANGUAGECODE}}
    |en=Ontology equivalents
    |de=Ontologie-Äquivalente
    }}</td>
</tr>
<tr>
<td colspan="2" style="text-align:center">
{{{rdf_type|}}}
</td>
</tr>
<tr>
<tr>
<td class="subheading" colspan="2">{{#switch:{{USERLANGUAGECODE}}
<td class="subheading" colspan="2">{{#switch:{{USERLANGUAGECODE}}
97

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.