Current single vineyard (E2)

From Weinetiketten der Mosel
language codelabeldescriptionaliasesedit
enCurrent single vineyardEntity schema for single vineyards of type current vineyardedit
deAktuelle EinzellageEin Entity Schema für die Unterklasse Q11 "Einzellage" vom Typ "Aktuelle Lage".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 = @<Aktuelle-Einzellage>

# Any instance of the class "Einzellage" (single vineyard) of ther type "Aktuelle Lage" (current vineyard) needs: 
<Aktuelle-Einzellage> EXTRA wdt:P5 {   

  # === Basic information === 

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

  # "has vineyard type": current vineyard - exactly one
  wdt:P24 [wd:Q29] {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 - exactly one
  wdt:P9 @<grosslage> {1}  ; 

  # "belongs to village": instance of class Village - one to three
  wdt:P14 @<ort> {1,3}  ; 

  # "belongs to cadastrial area": instance of class Gemarkung - zero to three
  wdt:P18 @<ort> {0,3}  ; 

  # === Descriptive information === 

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

  # "height over sea level": string - exactly one (could be remodeled)
  wdt:P22 xsd:string {1}  ; 

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

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

  # "soil type description": string - exactly one
  wdt:P67 xsd:string {1}  ; 

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

  # === Identifiers === 

  # "LWK-Nummer": string - one to three
  wdt:P52 xsd:string {1,3}  ; 

  # "DWI-Nummer": string - exactly one
  wdt:P17 xsd:string {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] + ; }