Event series (E9)

From Mapping DH
language codelabeldescriptionaliasesedit
enEvent seriesAn entity schema for class Q10 Event series.edit
PREFIX wdt: <https://mapping-dh.wikibase.cloud/prop/direct/>
PREFIX wd: <https://mapping-dh.wikibase.cloud/entity/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 

start = @<eventseries>

# Any instance of the class Q10 (Event series) needs: 
<eventseries> EXTRA wdt:P17 {   

  # "instance of": Q10 (Event series) - exactly one
  wdt:P17 [wd:Q10] {1}  ; 

  # "website": URL - zero or one
  wdt:P4 IRI {0,1} ;
  
  # "duration": EDTF - exactly one 
  wdt:P95 xsd:edtf {1} ;

  # "has organization": unit, institution or association - exactly one
  wdt:P46 @<org> {1} ; 

  # "has issues": any item of class event or its subclasses - one or several
  wdt:P137 @<event> + ;

}

# any item that is instance or subclass of unit, institution or association
<org> EXTRA wdt:P17 {
  wdt:P17 [wd:Q31 wd:Q2 wd:Q14 wd:Q89 wd:Q904 wd:Q907 wd:Q70 wd:Q250 wd:Q1176 wd:Q4 wd:Q1175 wd:Q1177 wd:Q39 wd:Q1247 wd:Q30] + ; }

# any item that is instance of or subclass of class Q28 (Event) 
<event> EXTRA wdt:P17 {
  wdt:P17 [wd:28 wd:Q43 wd:Q690 wd:Q1804 wd:Q2303] + ; }