Anonymous

Category:Entity: Difference between revisions

From OSL Demo
Update package: OSW Core
(Install package: OSW Core)
 
(Update package: OSW Core)
jsonschema
Line 31: Line 31:
         },
         },
         "query_label": "Property:HasLabel",
         "query_label": "Property:HasLabel",
        "description": "skos:definition",
         "description_": "Property:HasDecription",
         "description_": "Property:HasDecription",
         "image": "schema:image",
         "image": "schema:image",
         "image*": "Property:HasImage",
         "image*": "Property:HasImage",
         "short_name": "Property:HasShortName"
         "short_name": "Property:HasShortName",
        "statements": "Property:HasStatement"
     },
     },
     "uuid": "ce353767-c628-45bd-9d88-d6eb3009aec0",
     "uuid": "ce353767-c628-45bd-9d88-d6eb3009aec0",
Line 173: Line 175:
                 }
                 }
             ]
             ]
        },
        "statements": {
            "type": "array",
            "title": "Statements",
            "title*": {
                "de": "Aussagen"
            },
            "format": "tabs",
            "eval_template": {
                "type": "mustache-wikitext",
                "mode": "render",
                "value": "{{#statements}}.. {{#predicate}}[[{{predicate}}]]{{/predicate}} {{#object}}[[{{object}}]]{{/object}}\u003Cbr\u003E{{/statements}}"
            },
            "items": {
                "$ref": "/wiki/JsonSchema:Statement?action=raw"
            }
         }
         }
     }
     }
}
}
header_template
Line 36: Line 36:
<tr>
<tr>
<td class="subheading" colspan="2">{{#switch:{{USERLANGUAGECODE}}
<td class="subheading" colspan="2">{{#switch:{{USERLANGUAGECODE}}
     |en=Relations (outgoing)
     |en=Statements (outgoing)
     |de=Beziehungen (ausgehend)
     |de=Aussagen (ausgehend)
     }}</td>
     }}</td>
</tr>
</tr>
<tr>
<tr>
<td colspan="2" style="text-align:center">{{{relations|}}}</td>
<td colspan="2" style="text-align:center">{{{statements|}}}</td>
</tr>
</tr>
<tr>
<tr>
<td class="subheading" colspan="2">{{#switch:{{USERLANGUAGECODE}}
<td class="subheading" colspan="2">{{#switch:{{USERLANGUAGECODE}}
     |en=Relations (incoming)
     |en=Statements (incoming)
     |de=Beziehungen (eingehend)
     |de=Aussagen (eingehend)
     }}</td>
     }}</td>
</tr>
</tr>
<tr>
<tr>
<td colspan="2" style="text-align:center">
<td colspan="2" style="text-align:center">
     {{#ask: [[Category:KB/Relation]][[HasValue::{{FULLPAGENAME}}]]  
     {{#ask: [[HasObject::{{FULLPAGENAME}}]]  
    |?HasSubject=subject
    |?-Has_subobject=default_subject
     |?HasProperty=property
     |?HasProperty=property
    |format=table
     |mainlabel=statement
     |mainlabel=subject
     |format=plainlist
     |format=plainlist
     |template=OslTemplate:KB/Relation/ReverseListFormat
     |template=Template:Helper/UI/Query/ReverseListFormat
     |named args=yes
     |named args=yes
     |@deferred
     |@deferred
Cookies help us deliver our services. By using our services, you agree to our use of cookies.