query: #Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
  #Horses on Wikidata
  SELECT DISTINCT ?horse ?horseLabel ?mother ?father (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel
  WHERE
  {
  	?horse wdt:P31/wdt:P279* wd:Q726 .     # Instance et sous-classes de Q726-Cheval
  	 
  	OPTIONAL{?horse wdt:P25 ?mother .}       # P25  : Mère
  	OPTIONAL{?horse wdt:P22 ?father .}       # P22  : Père
  	OPTIONAL{?horse wdt:P569 ?birthdate .} # P569 : Date de naissance
  	OPTIONAL{?horse wdt:P570 ?deathdate .}     # P570 : Date de décès
  	OPTIONAL{?horse wdt:P21 ?gender .}       # P21  : Sexe
   
  	SERVICE wikibase:label { #BabelRainbow
  		bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh"
  	}
  }
  ORDER BY ?horse