Translations:Project:SPARQL/examples/9/en: Difference between revisions
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 18:26, 15 October 2024
SELECT ?person ?personLabel ?birthDate WHERE {
?person wdt:P1 wd:Q2 . # Selects all elements thaat are (P1) persons (Q2)
?person wdt:P3 "Barbieux" . # Filters to take only persons whose last name (P3) is "Barbieux" (modify "Barbieux" as needed)
?person wdt:P67 ?birthDate . # Adds the birth date (P67)
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,[AUTO_LANGUAGE]". } # Retrieves the label in English
}