query-1d6ea9bbce6b5dd80f4c3f9514b612e1
Find a person by name SELECT DISTINCT ?person ?personLabel ?occupationLabel ?rankLabel ?dateBirth ?dateDeath ?peerID ?threeID { # human instead of fictional ?person wdt:P31 wd:Q5 .
# family name Taylor # ?person wdt:P734 wd:Q15080511 . # family name West # ?person wdt:P734 wd:Q2564123 . # family name Deans # ?person wdt:P734 wd:Q37431737 . # family name Brenton # ?person wdt:P734 wd:Q21492004 . # family name Bowen # ?person wdt:P734 wd:Q2688708 . # family name Wickey # ?person wdt:P734 wd:Q37268547 . # family name Kempthorne # ?person wdt:P734 wd:Q6387140 . # family name Brine # ?person wdt:P734 wd:Q16860457 . # family name Douglas # ?person wdt:P734 wd:Q2677358 . # family name Cromwell # ?person wdt:P734 wd:Q16865886 . # family name Edwards # ?person wdt:P734 wd:Q2691159 . # family name Fergusson # ?person wdt:P734 wd:Q29708964 . # family name Ferguson # ?person wdt:P734 wd:Q2694490 . # family name Thomas # ?person wdt:P734 wd:Q1413324 . # family name Wells # ?person wdt:P734 wd:Q13583397 . # family name MacDougall # ?person wdt:P734 wd:Q3841920 . # family name McDougal # ?person wdt:P734 wd:Q37041812 . # family name McDougall # ?person wdt:P734 wd:Q47763071 . # family name McDouall # ?person wdt:P734 wd:Q77025162 . # family name Kelly # ?person wdt:P734 wd:Q928249 . # family name Alms # ?person wdt:P734 wd:Q37069035 . # family name Peyton # ?person wdt:P734 wd:Q37492774 . # family name Bowater # ?person wdt:P734 wd:Q25114229 . # family name Brunton # ?person wdt:P734 wd:Q21507016 . # family name Manley # ?person wdt:P734 wd:Q21488998 . # family name Sutton # ?person wdt:P734 wd:Q16884069 . # family name Murray # ?person wdt:P734 wd:Q1308329 . # family name Palmer # ?person wdt:P734 wd:Q568872 . # family name Osborn # ?person wdt:P734 wd:Q16880804 . # family name Faulknor # ?person wdt:P734 wd:Q37035675 . # family name Nicholls # ?person wdt:P734 wd:Q11790730 . # family name Graves # ?person wdt:P734 wd:Q13553605 . # family name Pender # ?person wdt:P734 wd:Q21502151 . # family name Lumsdaine # ?person wdt:P734 wd:Q56539303 . # family name Robinson # ?person wdt:P734 wd:Q2798428 . # family name Cobb # ?person wdt:P734 wd:Q1104540 . # family name Hall # ?person wdt:P734 wd:Q1551523 . # family name Watson # ?person wdt:P734 wd:Q1184721 . # family name Hart # ?person wdt:P734 wd:Q1587003 .
# given name Thomas # ?person wdt:P735 wd:Q16428906 . # given name Robert # ?person wdt:P735 wd:Q4927937 . # given name Jahleel # ?person wdt:P735 wd:Q21079782 . # given name George # ?person wdt:P735 wd:Q15921732 . # given name John # ?person wdt:P735 wd:Q4925477 . # given name James # ?person wdt:P735 wd:Q677191 . # given name Henry # ?person wdt:P735 wd:Q1158477 . # given name Sampson # ?person wdt:P735 wd:Q18324386 . # given name William # ?person wdt:P735 wd:Q12344159 . # given name Edward # ?person wdt:P735 wd:Q278835 . # given name Nathan # ?person wdt:P735 wd:Q11167678 . # given name Samuel # ?person wdt:P735 wd:Q629347 . # given name Jonathan # ?person wdt:P735 wd:Q1158394 . # given name David # ?person wdt:P735 wd:Q18057751 . # given name Francis # ?person wdt:P735 wd:Q1441346 . # given name Mark # ?person wdt:P735 wd:Q13610143 . # given name Charles ?person wdt:P735 wd:Q2958359 .
OPTIONAL { # birth date ?person wdt:P569 ?dateBirth . }
OPTIONAL { # death date ?person wdt:P570 ?dateDeath . }
OPTIONAL { # occupation ?person wdt:P106 ?occupation . }
OPTIONAL { # military rank ?person wdt:P410 ?rank . }
# person in Royal Navy # ?person wdt:P241 wd:Q172771 .
OPTIONAL { ?person wdt:P7389 ?threeID . }
OPTIONAL { ?person wdt:P4638 ?peerID . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
} ORDER BY ?dateBirth
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#>
# Find a person by name
SELECT DISTINCT ?person ?personLabel ?occupationLabel ?rankLabel ?dateBirth ?dateDeath ?peerID ?threeID
{
# human instead of fictional
?person wdt:P31 wd:Q5 .
# family name Taylor
# ?person wdt:P734 wd:Q15080511 .
# family name West
# ?person wdt:P734 wd:Q2564123 .
# family name Deans
# ?person wdt:P734 wd:Q37431737 .
# family name Brenton
# ?person wdt:P734 wd:Q21492004 .
# family name Bowen
# ?person wdt:P734 wd:Q2688708 .
# family name Wickey
# ?person wdt:P734 wd:Q37268547 .
# family name Kempthorne
# ?person wdt:P734 wd:Q6387140 .
# family name Brine
# ?person wdt:P734 wd:Q16860457 .
# family name Douglas
# ?person wdt:P734 wd:Q2677358 .
# family name Cromwell
# ?person wdt:P734 wd:Q16865886 .
# family name Edwards
# ?person wdt:P734 wd:Q2691159 .
# family name Fergusson
# ?person wdt:P734 wd:Q29708964 .
# family name Ferguson
# ?person wdt:P734 wd:Q2694490 .
# family name Thomas
# ?person wdt:P734 wd:Q1413324 .
# family name Wells
# ?person wdt:P734 wd:Q13583397 .
# family name MacDougall
# ?person wdt:P734 wd:Q3841920 .
# family name McDougal
# ?person wdt:P734 wd:Q37041812 .
# family name McDougall
# ?person wdt:P734 wd:Q47763071 .
# family name McDouall
# ?person wdt:P734 wd:Q77025162 .
# family name Kelly
# ?person wdt:P734 wd:Q928249 .
# family name Alms
# ?person wdt:P734 wd:Q37069035 .
# family name Peyton
# ?person wdt:P734 wd:Q37492774 .
# family name Bowater
# ?person wdt:P734 wd:Q25114229 .
# family name Brunton
# ?person wdt:P734 wd:Q21507016 .
# family name Manley
# ?person wdt:P734 wd:Q21488998 .
# family name Sutton
# ?person wdt:P734 wd:Q16884069 .
# family name Murray
# ?person wdt:P734 wd:Q1308329 .
# family name Palmer
# ?person wdt:P734 wd:Q568872 .
# family name Osborn
# ?person wdt:P734 wd:Q16880804 .
# family name Faulknor
# ?person wdt:P734 wd:Q37035675 .
# family name Nicholls
# ?person wdt:P734 wd:Q11790730 .
# family name Graves
# ?person wdt:P734 wd:Q13553605 .
# family name Pender
# ?person wdt:P734 wd:Q21502151 .
# family name Lumsdaine
# ?person wdt:P734 wd:Q56539303 .
# family name Robinson
# ?person wdt:P734 wd:Q2798428 .
# family name Cobb
# ?person wdt:P734 wd:Q1104540 .
# family name Hall
# ?person wdt:P734 wd:Q1551523 .
# family name Watson
# ?person wdt:P734 wd:Q1184721 .
# family name Hart
# ?person wdt:P734 wd:Q1587003 .
# given name Thomas
# ?person wdt:P735 wd:Q16428906 .
# given name Robert
# ?person wdt:P735 wd:Q4927937 .
# given name Jahleel
# ?person wdt:P735 wd:Q21079782 .
# given name George
# ?person wdt:P735 wd:Q15921732 .
# given name John
# ?person wdt:P735 wd:Q4925477 .
# given name James
# ?person wdt:P735 wd:Q677191 .
# given name Henry
# ?person wdt:P735 wd:Q1158477 .
# given name Sampson
# ?person wdt:P735 wd:Q18324386 .
# given name William
# ?person wdt:P735 wd:Q12344159 .
# given name Edward
# ?person wdt:P735 wd:Q278835 .
# given name Nathan
# ?person wdt:P735 wd:Q11167678 .
# given name Samuel
# ?person wdt:P735 wd:Q629347 .
# given name Jonathan
# ?person wdt:P735 wd:Q1158394 .
# given name David
# ?person wdt:P735 wd:Q18057751 .
# given name Francis
# ?person wdt:P735 wd:Q1441346 .
# given name Mark
# ?person wdt:P735 wd:Q13610143 .
# given name Charles
?person wdt:P735 wd:Q2958359 .
OPTIONAL {
# birth date
?person wdt:P569 ?dateBirth .
}
OPTIONAL {
# death date
?person wdt:P570 ?dateDeath .
}
OPTIONAL {
# occupation
?person wdt:P106 ?occupation .
}
OPTIONAL {
# military rank
?person wdt:P410 ?rank .
}
# person in Royal Navy
# ?person wdt:P241 wd:Q172771 .
OPTIONAL {
?person wdt:P7389 ?threeID .
}
OPTIONAL {
?person wdt:P4638 ?peerID .
}
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
} ORDER BY ?dateBirth