Labels/Descriptions (E4)
Jump to navigation
Jump to search
language code | label | description | aliases | edit |
---|---|---|---|---|
en | Labels/Descriptions | Schema of labels and descriptions | edit | |
ar | تسميات أو أوصاف | مخطط تسميات أو أوصاف | تسميات/أوصاف | edit |
de | Labels/Beschreibungen | Schema für Label und Beschreibungen | edit | |
es | etiquetas/descripciones | esquema para las etiquetas y descripciones de un elemento | edit | |
fr | Libellés/Descriptions | edit | ||
it | Etichetta/Descrizione | schema per etichette e descrizioni di un elemento | edit | |
ja | ラベル/説明 | ラベル及び説明を記述するためのスキーマ | edit | |
ms | Label/Keterangan | skema penerangan label dan keterangan | edit | |
pl | etykiety/opisy | schemat dla etykiet i opisów | edit | |
ro | Etichete/Descrieri | edit | ||
ru | Метки/Описания | Схема меток и описаний | edit | |
zh-tw | 標籤/描述 | 標籤與描述的架構 | edit |
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX schema: <http://schema.org/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# Every wikidata item has zero or more label, description and alias combinations.
start = @<wikidata-header>
<wikidata-header> {
(
(
# A wikidata item has a label, description, set of zero or more aliases
rdfs:label rdf:langLabel ;
skos:prefLabel rdf:langLabel ;
schema:name rdf:langLabel ;
schema:description rdf:langLabel ;
skos:altLabel rdf:langLabel* ;
)
| # or
# A wikidata item has a label, but no description and a set of zero or more aliases
(
rdfs:label rdf:langLabel ;
skos:prefLabel rdf:langLabel ;
schema:name rdf:langLabel ;
schema:description rdf:langLabel ? ;
skos:altLabel rdf:langLabel* ;
)
| # or
# A wikidata item has no label, but a description and a set of zero or more aliases
(
(
rdfs:label rdf:langLabel ;
skos:prefLabel rdf:langLabel ;
schema:name rdf:langLabel ;
)? ;
schema:description rdf:langLabel ;
skos:altLabel rdf:langLabel* ;
) ;
)*;
} # A wikidata item can have zero or more sets of labels, descriptions and aliases