EntitySchema:E1: Difference between revisions

From d'Aïeux et d'Ailleurs
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema text)
 
(One intermediate revision by the same user not shown)
Schema / Line 1: Schema / Line 1:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wd: <http://daieuxetdailleurs.wikibase.cloud/entity/>
PREFIX dadawd: <http://daieuxetdailleurs.wikibase.cloud/entity/>
PREFIX wdt: <http://daieuxetdailleurs.wikibase.cloud/prop/direct/>
PREFIX dadawdt: <http://daieuxetdailleurs.wikibase.cloud/prop/direct/>


start = @<human>
start = @<human>


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

Latest revision as of 14:01, 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 dadawd: <http://daieuxetdailleurs.wikibase.cloud/entity/>
PREFIX dadawdt: <http://daieuxetdailleurs.wikibase.cloud/prop/direct/>

start = @<human>

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