Field of work (E3)

From Mapping DH
language codelabeldescriptionaliasesedit
enField of workEntity Schema for the class "Field of work" (Q7).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 = @<Field_of_work>

# Any instance of the class "Field of work" needs: 
<Field_of_work> EXTRA wdt:P17 {   

  # "instance of": class Field of work - exactly one
  wdt:P17 [wd:Q7] ;    

  # "type": Item of class "Type of field of work" - one or two
  wdt:P121 @<type_of_field> {1} ;

  # "Wikidata ID": external identifier - optional (but recommended!) 
  wdt:P56 xsd:string ?  ;     

  }

<type_of_field> EXTRA wdt:P17 {
  wdt:P17 [wd:Q2241] + ; }