Translations:Tutorial/57/en: Difference between revisions

From Resistance in Belgium
(Importing a new version from external source)
(No difference)

Revision as of 14:49, 1 April 2025

Message definition (Tutorial)
<syntaxhighlight lang="sparql">
SELECT ?lastName ?firstName
WHERE {
  ?person wdt:P1 wd:Q2 ;      # Selects individuals
         wdt:P3 ?lastName ;  # Retrieves the last name
         wdt:P2 ?firstName .  # Retrieves the first name
}
</syntaxhighlight>
SELECT ?lastName ?firstName
WHERE {
  ?person wdt:P1 wd:Q2 ;      # Selects individuals
          wdt:P3 ?lastName ; # Retrieves the last name
          wdt:P2 ?firstName .# Retrieves the first name
}