Person (E1)

From Mapping DH
language codelabeldescriptionaliasesedit
enPersonAn EntitySchema for the class Person (Q5)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 = @<Person>

# Any instance of the subclass Person needs: 
<Person> EXTRA wdt:P17 {   

  # "instance of": Q5 (Person) 
  wdt:P17 [wd:Q5] ;    

  # "given name": (string) 
  wdt:P47 xsd:string ;

  # "family name": (string) 
  wdt:P48 xsd:string ;   

  # "in city": item (optional) 
  wdt:P36 IRI ? ;     

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

}