EntitySchema:E3: Difference between revisions

From Almeda
Updated Schema text
Updated Schema text
Schema / Line 7: Schema / Line 7:
start = @<event-version>
start = @<event-version>


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


<anyIRI> IRI
<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+;
}

Revision as of 10:32, 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+;
}