Translations:Tutorial/57/nl: Difference between revisions

From Resistance in Belgium
(Created page with "<syntaxhighlight lang="sparql"> SELECT ?naam ?voornaam WHERE { ?persoon wdt:P1 wd:Q2 ; # Selecteert personen wdt:P3 ?naam ; # Haalt de achternaam op wdt:P2 ?voornaam . # Haalt de voornaam op } </syntaxhighlight>")
 
(No difference)

Latest revision as of 09:06, 2 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 ?naam ?voornaam
WHERE {
  ?persoon wdt:P1 wd:Q2 ;      # Selecteert personen
            wdt:P3 ?naam ;     # Haalt de achternaam op
            wdt:P2 ?voornaam . # Haalt de voornaam op
}