No label defined (E8)

From Weinetiketten der Mosel
language codelabeldescriptionaliasesedit
enedit
deAltlagenEin EntitySchema für die Altlagen (historische Einzellagen)edit
PREFIX wdt: <https://mosel.wikibase.cloud/prop/direct/>
PREFIX wd: <https://mosel.wikibase.cloud/entity/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 

start = @<Altlage>

# Any instance of the class "Einzellage" (single vineyard) of the type "Altlage" (historical vineyard) needs: 
<Altlage> EXTRA wdt:P5 {   

  # === Basic information === 

  # "instance of": Q11 (Einzellage / single vineyard) - exactly one
  wdt:P5 [wd:Q11] {1}  ;    

  # "has vineyard type": historical vineyard - exactly one
  wdt:P24 [wd:Q28] {1} ; 

  # "has vineyard name": string (village and vineyard) - zero or one 
  wdt:P19 xsd:string {0,1} ; 

  # "belongs to collective vineyard": instance of class Collective vineyard - zero or one
  wdt:P9 @<grosslage> {0,1}  ; 

  # "belongs to village": instance of class Village - zero to three
  # (But, and not encoded here: either one of Ort or Gemarkung needs to be there!)
  wdt:P14 @<ort> {0,3}  ; 

  # "belongs to cadastrial area": instance of class Gemarkung - zero to three
  # (But, and not encoded here: either one of Ort or Gemarkung needs to be there!)
  wdt:P18 @<ort> {0,3}  ; 

  # === Descriptive information === 

  # "planted area": amount - zero, one or several (could be several at different times)
  wdt:P20 xsd:decimal *  ; 

  # "height over sea level": string - zero, one or several (could be remodeled)
  wdt:P22 xsd:string *  ; 

  # "orientation": instance of class Orientation - zero, one or several
  wdt:P21 @<orientierung> *  ; 

  # "soil type": instance of class soil type - zero, one or several
  wdt:P68 @<bodentyp> *  ; 

  # "soil type description": string - zero, one or several 
  wdt:P67 xsd:string *  ; 

  # "exposition": instance of the class Exposition - zero, one or several
  wdt:P23 @<neigung> *  ; 

  # === Identifiers === 

  # "LWK-Nummer": string - zero or one
  wdt:P52 xsd:string {0,1}  ; 

  # "DWI-Nummer": string - zero or one
  wdt:P17 xsd:string {0,1}  ; 

  # "Wikidata ID": string / external identifier - zero or one
  wdt:P12 xsd:string {0,1} ; 

  # === Excluded properties ===

 # "has color": one of the grape colors: explicitly NOT allowed
  wdt:P26 [wd:Q38 wd:Q39 wd:Q40 wd:Q41] {0} ;

  }

# any instance of the class Collective vineyard
<grosslage> EXTRA wdt:P5 {
  wdt:P5 [wd:Q10] + ; }

# any instance of the class Ort (Village) or Gemeinde
<ort> EXTRA wdt:P5 {
  wdt:P5 [wd:Q13 wd:Q21] + ; }

# any instance of the class Orientation
<orientierung> EXTRA wdt:P5 {
  wdt:P5 [wd:Q30] + ; }

# any instance of the class Soil type
<bodentyp> EXTRA wdt:P5 {
  wdt:P5 [wd:Q1847] + ; }

# any instance of the class Exposition
<neigung> EXTRA wdt:P5 {
  wdt:P5 [wd:Q31] + ; }