EntitySchema:E1: Difference between revisions

From d'Aïeux et d'Ailleurs
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema text)
Schema / Line 7: Schema / Line 7:


<human> EXTRA wdt:P18 {
<human> EXTRA wdt:P18 {
  wdt:P18 [wd:Q3];
wdt:P18 [wd:Q3];
#  wdt:P18 . * ;              # image (portrait)
#  wdt:P18 . * ;              # image (portrait)
  wdt:P30 . ?;  # gender
wdt:P30 . ?;  # gender
  wdt:P23 . ? ;                    # date of birth
wdt:P22 . * ;                    # family name
  wdt:P26 . ?;                      # place of birth
  wdt:P25 . ? ;                  # date of death
  wdt:P27 . ?;                      # place of death
  wdt:P20 . * ;                    # occupation
  wdt:P21 . * ;                    # given name
  wdt:P21 . * ;                    # given name
  wdt:P22 . * ;                    # family name
wdt:P23 . ? ;                    # date of birth
  wdt:P61 . ? ;              #name in native language
wdt:P26 . ?;                      # place of birth
  # wdt:P27 @<country> *;           # country of citizenship
wdt:P25 . ? ;                  # date of death
  wdt:P34 @<human> *;            # father
wdt:P27 . ?;                      # place of death
  wdt:P33 @<human> *;            # mother
wdt:P20 . * ;                    # occupation
  wdt:P21 @<human> *;          # sibling
wdt:P61 . ? ;              #name in native language
# wdt:P @<human> *;            # spouse
  wdt:P31 . ?           # country of citizenship
# wdt:P40 @<human> *;            # children
wdt:P34 @<human> *;            # father
wdt:P33 @<human> *;            # mother
wdt:P21 @<human> *;          # sibling
  wdt:P68 @<human> *;            # spouse
  wdt:P40 @<human> *;            # children
  # wdt:P1038 @<human> *;          # relatives
  # wdt:P1038 @<human> *;          # relatives
  wdt:P15 @<language> *;        # languages spoken, written or signed
wdt:P29 @<language> *;        # languages spoken, written or signed
wdt:P59 . * ;                    # sosa
wdt:P72 . * ;                    # ohmigene
wdt:P50 . * ;                    # événement clé
   rdfs:label rdf:langString+;
   rdfs:label rdf:langString+;
}
}

Revision as of 14:00, 9 October 2022

language codelabeldescriptionaliasesedit
enedit
frêtre humainschéma être humainedit
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://daieuxetdailleurs.wikibase.cloud/entity/>
PREFIX wdt: <http://daieuxetdailleurs.wikibase.cloud/prop/direct/>

start = @<human>

<human> EXTRA wdt:P18 {
 wdt:P18 [wd:Q3];
#  wdt:P18 . * ;               # image (portrait)
 wdt:P30 . ?;   # gender
 wdt:P22 . * ;                    # family name
 wdt:P21 . * ;                    # given name
 wdt:P23 . ? ;                    # date of birth
 wdt:P26 . ?;                      # place of birth
 wdt:P25 . ? ;                   # date of death
 wdt:P27 . ?;                      # place of death
 wdt:P20 . * ;                    # occupation
 wdt:P61 . ? ;              #name in native language
 wdt:P31 . ?           # country of citizenship
 wdt:P34 @<human> *;             # father
 wdt:P33 @<human> *;             # mother
 wdt:P21 @<human> *;           # sibling
 wdt:P68 @<human> *;             # spouse
 wdt:P40 @<human> *;             # children
 # wdt:P1038 @<human> *;           # relatives
 wdt:P29 @<language> *;        # languages spoken, written or signed
 wdt:P59 . * ;                    # sosa
 wdt:P72 . * ;                    # ohmigene
 wdt:P50 . * ;                    # événement clé
  rdfs:label rdf:langString+;
}