Publication (E8)

From Mapping DH
language codelabeldescriptionaliasesedit
enPublicationAn entity schema for the class Q1241 (Publication)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 = @<publication>

# Any instance of the class Q1241 (Publication) needs: 
<publication> EXTRA wdt:P17 {   

  # "instance of": Q1241 (Publication) or one of its subclasses - exactly one
  wdt:P17 [wd:Q1241 wd:Q58 wd:Q1240 wd:Q2275] {1}  ; 

  # "website": URL - zero or one
  wdt:P4 IRI {0,1} ;

  # "publication model": instance of class Q533 - exactly one
  wdt:P51 @<model> {1} ; 

}

# any item that is instance of class Q533 (Publication model)
<model> EXTRA wdt:P17 {
  wdt:P17 [wd:Q533] + ; }