EntitySchema:E3: Difference between revisions

From Almeda
Updated Schema text
Updated Schema text
Schema / Line 15: Schema / Line 15:
   wdt:P20 @<country> ;          # country
   wdt:P20 @<country> ;          # country
   wdt:P78 @<humansettlement> ;  # location
   wdt:P78 @<humansettlement> ;  # location
   wdt:P71 . + @<human> ;          # participant
   wdt:P71 @<human> + ;          # participant
   wdt:P131 . + @<performance> ;  # presented works of a performance
   wdt:P131 @<performance> + ;  # presented works of a performance
   rdfs:label rdf:langString+;
   rdfs:label rdf:langString+;
}
}

Revision as of 10:36, 7 May 2026

language codelabeldescriptionaliasesedit
lggedit
enevent editiona single edition of an eventedit
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <https://wikibase.almeda.engelska.uu.se/entity/>
PREFIX wdt: <https://wikibase.almeda.engelska.uu.se/prop/direct/>

start = @<event-version>

<event-version> EXTRA wdt:P91, wdt:P92, wdt:P25, wdt:P93, wdt:P20, wdt:P78 {
  wdt:P4 [wd:Q19657];       # instance of event-edition
  wdt:P91 @<event> ;             # part of the series
  wdt:P92 @xsd:string ;          # edition number
  wdt:P25 xsd:datetime . ;       # start time
  wdt:P93 xsd:datetime . ;       # end time
  wdt:P20 @<country> ;          # country
  wdt:P78 @<humansettlement> ;   # location
  wdt:P71 @<human> + ;          # participant
  wdt:P131 @<performance> + ;   # presented works of a performance
  rdfs:label rdf:langString+;
}

<event> {
  wdt:P4 [wd:Q27756];              # instance of event
  rdfs:label rdf:langString+;
}

<country> {
  wdt:P4 [wd:Q1];              # instance of country
  rdfs:label rdf:langString+;
}

<humansettlement> {
  wdt:P4 [wd:Q252];              # instance of human settlement
  rdfs:label rdf:langString+;
}

<human> {
  wdt:P4 [wd:Q16391];              # instance of human
  rdfs:label rdf:langString+;
}

<performance> {
  wdt:P4 [wd:Q19661];              # instance of performance
  rdfs:label rdf:langString+;
}