query-479d2c5aadc7f4d8e59f995d69690e65
Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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 Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
title: Horses on Wikidata
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel WHERE { ?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother OPTIONAL{?horse wdt:P22 ?father .} # father OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Illustrates optional fields, instances of subclasses, language fallback on label service, date to year conversion
#title: <span lang="en" dir="ltr" class="mw-content-ltr">Horses on Wikidata</span>
SELECT DISTINCT ?horse ?horseLabel ?mother ?motherLabel ?father ?fatherLabel (year(?birthdate) as ?birthyear) (year(?deathdate) as ?deathyear) ?genderLabel
WHERE
{
?horse wdt:P31/wdt:P279* wd:Q726 . # Instance of and subclasses of Q726 (horse)
OPTIONAL{?horse wdt:P25 ?mother .} # mother
OPTIONAL{?horse wdt:P22 ?father .} # father
OPTIONAL{?horse wdt:P569 ?birthdate .} # date of birth
OPTIONAL{?horse wdt:P570 ?deathdate .} # date of death
OPTIONAL{?horse wdt:P21 ?gender .} # sex or gender
SERVICE wikibase:label { #BabelRainbow
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,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
Query found at
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ar
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/be-tarask
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ca
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/cs
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/da
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/de
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/en-gb
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/eo
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/es
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/eu
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/he
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/hy
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/id
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/it
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ja
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ko
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/lb
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/lt
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ms
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/pl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/pt-br
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ro
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/ru
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/si
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/th
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/tr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/uk
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/vec
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/zh